Skip to content
OvertCMS Docs

Delivery API (Clients) Site & Discovery

List automatic 301 redirects

GET /delivery/v1/redirects

Returns all active redirects for the site created automatically when published entry slugs change.

Authentication

  • Bearer token BearerApiKey optional

    Optional scoped API key (Authorization: Bearer ocms_...) with delivery:read scope. Required only when OVERTCMS_DELIVERY_REQUIRE_API_KEY=true.

Headers

  • If-None-Match string
    Conditional GET validator matching a previously received ETag. Returns 304 Not Modified when unchanged.

Responses

  • 200 Site redirects list.

    application/json

    • redirects array of Redirect required
      Show 7 fields
      • createdAt string, date-time required

        Example 2026-05-01T12:00:00Z

      • entryId string, uuid

        Example 0195c0a1-7e20-7000-8000-000000000099

      • fromPath string required

        Example /blog/old-launch-post

      • id string, uuid required

        Example 0195c0a1-7e20-7000-8000-000000000010

      • siteId string, uuid required

        Example 0195c0a1-7e20-7000-8000-000000000001

      • statusCode integer required

        Example 301

      • toPath string required

        Example /blog/overtcms-v1-launch

  • 304 Not Modified — client cached ETag matches the current response.
  • 401 Unauthorized.

    application/json

    • error APIError required
      Canonical error payload returned across all OvertCMS planes.
      Show 6 fields
      • applied boolean required
        Always false on 4xx responses, guaranteeing the mutation was not applied.

        Example false

      • code string required

        Example validation_error

      • details object
      • issues array of ValidationIssue
        Show 7 fields
        • code string required

          Example max_length

        • constraint object
        • field string

          Example seoTitle

        • instruction string

          Example Keep SEO titles under 60 characters for search snippet display.

        • label string

          Example SEO Title

        • message string required

          Example field must be at most 60 graphemes

        • searchEndpoint string

          Example /agent/v1/collections/posts/fields/author/options

      • message string required

        Example entry validation failed

      • retryable boolean required

        Example false

  • 403 Forbidden.

    application/json

    • error APIError required
      Canonical error payload returned across all OvertCMS planes.
      Show 6 fields
      • applied boolean required
        Always false on 4xx responses, guaranteeing the mutation was not applied.

        Example false

      • code string required

        Example validation_error

      • details object
      • issues array of ValidationIssue
        Show 7 fields
        • code string required

          Example max_length

        • constraint object
        • field string

          Example seoTitle

        • instruction string

          Example Keep SEO titles under 60 characters for search snippet display.

        • label string

          Example SEO Title

        • message string required

          Example field must be at most 60 graphemes

        • searchEndpoint string

          Example /agent/v1/collections/posts/fields/author/options

      • message string required

        Example entry validation failed

      • retryable boolean required

        Example false

Documentation

Start here