lists_item_redirect

The definition of the redirect.

APIs.ioEngineeringPlatform

Properties

Name Type Description
include_subdomains boolean
preserve_path_suffix boolean
preserve_query_string boolean
source_url string
status_code integer
subpath_matching boolean
target_url string
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-lists-item-redirect-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/lists_item_redirect",
  "title": "lists_item_redirect",
  "description": "The definition of the redirect.",
  "properties": {
    "include_subdomains": {
      "default": false,
      "type": "boolean"
    },
    "preserve_path_suffix": {
      "default": false,
      "type": "boolean"
    },
    "preserve_query_string": {
      "default": false,
      "type": "boolean"
    },
    "source_url": {
      "example": "example.com/arch",
      "type": "string"
    },
    "status_code": {
      "default": 301,
      "enum": [
        301,
        302,
        307,
        308
      ],
      "type": "integer"
    },
    "subpath_matching": {
      "default": false,
      "type": "boolean"
    },
    "target_url": {
      "example": "https://archlinux.org/",
      "type": "string"
    }
  },
  "required": [
    "source_url",
    "target_url"
  ]
}