implementation of measurement fields
This commit is contained in:
@ -42,12 +42,14 @@
|
||||
schema:
|
||||
type: boolean
|
||||
example: false
|
||||
- name: fields
|
||||
- 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'
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
example: ['number', 'batch']
|
||||
responses:
|
||||
200:
|
||||
description: samples overview (if the csv parameter is set, this is in CSV instead of JSON format)
|
||||
|
Reference in New Issue
Block a user