mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 08:34:54 -04:00
Merge pull request #1021 from hedgedoc/publicApi/listMediaUpload
PublicAPI: Add GET /me/media
This commit is contained in:
commit
7183d1fabb
7 changed files with 174 additions and 10 deletions
|
@ -900,19 +900,21 @@ components:
|
|||
MediaUpload:
|
||||
type: object
|
||||
properties:
|
||||
note:
|
||||
type: string
|
||||
description: ID of the note the file was uploaded to
|
||||
user:
|
||||
type: string
|
||||
description: username of the user who uploaded the file
|
||||
url:
|
||||
type: string
|
||||
description: URL of the file
|
||||
owningNote:
|
||||
type: string
|
||||
description: ID of the note the file was uploaded to
|
||||
createdAt:
|
||||
type: string
|
||||
format: date-time
|
||||
description: Date when the file was upladed
|
||||
owningUser:
|
||||
type: string
|
||||
description: username of the user who uploaded the file
|
||||
|
||||
|
||||
examples:
|
||||
markdownExample:
|
||||
value: '# Some header\nSome normal text. **Some bold text**'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue