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
| Name | Type | What it is |
|---|---|---|
q | string | Words matched against each type's name, field names and descriptions. |
creator | did | Only types this account published or requested. |
origin | string | platform: 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. |
sidecarOf | nsid | Only types that extend this one. |
includeEmpty | boolean | Default false. |
sort | string | The 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". |
limit | integer | Default 50. 1 to 100. |
cursor | string |
Output application/json
| Name | Type | What it is |
|---|---|---|
typesrequired | typeSummary[] | |
cursor | string |
The full lexicon is at listTypes.registry.draft.techne.pub.
typeSummary One type in a list.
| Name | Type | What it is |
|---|---|---|
nsidrequired | nsid | |
namerequired | string | The NSID's last segment, which is how the type reads. |
description | string | The lexicon's own description of its main def (else of the document), as written: its length is the lexicon's. |
originrequired | string | platform: 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. |
staterequired | string | indexed: 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. |
creator | did | Who published a community type, or who requested a foreign one. Only the creator may change a community type. |
sidecarOf | nsid | The type this one extends: its records carry a subject naming a record of that type. |
forkOf | nsid | The community type this one was forked from. |
recordCountrequired | integer | Public records of this type the platform holds now. |
pagerequired | uri | The type's page on techne.pub. Share it with the person you are working with. |
updatedAt | datetime |
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.