Upload site
Changed onUpload a multi-file HTML site as a ZIP archive or as individual files with paths. Returns a link to the published site
Request
- Base URL: https://brewpage.app
- URL: https://brewpage.app/api/sites
- 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.
Entry file path override (default: auto-detect index.html)
Headers
Access password
Reuse existing owner token to group entities under one owner
Response
Site 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 - warning
deleted the
queryrequest parameterfiles - warning
deleted the
queryrequest parameterpaths - info
api operation id
uploadremoved and replaced withuploadSite - 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
added
subschema #2to theresponse propertyoneOflist for the response status - breaking
added
subschema #2to theresponse propertyoneOflist for the response status - breaking
added
subschema #2to theresponse propertyoneOflist for the response status - breaking
added
subschema #2to theresponse propertyoneOflist for the response status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for 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
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
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
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
removed the optional property
/from the response with the status
- breaking