at.happyproto.registry.getArtifact
An artifact's bytes, from the registry's own copy — never redirected to the publisher. A deleted release still serves them. The output encoding is `*/*`, as com.atproto.sync.getBlob's is, and the media type is the one the bytes were stored under.
Details · query
| Kind | query |
|---|---|
| Authority | registry.happyproto.at |
| Indexed |
Showing version bafyreigd7atw34rmtph3bthqyoqvvibwf42kkqzqqjynygfgcodyiuhuru. Show the latest
Checks
Validunlimited-stringdefs.main.parameters.properties.slugNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.typeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.versionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "An artifact's bytes, from the registry's own copy — never redirected to the publisher. A deleted release still serves them. The output encoding is `*/*`, as com.atproto.sync.getBlob's is, and the media type is the one the bytes were stored under.",
"errors": [
{
"description": "No release is indexed at that version.",
"name": "ReleaseNotFound"
},
{
"description": "The release is indexed but its bytes have not been copied yet, or that artifact type was never published.",
"name": "ArtifactNotHeld"
},
{
"description": "The registry instance has no identity configured (HAPPYPROTO_DID), so it cannot read its own state. An operator problem, not a caller's.",
"name": "NotConfigured"
}
],
"output": {
"encoding": "*/*"
},
"parameters": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"slug": {
"type": "string"
},
"type": {
"default": "package",
"description": "Which artifact: `package` is the module, `icon`, `banner` and `screenshots` are presentation assets, and a custom type carries an `x-` prefix.",
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"did",
"slug",
"version"
],
"type": "params"
},
"type": "query"
}
},
"id": "at.happyproto.registry.getArtifact",
"lexicon": 1
}