Reference · Type registry

pub.techne.draft.registry.listTypes

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

Find record types: search by name, field or purpose, or list a creator's.

Public. Types with no records are left out unless creator is given or includeEmpty is set, so the lists show what is in use. Each type carries its techne.pub page.

Input query parameters

NameTypeWhat it is
qstringWords matched against each type's name, field names and descriptions.
creatordidOnly types this account published or requested.
originstringplatform: a type the platform ships. community: a draft someone published, pub.techne.draft.c.<id>.<name>. requested: a type defined elsewhere on the network that someone asked the platform to index. One of platform, community, requested.
sidecarOfnsidOnly types that extend this one.
includeEmptybooleanDefault false.
sortstringThe order of the list, or, when q is given, the order within equally good matches (a search ranks by how well each type matches first). records: most used first (the default). name: A to Z. updated: most recently changed first. One of records, name, updated. Default "records".
limitintegerDefault 50. 1 to 100.
cursorstring

Output application/json

NameTypeWhat it is
typesrequiredtypeSummary[]
cursorstring

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

typeSummary One type in a list.

NameTypeWhat it is
nsidrequirednsid
namerequiredstringThe NSID's last segment, which is how the type reads.
descriptionstringThe lexicon's own description of its main def (else of the document), as written: its length is the lexicon's.
originrequiredstringplatform: a type the platform ships. community: a draft someone published, pub.techne.draft.c.<id>.<name>. requested: a type defined elsewhere on the network that someone asked the platform to index. One of platform, community, requested.
staterequiredstringindexed: a platform or community type, or an approved request. An approved request's existing records are read from the network (a walk of its history) from the approval on; its new writes on the network reach the platform once a release adds the type to what the platform subscribes to, and until then only those written through the platform arrive. pending: a request not yet decided; only records written through the platform are indexed. declined: an operator declined the request; it stays as pending does. blocked: an operator stopped indexing it. One of indexed, pending, declined, blocked.
creatordidWho published a community type, or who requested a foreign one. Only the creator may change a community type.
sidecarOfnsidThe type this one extends: its records carry a subject naming a record of that type.
forkOfnsidThe community type this one was forked from.
recordCountrequiredintegerPublic records of this type the platform holds now.
pagerequireduriThe type's page on techne.pub. Share it with the person you are working with.
updatedAtdatetime
Community types about recipes, most used 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.

Community types about recipes, most used first
What comes back

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