Table of contents

Schema: redirect

Frontend schema

This schema doesn’t have a frontend schema. This means that it should not be used by rendering applications.


Publisher content schema

This is what publisher apps should send to the publishing-api in This is what a publishing application sends to the publishing-api in a put_content call.

Attributes

base_path
string
A path only. Query string and/or fragment are not allowed.
content_id
string

document_type
string

Allowed values: redirect
public_updated_at
string

publishing_app
string

redirects
array

schema_name
string

Allowed values: redirect
update_type

Allowed values: major, minor, republish

View this schema on GitHub

Random example

{
  "base_path": "/48e03a03-955a-4694-833c-01acd36590a4/5a97df2c-7b68-4a9f-84df-93cba870ef63",
  "content_id": "4f7fa9e6-c33c-43cc-8ca0-462e34ea4f88",
  "document_type": "redirect",
  "schema_name": "redirect",
  "publishing_app": "Pellentesque hendrerit, amet, sit tristique et tristique porttitor elit. Mauris imperdiet Duis senectus consectetur risus ac interdum. sagittis nibh. eu non sed",
  "redirects": [
    {
      "path": "/11cd0d33-afd4-4c6b-994e-1d6d19b70a65/ac4ae32e-e579-447f-9786-ed52cb89e237/7de5e3d0-6f0d-4f72-bc4b-f034c8779fb9/d5739172-8b1b-4bb2-829c-d4f33d5567c1",
      "type": "exact",
      "destination": "/295ee541-e494-4475-9a18-e7ebf1d50f01/aaf7a044-d9f5-4888-9f26-76d8f86af1a8/220184ce-8edf-4bfb-b220-19153fc154d3",
      "segments_mode": "ignore"
    },
    {
      "path": "/f968a519-03ec-444d-8717-b776aa04680e/a1a0adc7-0e41-4515-aa2a-5b6808d99a31/49cc9649-55c4-4f94-b914-ca535ef6340d/bb5d4e0d-a2c4-41bf-b525-835d538b02da/980b1233-0e29-4fcc-a3d7-c080c1c0090f",
      "type": "prefix",
      "destination": "/50ee6f60-c607-44f2-9bdd-fefebe3501e6/ebfd8336-a796-49bd-a243-d1f4674275a5/621bce3d-174f-4dec-a33f-901626cd0765",
      "redirect_type": "temporary",
      "segments_mode": "preserve"
    },
    {
      "path": "/0e24737c-4e87-412a-b7c2-6a6b2faf14ba",
      "type": "prefix",
      "destination": "https://lvjwrxd.citsmeal.qvcegiw.wja.gov.uk/7e92601b-cfca-4770-b59c-abb7409513cc/2d153e14-505c-4a4e-aaf3-907cf2001967",
      "redirect_type": "permanent"
    },
    {
      "path": "/e8fe6620-9e78-48cb-9886-917b071e7f56",
      "type": "prefix",
      "destination": "/8d6d83f1-6e39-4a83-95da-c7c33b3a3d3a/4ade8966-d42f-4240-bdde-9a1bb2a418e7",
      "redirect_type": "temporary"
    },
    {
      "path": "/6aa97c21-388b-45c4-9ca8-d1fe5ba1032f/93c02cb6-a795-45f3-90d6-4b60ab601a14/498031e2-6f3e-40a3-aa76-630c243ea3b5",
      "type": "exact",
      "destination": "/701d7aef-b5ef-4797-9655-e9b81da6ce50/7fb4a3e3-96b8-4b7c-ada0-b300eab06ed4/95ca0fe0-0752-4031-a3fd-006091ab0578",
      "segments_mode": "preserve"
    },
    {
      "path": "/bfa0dc0e-50b8-424e-aef4-ddfe8ce0ffe6/a8bf09e1-284f-4336-8e7e-d8f004a59008/197ad5bf-8009-4807-b8b6-887b461ab6ec/e5bfe1fd-ba33-43dd-a354-15187335599d/72a509c5-1d7e-4a8b-b0ec-f589e8535e92",
      "type": "prefix",
      "destination": "/4f3cc507-312b-4bc5-b597-923e3196e4d9/b1c2aad2-6a5d-499c-99b9-213aa4b573c2/0da35cf0-2552-453a-8a48-4def7f3f3bd2",
      "segments_mode": "preserve"
    },
    {
      "path": "/2f864a37-7793-4f05-9c42-3cd18f03073a/71725f1f-8840-4ea4-86f9-9e2fe7733cc9",
      "type": "exact",
      "destination": "https://sqebfj.ymhj.hcoupdr.ypsqn.gov.uk/599d5b9b-aa49-4f9c-8d4e-8b9f82319d3a/1c1d4779-fa7b-44cd-8538-3801e924f3e6/37802ee8-41dc-4327-b274-807578199540/c41663f6-c794-4ba5-b24b-cfe6cd4a2984",
      "segments_mode": "ignore"
    },
    {
      "path": "/928120cc-1106-4b66-a355-6f2002b80f33/d764aa26-ddbf-48e4-b015-ae87589b9d9c",
      "type": "prefix",
      "destination": "https://nbrwkumi.ckv.gov.uk/be976987-55b2-442d-8e1f-f0b1e00db0db/dcb522d6-ff3d-43b4-90c8-c7e3b0d36a18/d4acf2ba-beec-4e91-8b13-e0d1d5eb442f/942d7804-ed9c-4a50-a66f-c037ad8f4bee",
      "segments_mode": "ignore"
    },
    {
      "path": "/85917454-6bd1-4b93-a961-0b8c93396b8b/b6b704e8-af62-4736-a7a7-5fd4ec14b7b5/825dcf00-dbc3-4058-9838-9863b27f4713/acd7e6e8-5503-4b91-b05c-e02007642993",
      "type": "exact",
      "destination": "/b2fa2833-afe0-4f15-8b97-08e4fd892424",
      "redirect_type": "temporary"
    },
    {
      "path": "/6072d58b-803e-49d9-ad50-d64b4321cf86/db2b885b-4783-4e90-8ee7-87cc250911a6/117c99ab-3d88-4b4c-9117-d2e707d238d5/5e2f1c2a-ad1b-4b79-b403-10f17ac6b5cb",
      "type": "prefix",
      "destination": "/1ccdd91d-834d-48c2-842f-c5cd593188bb/e6e4f140-9a7b-407d-ac07-6a29c7d8bc99",
      "redirect_type": "permanent",
      "segments_mode": "preserve"
    }
  ]
}

This schema does not allow for setting of links.