Fragments
Update fragment
Update a fragment HTML. All pages using its include_tag serve new content on next request. Cache invalidated automatically.
put/papi/project/{projectId}/fragments/{name}
Request
- Base URL: https://api.websitepublisher.ai
- URL: https://api.websitepublisher.ai/papi/project/{projectId}/fragments/{name}
- Auth: OAuth 2 (authorization code, authorization URL https://api.websitepublisher.ai/dapi/oauth/authorize, token URL https://api.websitepublisher.ai/dapi/oauth/token, scopes: read, write)
Path parameters
projectIdinteger required
namestring required
Request body
Response
Fragment updated, cache_invalidated: true
Changes
No recorded changes to this operation across all 1 revision of this API.