Reference · Type registry

pub.techne.draft.registry.listTypeRequests

query · GETIn the SDK, techne.platform.pub.techne.draft.registry.listTypeRequests

Requests to index foreign types, newest first.

Public: the requests are public records in the registry's repo, and the commons operator page lists them from here.

Input query parameters

NameTypeWhat it is
statestringOnly requests in this state. One of pending, approved, declined, blocked.
requesterdid
limitintegerDefault 50. 1 to 100.
cursorstring

Output application/json

NameTypeWhat it is
requestsrequiredrequestView[]
cursorstring

The full lexicon is at listTypeRequests.registry.draft.techne.pub.

requestView A request to index a type defined elsewhere on the network.

NameTypeWhat it is
nsidrequirednsid
requesterrequireddid
staterequiredstringpending until an operator decides. approved: an operator's live commons credential pinned this request's CID when the platform read it; the approval stands after that, even if the credential is later withdrawn (only a block, registry.purgeType, ends it). Approval starts a walk of the type's existing records on the network; its new writes there reach the platform once a release adds the type to what the platform subscribes to. declined: an operator declined it; records written through the platform are still indexed. blocked: an operator stopped indexing the type (registry.purgeType); nothing of it is indexed, and an approval or a decline no longer changes that. One of pending, approved, declined, blocked.
urirequiredat-uriThe pub.techne.draft.registry.typeRequest record, in the registry's repo.
cidrequiredcidIts CID, which an approval pins.
queryobjectThe query roles the requester mapped, as a {nsid}.query document.
previewpreview
decidedBydidThe operator who approved or declined it.
decidedAtdatetime
decisionat-uriThe record that decided it: the approving credential or the declining verdict.
createdAtrequireddatetime
pagerequireduriThe type's page on techne.pub.

preview What indexing a foreign type would take on, read when it was requested: where its schema is published and how big it is on the network.

NameTypeWhat it is
schemarequiredstrongRefThe com.atproto.lexicon.schema record its NSID authority's _lexicon TXT record led to.
schemaCreatedAtdatetimeWhen that schema record was first written, as far as the platform can tell.
fieldsrequiredstring[]The main record's top-level fields, each as name: type.
reposintegerAccounts the relay lists as holding records of it (com.atproto.sync.listReposByCollection), counted up to a ceiling.
reposCappedbooleanWhether repos stopped at the ceiling.
sampledRecordsintegerRecords read from a sample of those accounts.
sampledValidintegerHow many of the sampled records satisfy the schema.
estimatedRecordsintegerRecords of it on the network, estimated from the sample.
readAtdatetime
Requests waiting on an operator, newest first

The SDK's generated client has every platform method on techne.platform, typed from its lexicon. The call goes through the user's PDS, which signs it for the platform.

Requests waiting on an operator, newest first
What comes back

Public: no session needed. Every answer carries page, the type’s techne.pub page; share it.