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. 1
      qinling/api/controllers/v1/resources.py

1
qinling/api/controllers/v1/resources.py

@ -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