Fetch one technology.agave record from its author's PDS with its repository proof, verify it and index it, or drop it from the index when the repository no longer holds it. Needs no authentication: everything indexed comes from the repository, nothing from the caller.
Input
application/jsonuri
stringat-uri
Required
A technology.agave.blockVersion, technology.agave.profile or technology.agave.follow record.
Output
application/jsoncid
stringcid
Optional
The CID of the record the repository holds; absent when it holds none.
status
string
Required
indexed: the record is in the index now. unchanged: the index already held the record as it is, or its withdrawal. deleted: the repository holds the record no more and the index dropped it.
indexed, unchanged, deleteduri
stringat-uri
Required
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
Errors
Refused
The record fails a check: its proof, its archive's CID, its lexicon, a publish check, or a version that is not newer. The message says which, in words for its author. RecordNotFound
Neither the repository nor the index holds the record. ActorNotFound
The URI's DID or handle does not resolve. UpstreamFailure
The author's DID document, PDS or archive could not be fetched. Notify again later. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Fetch one technology.agave record from its author's PDS with its repository proof, verify it and index it, or drop it from the index when the repository no longer holds it. Needs no authentication: everything indexed comes from the repository, nothing from the caller.",
"errors": [
{
"description": "The record fails a check: its proof, its archive's CID, its lexicon, a publish check, or a version that is not newer. The message says which, in words for its author.",
"name": "Refused"
},
{
"description": "Neither the repository nor the index holds the record.",
"name": "RecordNotFound"
},
{
"description": "The URI's DID or handle does not resolve.",
"name": "ActorNotFound"
},
{
"description": "The author's DID document, PDS or archive could not be fetched. Notify again later.",
"name": "UpstreamFailure"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "A technology.agave.blockVersion, technology.agave.profile or technology.agave.follow record.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "The CID of the record the repository holds; absent when it holds none.",
"format": "cid",
"type": "string"
},
"status": {
"description": "indexed: the record is in the index now. unchanged: the index already held the record as it is, or its withdrawal. deleted: the repository holds the record no more and the index dropped it.",
"knownValues": [
"indexed",
"unchanged",
"deleted"
],
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"status"
],
"type": "object"
}
},
"type": "procedure"
}