Archived
2

adapted changelog

This commit is contained in:
VLE2FE
2020-08-28 16:50:33 +02:00
parent c891933d11
commit 156b65d033
5 changed files with 53 additions and 40 deletions

View File

@ -47,14 +47,9 @@
500:
$ref: 'api.yaml#/components/responses/500'
/changelog/{timestamp}/{page}/{pagesize}:
/changelog/{id}/{page}/{pagesize}:
parameters:
- name: timestamp
in: path
required: true
schema:
type: string
example: 1970-01-01T00:00:00.000Z
- $ref: 'api.yaml#/components/parameters/Id'
- name: page
in: path
required: true
@ -69,9 +64,9 @@
example: 30
get:
summary: get changelog
description: 'Auth: basic, levels: dev, 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: 'Auth: basic, levels: dev, admin<br>Displays all logs older than timestamp of the given id, 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'
tags:
- /
responses:
@ -80,6 +75,8 @@
content:
application/json:
schema:
allOf:
- $ref: 'api.yaml#/components/schemas/_Id'
properties:
date:
type: string