GET /api/v1/{context_id}/relations
Changed onList live relation edges, newest first. Paginated: follow page.nextCursor.
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
context_idstring required
Spectron context id
Query parameters
srcstring
Filter by subject entity, as <type>/<name> (e.g. person/alice)
dststring
Filter by object entity, as <type>/<name> (e.g. company/techco)
labelstring
Filter by relation label
limitinteger
Max rows to return (default 100, max 500)
cursorstring
Continuation token from the previous page's page.nextCursor
countboolean
Also return page.totalSize (costs a full count of the filtered set)
Response
Changes
- info
endpoint added
- info