changed status and returned status for /samples
This commit is contained in:
@ -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:
|
||||
|
@ -106,6 +106,10 @@ SampleDetail:
|
||||
user:
|
||||
type: string
|
||||
example: admin
|
||||
status:
|
||||
type: string
|
||||
description: can be deleted/new/validated
|
||||
example: new
|
||||
|
||||
Material:
|
||||
allOf:
|
||||
|
Reference in New Issue
Block a user