Details of a notes graph node
const url = 'https://api.yggy.tech/api/v1/saga/graph/nodes/example/details';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.yggy.tech/api/v1/saga/graph/nodes/example/details \ --header 'Authorization: Bearer <token>'Other names, dates, readable facts, 20 relations (those of the note it was opened from first, then the most confirmed, then the newest) and the newest 20 notes that mention it. Counts from a capped read carry a flag saying more may exist.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Graph node id
Graph node id
Query Parameters
Section titled “Query Parameters ”The note the details were opened from; its relations are listed first.
The note the details were opened from; its relations are listed first.
Responses
Section titled “ Responses ”Node details
object
Other names of the same thing.
The note it was first noted in, only when its date agrees with when the thing was stored.
object
The newest notes that mention it, at most 20.
object
More notes mention it than are listed, or the read hit a cap.
False when no live note backs this node.
Facts a person can read; identifiers, links and secret-shaped values are left out.
object
The newest relations, at most 20.
object
Out: this node is the subject.
object
Said in one note, in more than one, or flagged as in conflict.
Relations listed.
More relations exist than are listed.
Example
{ "relations": [ { "direction": "out", "mark": "new" } ]}Not a yggy notes workspace
object
object
Example
{ "success": false}No such node in this workspace
object
object
Example
{ "success": false}Too many graph requests
object
object
Example
{ "success": false}