/:
get:
summary: Root method
description: 'Auth: none'
tags:
- /
security: []
responses:
200:
description: Server is working
content:
application/json:
schema:
properties:
status:
type: string
example: 'API server up and running!'
500:
$ref: 'api.yaml#/components/responses/500'
/authorized:
summary: Checks authorization
description: 'Auth: all, levels: read, write, maintain, dev, admin'
description: Authorized
example: 'Authorization successful'
method:
example: 'basic'
level:
example: read
401:
$ref: 'api.yaml#/components/responses/401'
/changelog/{timestamp}/{page}/{pagesize}:
parameters:
- name: timestamp
in: path
required: true
example: 1970-01-01T00:00:00.000Z
- name: page
type: number
example: 3
- name: pagesize
example: 30
summary: get changelog
description: 'Auth: basic, levels: maintain, admin<br>Displays all logs older than timestamp, sorted by date descending, page defaults to 0, pagesize defaults to 25<br>Avoid using high page numbers for older logs, better use an older timestamp'
description: Changelog
date:
action:
example: PUT /sample/400000000000000000000001
collection:
example: samples
conditions:
type: object
example:
_id: '400000000000000000000001'
data:
type: part
status: 0
403:
$ref: 'api.yaml#/components/responses/403'
404:
$ref: 'api.yaml#/components/responses/404'