at.happyproto.registry.retryVersion
Copy a version's blobs into the registry again, after an earlier copy failed. Only the registry's own account may call this. The copy is enqueued for any indexed version and fetches only what is not held yet, so an available version whose optional images failed can be retried. For a version deleted at its source, the copy keeps whatever blobs the publisher's PDS still serves, so instances that installed it can keep loading it by CID, but the version stays deletedAtSource and is never made available. For such a version, a blob that cannot be fetched, whether it is missing or the fetch failed transiently, is recorded in `failed` and not retried automatically; call retryVersion again.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | registry.happyproto.at |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe publisher.
The project's name, which is the record key of its software.release.project: 1 to 64 lowercase letters, digits and interior hyphens.
minLength: 1maxLength: 64
A semver version without build metadata, with an optional lowercase prerelease, such as `1.2.0` or `1.2.0-beta.1`.
minLength: 1maxLength: 64
Output
application/jsonThe version's availability when the retry was asked for. The copy runs afterwards, so this does not yet reflect it.
knownValues: pending | available | deletedAtSource
Errors
AuthRequired
The caller's identity could not be determined, so there is no repo to write to.
NotConfigured
The registry has no identity configured. An operator problem, not a caller's.
InvalidRecord
The input breaks a rule the registry applies, so it would refuse the records. The message names the field.
InvalidRequest
The input breaks the method's lexicon, such as a field of the wrong format or past its length, and HappyView refused it before the registry saw it. The message names the field.
Upstream
A record could not be written to the caller's repo. Records written before the failure stay, and the same call can be made again.
VersionNotFound
No version of that project is indexed at that version string.
Forbidden
Only the registry's own account may retry a copy.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
at.happyproto.registry.retryRelease
procedureCopy 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.
-
The bytes of a blob the registry has copied, served from its own copy and never redirected to the publisher, so a version stays installable after its publisher deletes it. Name the blob either by version and kind or by its CID. Only blobs that an indexed manifest or publication references are served. The output encoding is `*/*`, as com.atproto.sync.getBlob's is; the media type is the one the blob was published with.