pub.chive.graph.getRelations
List available relation types (nodes with subkind=relation)
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | graph.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.relationType.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.relationType.properties.inverseSlugNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.relationType.properties.labelNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.relationType.properties.slugNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "List available relation types (nodes with subkind=relation)",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"relations": {
"description": "Available relation types",
"items": {
"ref": "#relationType",
"type": "ref"
},
"type": "array"
}
},
"required": [
"relations"
],
"type": "object"
}
},
"parameters": {
"properties": {},
"type": "params"
},
"type": "query"
},
"relationType": {
"description": "Relation type definition",
"properties": {
"description": {
"description": "Relation description",
"type": "string"
},
"inverseSlug": {
"description": "Slug of inverse relation",
"type": "string"
},
"label": {
"description": "Display label",
"type": "string"
},
"slug": {
"description": "Relation slug identifier",
"type": "string"
}
},
"required": [
"slug",
"label"
],
"type": "object"
}
},
"id": "pub.chive.graph.getRelations",
"lexicon": 1,
"revision": 1
}