Authorize an out-of-band image upload
Changed onAuthorizes an OUT-OF-BAND upload of a LOCAL image file, made from outside this API client (e.g. with curl), so its bytes never pass through the caller's prompt. Returns a self-contained descriptor: an uploadUrl, a short-lived single-use ticket, and the header/field to use.
Upload the file with a plain HTTPS POST to uploadUrl: send the ticket in the X-Upload-Ticket header and the file as multipart field file. That call returns a staging ref, which you then attach with image: { ref } on an event write.
An image already reachable at a public http(s) URL is attached directly with image: { url } on the write, with no ticket.
The ticket expires after 15 minutes (expiresAt) and is consumed by a successful upload.
Request
- Base URL: https://api.openagenda.com/v3
- URL: https://api.openagenda.com/v3/agendas/{agendaUid}/uploads/ticket
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://openagenda.com/api/auth/oauth2/authorize, token URL https://openagenda.com/api/auth/oauth2/token, scopes: media:write)
Path parameters
Numeric uid of the agenda.
Response
An out-of-band upload descriptor.
Changes
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
added the new
bad_requestenum value to the/response property for the response status - warning
added the new
bad_requestenum value to the/response property for the response status - warning
added the new
bad_requestenum value to the/response property for the response status - warning
added the new
bad_requestenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
insufficient_scopeenum value to the/response property for the response status - warning
added the new
insufficient_scopeenum value to the/response property for the response status - warning
added the new
insufficient_scopeenum value to the/response property for the response status - warning
added the new
insufficient_scopeenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
read_only_credentialenum value to the/response property for the response status - warning
added the new
read_only_credentialenum value to the/response property for the response status - warning
added the new
read_only_credentialenum value to the/response property for the response status - warning
added the new
read_only_credentialenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
unauthorizedenum value to the/response property for the response status - warning
added the new
unauthorizedenum value to the/response property for the response status - warning
added the new
unauthorizedenum value to the/response property for the response status - warning
added the new
unauthorizedenum value to the/response property for the response status
- warning
- info
the security scope
events:writewas added to the endpoint's security schemeoauth2 - info
the security scope
media:writewas removed from the endpoint's security schemeoauth2 - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
removed the
bad_requestenum value from the/response property for the response status - info
removed the
bad_requestenum value from the/response property for the response status - info
removed the
bad_requestenum value from the/response property for the response status - info
removed the
bad_requestenum value from the/response property for the response status - info
removed the
forbiddenenum value from the/response property for the response status - info
removed the
forbiddenenum value from the/response property for the response status - info
removed the
forbiddenenum value from the/response property for the response status - info
removed the
forbiddenenum value from the/response property for the response status - info
removed the
insufficient_scopeenum value from the/response property for the response status - info
removed the
insufficient_scopeenum value from the/response property for the response status - info
removed the
insufficient_scopeenum value from the/response property for the response status - info
removed the
insufficient_scopeenum value from the/response property for the response status - info
removed the
not_foundenum value from the/response property for the response status - info
removed the
not_foundenum value from the/response property for the response status - info
removed the
not_foundenum value from the/response property for the response status - info
removed the
not_foundenum value from the/response property for the response status - info
removed the
read_only_credentialenum value from the/response property for the response status - info
removed the
read_only_credentialenum value from the/response property for the response status - info
removed the
read_only_credentialenum value from the/response property for the response status - info
removed the
read_only_credentialenum value from the/response property for the response status - info
removed the
service_unavailableenum value from the/response property for the response status - info
removed the
service_unavailableenum value from the/response property for the response status - info
removed the
service_unavailableenum value from the/response property for the response status - info
removed the
service_unavailableenum value from the/response property for the response status - info
removed the
unauthorizedenum value from the/response property for the response status - info
removed the
unauthorizedenum value from the/response property for the response status - info
removed the
unauthorizedenum value from the/response property for the response status - info
removed the
unauthorizedenum value from the/response property for the response status
- info