getContexts
Return all contexts part of a specified project.
How to use?
const { data, error } = await orbis.getContexts(project_id);
Parameters
project_id
- (stream) ID of the project whose contexts should be returned
Returns
[
{
"stream_id": "k...",
"content": {
"name": "internal-context-name",
"context": null || "string", // (stream) ID of a parent context
"project_id": "k...",
"websiteUrl": "https://project-or-app-url",
"accessRules": [
...
],
"displayName": "Display Context Name",
"integrations": {
...
}
},
"child_contexts": null || "array" // array of child contexts
},
...
]