chore: app info add author_name (#20973)
This commit is contained in:
parent
175571e740
commit
3a628bc671
13 changed files with 65 additions and 13 deletions
|
|
@ -47,7 +47,13 @@ class AppInfoApi(Resource):
|
|||
def get(self, app_model: App):
|
||||
"""Get app information"""
|
||||
tags = [tag.name for tag in app_model.tags]
|
||||
return {"name": app_model.name, "description": app_model.description, "tags": tags, "mode": app_model.mode}
|
||||
return {
|
||||
"name": app_model.name,
|
||||
"description": app_model.description,
|
||||
"tags": tags,
|
||||
"mode": app_model.mode,
|
||||
"author_name": app_model.author_name,
|
||||
}
|
||||
|
||||
|
||||
api.add_resource(AppParameterApi, "/parameters")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue