technology.agave.marketplace.notify

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.

Details · procedure
Kindprocedure
Authoritymarketplace.agave.technology
Indexed

Procedure

procedure · POST

Input

application/json

uri

requiredstring · at-uri

A technology.agave.blockVersion, technology.agave.profile or technology.agave.follow record.

Output

application/json

cid

string · cid

The CID of the record the repository holds; absent when it holds none.

status

requiredstring

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

uri

requiredstring · at-uri

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.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.