Skip to content
Follow yggy on LinkedInFollow @yggy_tech on X

Entries merged into a notes graph node

GET
/api/v1/saga/graph/nodes/{id}/merged-from
curl --request GET \
--url https://api.yggy.tech/api/v1/saga/graph/nodes/example/merged-from \
--header 'Authorization: Bearer <token>'

Active merges into the node, newest first, at most 20.

id
required

Graph node id

string
>= 1 characters <= 64 characters /^0x[0-9a-f]+$/i/

Graph node id

Merged entries

Media type application/json
object
entries
required

Active merges into the entity, newest first, at most 20.

Array<object>
object
sourceId
required

The merged entry; pass it as sourceId to split it back off.

string
label
required
string
type
required
string
mergedAt
required

When it was merged (ISO 8601).

string
reason
required

Why it was merged, when that was recorded.

string | null
automatic
required

Merged automatically rather than by a person.

boolean
relations
required

Relations the merge moved over.

integer
facts
required

Facts the merge moved over.

integer
projectId
required

The project the merge happened in; the projectId of the split route.

string
Example generated
{
"entries": [
{
"sourceId": "example",
"label": "example",
"type": "example",
"mergedAt": "example",
"reason": "example",
"automatic": true,
"relations": 1,
"facts": 1,
"projectId": "example"
}
]
}

Not a yggy notes workspace

Media type application/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
details
Example
{
"success": false
}

No such node in this workspace

Media type application/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
details
Example
{
"success": false
}

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
}