Archived
2

changed status and returned status for /samples

This commit is contained in:
VLE2FE
2020-08-06 18:50:50 +02:00
parent cc6fa48a44
commit 3ff29845d4
15 changed files with 182 additions and 152 deletions

View File

@ -66,7 +66,8 @@
%5D%7D"]'
responses:
200:
description: samples overview (if the csv parameter is set, this is in CSV instead of JSON format)
description: samples overview (output depends on the fields specified)<br>
if the csv parameter is set, this is in CSV instead of JSON format
headers:
x-total-items:
description: Total number of available items when from-id is not specified and spectrum field is not
@ -79,7 +80,7 @@
schema:
type: array
items:
$ref: 'api.yaml#/components/schemas/SampleRefs'
$ref: 'api.yaml#/components/schemas/SampleDetail'
400:
$ref: 'api.yaml#/components/responses/400'
401:

View File

@ -106,6 +106,10 @@ SampleDetail:
user:
type: string
example: admin
status:
type: string
description: can be deleted/new/validated
example: new
Material:
allOf: