net.wireservice.redirect

wireservice.net

Documentation

An old path on the publication's site that now belongs to a document: from an imported archive, or a document whose path changed. Any app can answer the old URL with a getRecord, without an index.

main record

An old path on the publication's site that now belongs to a document: from an imported archive, or a document whose path changed. Any app can answer the old URL with a getRecord, without an index.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

path string Required

The old path, with a leading slash and no trailing slash.

maxLength: 2048 bytes
target string at-uri Required

The site.standard.document the path now belongs to. Redirect to that document's current path.

View raw schema
{
  "description": "An old path on the publication's site that now belongs to a document: from an imported archive, or a document whose path changed. Any app can answer the old URL with a getRecord, without an index.",
  "key": "any",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "path": {
        "description": "The old path, with a leading slash and no trailing slash.",
        "maxLength": 2048,
        "type": "string"
      },
      "target": {
        "description": "The site.standard.document the path now belongs to. Redirect to that document's current path.",
        "format": "at-uri",
        "type": "string"
      }
    },
    "required": [
      "path",
      "target",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@