Pairs of notes graph entries that may be the same
GET
/api/v1/saga/graph/maybe-same
const url = 'https://api.yggy.tech/api/v1/saga/graph/maybe-same';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/maybe-same \ --header 'Authorization: Bearer <token>'Two live entries a merge suggestion pairs that nobody decided yet, neither merged away nor marked as not the same.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Pairs
Media type application/json
object
pairs
required
Newest first, at most 200. Empty outside the caller’s own personal workspace.
Array<object>
object
id
required
The suggestion to answer.
string
a
required
Graph node id of one entry.
string
b
required
Graph node id of the other entry.
string
Example generated
{ "pairs": [ { "id": "example", "a": "example", "b": "example" } ]}Too many graph requests
Media type application/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
details
Example
{ "success": false}