Browse Source

Add function_id in function version API response

Change-Id: Ie6b66ec769fe54e31846cf885c9e5bf665554d5f
changes/10/565010/1
Lingxian Kong 3 years ago
parent
commit
49ea542c01
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      qinling/api/controllers/v1/resources.py

+ 1
- 0
qinling/api/controllers/v1/resources.py View File

@ -369,6 +369,7 @@ class Webhooks(ResourceList):
class FunctionVersion(Resource):
id = types.uuid
description = wtypes.text
function_id = wsme.wsattr(types.uuid, readonly=True)
version_number = wsme.wsattr(int, readonly=True)
count = wsme.wsattr(int, readonly=True)
project_id = wsme.wsattr(wtypes.text, readonly=True)


Loading…
Cancel
Save