Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/endpoint-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Field name | Type | Value description
`fileId` | int | The if of the actual file
`view` | string | The view where the file can be found (either `files` or `trashbin`)
`isMimeTypeIcon` | bool | True if `source` points to a mime type icon instead of a real preview
`filename` | string | The filename of the file the preview is for

In case the endpoint returns more fields, they should be ignored and are deprecated (only for backwards compatibility usage) or internal.

Expand Down Expand Up @@ -144,7 +145,8 @@ In case the endpoint returns more fields, they should be ignored and are depreca
"mimeType": "text/plain",
"view": "files",
"fileId": 23,
"isMimeTypeIcon": false
"isMimeTypeIcon": false,
"filename": "hello.txt"
}
]
}
Expand Down