Skip to content

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).

  • GET /api/v1/content_redirects - List with filters, sorting and pagination (scope content:read)
  • GET /api/v1/content_redirects/{id} - A record by id (scope content:read)
  • POST /api/v1/content_redirects - Create a record (scope content:write)
  • PATCH /api/v1/content_redirects/{id} - Modify the submitted fields (scope content:write)
  • DELETE /api/v1/content_redirects/{id} - Delete or deactivate (scope content:write)
  • 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).
  • content_redirects.created
  • content_redirects.updated
  • content_redirects.deleted