Archived
2

added /samples/count

This commit is contained in:
VLE2FE
2020-06-25 14:29:54 +02:00
parent 4dad680edf
commit 49f7a475b7
3 changed files with 64 additions and 1 deletions

View File

@ -71,6 +71,25 @@
500:
$ref: 'api.yaml#/components/responses/500'
/samples/count:
get:
summary: total number of samples
description: 'Auth: all, levels: read, write, maintain, dev, admin'
tags:
- /sample
responses:
200:
description: sample count
content:
application/json:
schema:
properties:
count:
type: number
example: 864
500:
$ref: 'api.yaml#/components/responses/500'
/sample/{id}:
parameters:
- $ref: 'api.yaml#/components/parameters/Id'