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": "/52918fb2-8c8f-4012-abd4-6eb9892e4203/ec89ea27-780b-458f-ae8d-bb4a52b74fa8/b3acaf84-0450-44d4-a414-8f32987734eb/30dd4571-50c1-47a1-9eb6-9b975d81b9a6/40e85cb9-9bf7-43d4-b525-0c21c3dbed0a",
  "document_type": "redirect",
  "schema_name": "redirect",
  "publishing_app": "risus nibh. nisl sagittis egestas. orci in, libero. Ut purus ac Quisque imperdiet volutpat Ut Lorem eu scelerisque. malesuada Nam interdum. Nam cursus leo et finibus, morbi dolor ac Aenean a adipiscing Suspendisse molestie Pellentesque turpis interdum. Duis elit. lectus molestie massa mauris netus eu non at tristique sollicitudin vel pellentesque tempor sit eros. et bibendum. tempor tristique Mauris risus ac Sed non senectus nibh dolor vel sem fames vestibulum. consectetur amet, porttitor ac hendrerit, aliquet. ultricies est. habitant sed lorem suscipit ipsum",
  "update_type": "minor",
  "public_updated_at": "2017-05-17T16:18:18+00:00",
  "redirects": [
    {
      "path": "/0949771d-2433-4b73-a7f7-67042b283175",
      "type": "exact",
      "destination": "https://fozryj.dks.gov.uk/9df75ac3-4699-45a0-acbe-3a486ad730eb"
    },
    {
      "path": "/b492cf8d-c0f5-4d1a-bd3b-7d1f9d3899e0/011802c1-e0aa-40a1-90d5-fb4fabbdff90/6a9c7dbc-eafb-44af-bdd2-8e464683304c/9ab0e823-9704-441b-86d0-02a91f5b272c",
      "type": "prefix",
      "destination": "/093ab498-0e29-42f5-9f94-099de8de4d24/dd3583ab-27fe-4fe8-895e-a756954840f0/90495a42-e918-4c28-9c37-bd03695138ef/f9552c2f-ba07-4720-83fc-80cb9724ff6f/4289757a-6815-448f-b50b-bb0623fa45aa",
      "redirect_type": "temporary"
    },
    {
      "path": "/5576a5a2-1852-4e27-959c-b04d4f4c995b/0ce97d1a-b29d-45bd-aa07-ea3fef98ba5a/abefff9d-e8c8-4686-84f5-7d82c0570c0f/4b75d336-ba81-4022-ace8-48deae1518a7",
      "type": "exact",
      "destination": "/1470e0d6-0e20-4f71-83ab-9ecf53dd0ec1/cb1d580f-bb28-4ce7-98ff-3c86266f0cfa",
      "segments_mode": "ignore"
    },
    {
      "path": "/f891478c-4c19-4977-83bb-72914c2b024e",
      "type": "exact",
      "destination": "/031711dc-a61e-4ea7-b70d-789ed55cb40f/a94d1517-3674-4355-ad21-21db022c18ac"
    },
    {
      "path": "/65e90bf4-adb3-4cc2-8f33-a3c08333b525/afd7be2f-694e-4f45-8762-b557e34ec749/638106b8-3af4-4d44-8132-638c207efb48/2bcab658-5afb-43bf-a7c8-44b2cc2a7fa7",
      "type": "exact",
      "destination": "/f9235bd9-a857-4c52-9b06-268ed28c9b92/b222e648-c4a0-4086-82cb-98aba7d3f35a/a199aceb-2314-48d0-a2bf-d011c2c2dd1e",
      "redirect_type": "temporary",
      "segments_mode": "preserve"
    },
    {
      "path": "/6ec55ccf-bb0a-4e50-b4d1-75b31b6d9083",
      "type": "prefix",
      "destination": "/aaa099f2-c5f2-42c4-bafb-12ccba2cecfc",
      "redirect_type": "temporary",
      "segments_mode": "preserve"
    }
  ]
}

This schema does not allow for setting of links.