Update site
Changed onReplaces the multi-file site bundle (ZIP archive or individual files with paths). Requires the owner token returned at creation. Password is preserved as-is (not changed in this operation).
Request
- Base URL: https://brewpage.app
- URL: https://brewpage.app/api/sites/{ns}/{id}
- Auth: API key in header X-Owner-Token
Path parameters
Query parameters
Comma-separated tags
TTL in integer days (1-30); accepts 15, 15d, 15 day or 15 days, case-insensitive. Omission preserves the original expiry; updates do not renew it.
Entry file path override (default: auto-detect index.html)
Headers
Owner token returned at creation. Required for update
Response
Site updated
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 - 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
updateremoved and replaced withrepublishSite - 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 - 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
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
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 - 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 - 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