net.wireservice.redirect
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.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | wireservice.net |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
}
},
"description": "The record key is the hex SHA-256 of the path (normalized: leading slash, no trailing slash).",
"id": "net.wireservice.redirect",
"lexicon": 1
}