diff options
| author | jc0b <j@jc0b.computer> | 2020-07-30 21:37:44 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:48:48 +0200 |
| commit | c8c6519551cef8b82b55e3e5866b35156c89e6b1 (patch) | |
| tree | b378c112bfb1c5f08b23844fc8103ede64b3b36d /opendc-api-spec.yml | |
| parent | 3bdfd4dafbe56872dfa00866e04780fa1d20b033 (diff) | |
Added authorizations endpoint for prefabs
Diffstat (limited to 'opendc-api-spec.yml')
| -rw-r--r-- | opendc-api-spec.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/opendc-api-spec.yml b/opendc-api-spec.yml index 671d4760..f195983b 100644 --- a/opendc-api-spec.yml +++ b/opendc-api-spec.yml @@ -701,6 +701,20 @@ paths: description: Forbidden from deleting Prefab. '404': description: Prefab not found. + '/prefabs/authorizations': + get: + tags: + - prefabs + description: Get all Prefabs the user has rights to view. + responses: + '200': + description: Successfully retrieved prefabs the user is authorized on. + schema: + $ref: '#/definitions/Prefab' + '400': + description: Missing or incorrectly typed parameter. + '404': + description: Prefab or userId not found definitions: Scheduler: |
