pub.chive.graph.getEdge
Retrieve a knowledge graph edge by AT-URI
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.graphEdge.properties.cidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.graphEdge.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.graphEdge.properties.relationSlugNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.graphEdge.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"graphEdge": {
"description": "Graph edge response",
"properties": {
"cid": {
"description": "Content identifier",
"type": "string"
},
"createdAt": {
"description": "Creation timestamp",
"format": "datetime",
"type": "string"
},
"createdBy": {
"description": "DID of creator",
"format": "did",
"type": "string"
},
"id": {
"description": "Edge UUID identifier",
"type": "string"
},
"metadata": {
"description": "Edge-specific metadata",
"ref": "pub.chive.graph.edge#edgeMetadata",
"type": "ref"
},
"proposalUri": {
"description": "AT-URI of creating proposal",
"format": "at-uri",
"type": "string"
},
"relationSlug": {
"description": "Relation slug (broader, narrower, related, etc.)",
"type": "string"
},
"relationUri": {
"description": "AT-URI of relation type node",
"format": "at-uri",
"type": "string"
},
"sourceUri": {
"description": "AT-URI of source node",
"format": "at-uri",
"type": "string"
},
"status": {
"description": "Edge lifecycle status",
"knownValues": [
"proposed",
"established",
"deprecated"
],
"type": "string"
},
"targetUri": {
"description": "AT-URI of target node",
"format": "at-uri",
"type": "string"
},
"updatedAt": {
"description": "Last update timestamp",
"format": "datetime",
"type": "string"
},
"uri": {
"description": "AT-URI of the edge",
"format": "at-uri",
"type": "string"
},
"weight": {
"description": "Edge weight (scaled by 1000 for 0.0-1.0 range)",
"maximum": 1000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"uri",
"sourceUri",
"targetUri",
"relationSlug",
"status",
"createdAt"
],
"type": "object"
},
"main": {
"description": "Retrieve a knowledge graph edge by AT-URI",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"ref": "#graphEdge",
"type": "ref"
}
},
"parameters": {
"properties": {
"uri": {
"description": "Edge AT-URI",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.graph.getEdge",
"lexicon": 1,
"revision": 1
}