Archived
2

implemented more /sample methods

This commit is contained in:
VLE2FE
2020-05-07 21:55:29 +02:00
parent 20f57acd2a
commit 63a5f5ebd1
21 changed files with 1322 additions and 161 deletions

View File

@ -41,8 +41,8 @@
500:
$ref: 'api.yaml#/components/responses/500'
put:
summary: TODO change sample
description: 'Auth: basic, levels: write, maintain, dev, admin'
summary: change sample
description: 'Auth: basic, levels: write, maintain, dev, admin, only maintain and admin are allowed to edit samples created by another user'
tags:
- /sample
security:
@ -59,7 +59,7 @@
content:
application/json:
schema:
$ref: 'api.yaml#/components/schemas/SampleDetail'
$ref: 'api.yaml#/components/schemas/SampleRefs'
400:
$ref: 'api.yaml#/components/responses/400'
401:
@ -71,8 +71,8 @@
500:
$ref: 'api.yaml#/components/responses/500'
delete:
summary: TODO delete sample
description: 'Auth: basic, levels: write, maintain, dev, admin'
summary: delete sample
description: 'Auth: basic, levels: write, maintain, dev, admin, only maintain and admin are allowed to edit samples created by another user'
tags:
- /sample
security: