API reference
Support
Bug reports sent from the app: anyone signed in may send one; reading and resolving them takes settings:manage, and every admin is notified of each.
Paths are relative to /api/v1 on your server.
/bug-reports#List bug reports
Newest first; the open ones unless status says otherwise. openCount is how many are open whatever the list is.
- Authorisation
- Bearer token or API key · Session cookie
| Parameter | In | Type | Description |
|---|---|---|---|
status | query | "open" | "resolved" | "all" |
- 200Success.
application/json·object - 400
VALIDATION_FAILED: the request did not match the schema;details.issueslists what.application/json·ErrorEnvelope - 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackssettings:manage, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope
/bug-reports#Report a bug
Anyone signed in. The client fills in where it happened (page), its own version and the browser; the server adds its version. Ten an hour per account (429 past that). Every admin gets a bug.reported notification.
- Authorisation
- Bearer token or API key · Session cookie
- Body
application/json·object
- 201Success.
application/json·BugReport - 400
VALIDATION_FAILED: the request did not match the schema;details.issueslists what.application/json·ErrorEnvelope - 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackslibrary:view, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope
/bug-reports/{id}#Resolve or reopen a bug report
- Authorisation
- Bearer token or API key · Session cookie
- Body
application/json·object
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) |
- 200Success.
application/json·BugReport - 400
VALIDATION_FAILED: the request did not match the schema;details.issueslists what.application/json·ErrorEnvelope - 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackssettings:manage, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope - 404
NOT_FOUND: no such thing, or not one the caller may see.application/json·ErrorEnvelope
/bug-reports/{id}#Delete a bug report
- Authorisation
- Bearer token or API key · Session cookie
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) |
- 204Done; no body.
- 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackssettings:manage, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope - 404
NOT_FOUND: no such thing, or not one the caller may see.application/json·ErrorEnvelope
/bug-reports/{id}/attachments#Attach a file or screenshot to a bug report
The body is the file (25 MB at most); name and type say what it is called and is. Only the account that sent the report, within an hour of sending it, and five files to a report.
- Authorisation
- Bearer token or API key · Session cookie
- Body
application/octet-stream·
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | |
name required | query | string | |
type | query | string |
- 201Success.
application/json·object - 400
VALIDATION_FAILED: the request did not match the schema;details.issueslists what.application/json·ErrorEnvelope - 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackslibrary:view, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope - 404
NOT_FOUND: no such thing, or not one the caller may see.NOT_FOUND: no report of the caller’s has that idapplication/json·ErrorEnvelope - 409
CONFLICT: the report was sent over an hour ago, or has five files alreadyapplication/json·ErrorEnvelope - 413
PAYLOAD_TOO_LARGE: the file is over 25 MBapplication/json·ErrorEnvelope
/bug-reports/{id}/attachments/{attachmentId}#A bug report’s file
A PNG, JPEG, WebP or GIF picture is sent to be shown; any other file only to be downloaded (application/octet-stream, Content-Disposition: attachment), and nothing in either ever runs (a sandboxing Content-Security-Policy, nosniff).
- Authorisation
- Bearer token or API key · Session cookie
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | |
attachmentId required | path | string (uuid) |
- 200Success.
application/octet-stream· - 401
UNAUTHENTICATED: no session, or the access token expired.application/json·ErrorEnvelope - 403
FORBIDDEN: the account lackssettings:manage, or the library, label, age or schedule scope refuses it.application/json·ErrorEnvelope - 404
NOT_FOUND: no such thing, or not one the caller may see.application/json·ErrorEnvelope
No endpoint here matches. Try another word, or look in another area.