You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zoo-api/paths/qoc_careprogram.yaml

28 lines
940 B
YAML

get:
tags:
- Quality of Care
summary: List all available care programs
description: Includes all care programs that the user is allowed to enable or preview, i.e. even ones that shouldn't be shown by default.e
responses:
'200':
description: |-
Care programs are returned.
Examples:<ul>
<li><a href="examples/qoc_careprogram.1.json">Example complete response</a></li>
<li><a href="examples/qoc_careprogram.ui_example.png">Example UI render (<em>Somewhat outdated</em>)</a></li>
</ul>
content:
application/json:
schema:
type: object
properties:
programs:
type: array
items:
$ref: '../schemas/CareProgram.yaml'
'401':
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
'403':
$ref: '../zoo-api.yaml/#/components/responses/NoAccess'