Upload file
Changed onStores a file via multipart upload and returns a download link. Only safe file types accepted. Reuse existing owner token to group entities under one owner
Request
- Base URL: https://brewpage.app
- URL: https://brewpage.app/api/files
- Auth: one of:
- none
- API key in header X-Owner-Token
Query parameters
Namespace (default public). Custom namespaces are unlisted, accessible to anyone with the URL. Public discovery additionally requires eligibility and no password.
Comma-separated tags
TTL in integer days (1-30); accepts 15, 15d, 15 day or 15 days, case-insensitive. Omitted or blank uses 15 days.
Headers
Access password. Empty = public file visible in gallery. With password = hidden from gallery; readers unlock the publication or use X-Password for API access
Reuse existing owner token to group entities under one owner. If omitted, a new token is generated
Response
File uploaded
Changes
- breaking
request body became required
- breaking
removed the media type
application/jsonfrom the request body - breaking
added the pattern
^\s*(?:\d+\s*(?:[dD]|[dD][aA][yY][sS]?)?)?\s*$to thequeryrequest parameterttl - breaking
removed the media type
*/*for the response with the status - breaking
removed the media type
*/*for the response with the status - breaking
removed the media type
*/*for the response with the status - breaking
removed the media type
*/*for the response with the status - info
api operation id
upload_1removed and replaced withupload - info
the endpoint scheme security
OwnerTokenwas added to the API - info
added the media type
multipart/form-datato the request body - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status
- breaking