prepare public api
This commit is contained in:
parent
507b6fed3e
commit
dd0e22a979
18 changed files with 237 additions and 94 deletions
|
|
@ -113,6 +113,7 @@ def find(data):
|
|||
response['size'] = sum(size)
|
||||
return response
|
||||
actions.register(find)
|
||||
actions.register(find, version='public')
|
||||
|
||||
|
||||
def get(data):
|
||||
|
|
@ -128,6 +129,7 @@ def get(data):
|
|||
response = item.json(data['keys'] if 'keys' in data else None)
|
||||
return response
|
||||
actions.register(get)
|
||||
actions.register(get, version='public')
|
||||
|
||||
|
||||
def edit(data):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue