Get a ticket to attach a file to a event
Changed onA write key and its PIN that may change the element (the write rule of PATCH; an agent seat answers as its sponsor). Body: the file's name, kind and size, and an optional label. Returns a single-use ticket in the image lane's shape with kind file: send the bytes to upload_url with it. The file is listed once the upload host has checked and stored it. Kinds: text (txt, md, json, csv, yaml, toml), pdf, and zip only as a world's own bundle. At most 25 MB a file; a world holds 250 MB of files; 200 tickets a world a day. This route takes no Idempotency-Key: the single-use ticket is the idempotency (a second POST is a second ticket). Files on elements answer only where the server has them switched on; elsewhere every files route is a 404.
Request
- Base URL: https://www.onlyworlds.com
- URL: https://www.onlyworlds.com/api/v2/event/{id}/files
- Auth: API key in header API-Key and API key in header API-Pin
Path parameters
The event's id (a malformed id is a 422).
Headers
Send it (any non-empty value) when an agent makes this write: the change is recorded with changed_via declared (a delete's tombstone with deleted_via). An agent seat's key and MCP are recorded as agent-made without it. The value is never stored.
Request body
Response
A ticket for one file upload. Cache-Control: no-store.
Changes
- warning
added the new
known_of_not_writableenum value to the/response property for the response status - warning
added the new
known_of_not_writableenum value to the/response property for the response status - warning
added the new
known_of_not_writableenum value to the/response property for the response status - warning
added the new
known_of_not_writableenum value to the/response property for the response status - warning
added the new
known_of_not_writableenum value to the/response property for the response status - warning
added the new
known_of_not_writableenum value to the/response property for the response status - warning
added the new
known_of_not_writableenum value to the/response property for the response status
- warning
- warning
added the new
character_takenenum value to the/response property for the response status - warning
added the new
character_takenenum value to the/response property for the response status - warning
added the new
character_takenenum value to the/response property for the response status - warning
added the new
character_takenenum value to the/response property for the response status - warning
added the new
character_takenenum value to the/response property for the response status - warning
added the new
character_takenenum value to the/response property for the response status - warning
added the new
character_takenenum value to the/response property for the response status - warning
added the new
world_fullenum value to the/response property for the response status - warning
added the new
world_fullenum value to the/response property for the response status - warning
added the new
world_fullenum value to the/response property for the response status - warning
added the new
world_fullenum value to the/response property for the response status - warning
added the new
world_fullenum value to the/response property for the response status - warning
added the new
world_fullenum value to the/response property for the response status - warning
added the new
world_fullenum value to the/response property for the response status
- warning