mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 12:21:00 -05:00
Public API: NoteRevisionsMetadata
is not an array
Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
2302667787
commit
d43bca69b8
1 changed files with 14 additions and 14 deletions
|
@ -389,7 +389,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
"$ref": "#/components/schemas/NoteRevisionsMetadata"
|
type: array
|
||||||
|
items:
|
||||||
|
"$ref": "#/components/schemas/NoteRevisionsMetadata"
|
||||||
'401':
|
'401':
|
||||||
"$ref": "#/components/responses/UnauthorizedError"
|
"$ref": "#/components/responses/UnauthorizedError"
|
||||||
'403':
|
'403':
|
||||||
|
@ -768,19 +770,17 @@ components:
|
||||||
canEdit:
|
canEdit:
|
||||||
type: boolean
|
type: boolean
|
||||||
NoteRevisionsMetadata:
|
NoteRevisionsMetadata:
|
||||||
type: array
|
type: object
|
||||||
items:
|
properties:
|
||||||
type: object
|
id:
|
||||||
properties:
|
type: integer
|
||||||
id:
|
description: The id of the revision
|
||||||
type: integer
|
createdTime:
|
||||||
description: The id of the revision
|
type: string
|
||||||
createdTime:
|
description: ISO-timestamp of when the revision was saved. Is also the revision-id.
|
||||||
type: string
|
length:
|
||||||
description: ISO-timestamp of when the revision was saved. Is also the revision-id.
|
type: integer
|
||||||
length:
|
description: Length of the document to the timepoint the revision was saved.
|
||||||
type: integer
|
|
||||||
description: Length of the document to the timepoint the revision was saved.
|
|
||||||
NoteRevision:
|
NoteRevision:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in a new issue