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
Kindquery
Authoritymedia.illi.newnal.ai
Indexed
cid bafyreihem3mnb6zvehwq3jehhe47waorwdgn5tbu6tsjrzprkrb5u5wrum

Checks

Valid
  • unlimited-string defs.main.parameters.properties.externalAssetIdNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.spaceKeyNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}