Skip to content

Commit

Permalink
added more swagger functions
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho committed Jul 20, 2023
1 parent 57d86da commit 33a34f7
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions Products/zms/zpt/ZMS/openapi_yaml.zpt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,63 @@ paths:
application/json:
schema:
$ref: '#/components/responses/ZMSObjectResponse'
<tal:block tal:content="python:'/'.join(here.getDocumentElement().getPhysicalPath())"></tal:block>/++rest_api{path}list_child_nodes:
get:
summary: List ZMS-Object Children's Index-Data.
description: Sequencing Child Nodes Index-Data
parameters:
- name: path
in: path
description: id-path to current node
required: false
schema:
type: string
example: /e34/e36/
responses:
'200': # status code
description: A JSON array of Children Objects Meta-Data
content:
application/json:
schema:
$ref: '#/components/responses/ZMSObjectResponse'
<tal:block tal:content="python:'/'.join(here.getDocumentElement().getPhysicalPath())"></tal:block>/++rest_api{path}get_tree_nodes:
get:
summary: List Object Tree Content.
description: Sequencing the Object Tree
parameters:
- name: path
in: path
description: id-path to current node
required: false
schema:
type: string
example: /e34/e36/
responses:
'200': # status code
description: A JSON array of Object Tree
content:
application/json:
schema:
$ref: '#/components/responses/ZMSObjectResponse'
<tal:block tal:content="python:'/'.join(here.getDocumentElement().getPhysicalPath())"></tal:block>/++rest_api{path}get_child_nodes:
get:
summary: List ZMS-Object Children's Index-Data.
description: Sequencing Child Nodes Content
parameters:
- name: path
in: path
description: id-path to current node
required: false
schema:
type: string
example: /e34/e36/
responses:
'200': # status code
description: A JSON array of Children Objects Contet
content:
application/json:
schema:
$ref: '#/components/responses/ZMSObjectResponse'
<tal:block tal:content="python:'/'.join(here.getDocumentElement().getPhysicalPath())"></tal:block>/++rest_api{path}/get_body_content:
get:
summary: Returns body-content of a ZMS-object.
Expand Down

0 comments on commit 33a34f7

Please sign in to comment.