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.
Input
application/jsonslug
string
Required
The package slug.
maxLength: 128 bytesversion
string
Required
The version to retry, as published.
maxLength: 256 bytesOutput
application/jsonstatus
string
Required
pending: the copy was enqueued again. active: the artifact is already held, and nothing was enqueued.
pending, activeuri
stringat-uri
Required
The release record.
Errors
AuthRequired
The caller's identity could not be determined. InvalidRequest
The slug or version could not name a release. ReleaseNotFound
That version is not published from the caller's account, or was withdrawn. ReleaseNotIndexed
The registry has not indexed the release, so there is no copy to retry. It may have refused the record. Upstream
The copy could not be enqueued. NotConfigured
The registry has no identity configured. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}