at.happyproto.registry.retryRelease
Copy a pending release's artifact again. A release is listed only once the registry has copied its artifact, which it tries once when it first indexes the release; this is how the release's publisher tries again after that copy failed. An active release is answered as it is, with nothing enqueued.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | registry.happyproto.at |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Copy a pending release's artifact again. A release is listed only once the registry has copied its artifact, which it tries once when it first indexes the release; this is how the release's publisher tries again after that copy failed. An active release is answered as it is, with nothing enqueued.",
"errors": [
{
"description": "The caller's identity could not be determined.",
"name": "AuthRequired"
},
{
"description": "The slug or version could not name a release.",
"name": "InvalidRequest"
},
{
"description": "That version is not published from the caller's account, or was withdrawn.",
"name": "ReleaseNotFound"
},
{
"description": "The registry has not indexed the release, so there is no copy to retry. It may have refused the record.",
"name": "ReleaseNotIndexed"
},
{
"description": "The copy could not be enqueued.",
"name": "Upstream"
},
{
"description": "The registry has no identity configured.",
"name": "NotConfigured"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"slug": {
"description": "The package slug.",
"maxLength": 128,
"type": "string"
},
"version": {
"description": "The version to retry, as published.",
"maxLength": 256,
"type": "string"
}
},
"required": [
"slug",
"version"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"status": {
"description": "pending: the copy was enqueued again. active: the artifact is already held, and nothing was enqueued.",
"knownValues": [
"pending",
"active"
],
"type": "string"
},
"uri": {
"description": "The release record.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"status"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "at.happyproto.registry.retryRelease",
"lexicon": 1
}