Archived
2

first implementation of fields

This commit is contained in:
VLE2FE
2020-06-29 15:50:24 +02:00
parent e5cc661928
commit 52eb828bea
6 changed files with 98 additions and 25 deletions

View File

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