ai.newnal.illi.media.getOriginal
Server-to-server only. Media fetches an active registered original using a media service JWT with this method as lxm. The response streams the PDN blob with Content-Type and Content-Length. An original whose deletion is in progress answers 503 OriginalUnavailable (retry later); only a missing, deleted or unregistered original answers 404 NotFound, which media treats as final.
Details · query
| Kind | query |
|---|---|
| Authority | media.illi.newnal.ai |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.externalAssetIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.spaceKeyNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Server-to-server only. Media fetches an active registered original using a media service JWT with this method as lxm. The response streams the PDN blob with Content-Type and Content-Length. An original whose deletion is in progress answers 503 OriginalUnavailable (retry later); only a missing, deleted or unregistered original answers 404 NotFound, which media treats as final.",
"errors": [
{
"name": "NotFound"
},
{
"description": "The original is being deleted; the deletion may still be reverted. Retry later.",
"name": "OriginalUnavailable"
},
{
"name": "PdsUnavailable"
},
{
"name": "InvalidRequest"
},
{
"name": "AuthenticationRequired"
},
{
"name": "MediaAuthUnavailable"
}
],
"output": {
"encoding": "*/*"
},
"parameters": {
"properties": {
"externalAssetId": {
"minLength": 1,
"type": "string"
},
"spaceKey": {
"minLength": 1,
"type": "string"
}
},
"required": [
"spaceKey",
"externalAssetId"
],
"type": "params"
},
"type": "query"
}
},
"id": "ai.newnal.illi.media.getOriginal",
"lexicon": 1
}