first implementation of fields
This commit is contained in:
@ -42,9 +42,15 @@
|
||||
schema:
|
||||
type: boolean
|
||||
example: false
|
||||
- name: fields
|
||||
description: the fields to include in the output as array, defaults to ['_id','number','type','batch','material_id','color','condition','note_id','user_id','added']
|
||||
in: query
|
||||
schema:
|
||||
type: string
|
||||
example: '&fields[]=number&fields[]=batch'
|
||||
responses:
|
||||
200:
|
||||
description: samples overview
|
||||
description: samples overview (if the csv parameter is set, this is in CSV instead of JSON format)
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
|
Reference in New Issue
Block a user