Site redirects
A site’s redirects. Those with auto appear on their own when the address of a published entry changes.
Module: Online content (content).
Endpoints
Section titled “Endpoints”GET /api/v1/content_redirects- List with filters, sorting and pagination (scopecontent:read)GET /api/v1/content_redirects/{id}- A record by id (scopecontent:read)POST /api/v1/content_redirects- Create a record (scopecontent:write)PATCH /api/v1/content_redirects/{id}- Modify the submitted fields (scopecontent:write)DELETE /api/v1/content_redirects/{id}- Delete or deactivate (scopecontent:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).site_id(string; write, required)from_path(string; write, required)to_path(string; write, required)status_code(number; write)auto(boolean; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).
Events
Section titled “Events”content_redirects.createdcontent_redirects.updatedcontent_redirects.deleted