Archived
2

implementation of measurement fields

This commit is contained in:
VLE2FE
2020-06-30 14:16:37 +02:00
parent 52eb828bea
commit 8cf1c14d88
7 changed files with 145 additions and 26 deletions

View File

@ -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)