cross-project
GET
https://lucidace.com /v1/orgs/{org_id}/cross-project-views Scope adminParameters
org_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/cross-project-views"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of CrossProjectView, by name
Example
{
"data": [
{
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"items": [
{}
],
"kind": "string",
"name": "string"
}
],
"next_cursor": "string"
}Schema
dataCrossProjectView[]requiredShow child parameters
created_atstringrequiredidstringrequireditemsobject[]required[{project_id, object_id}]kindstringrequireddashboard | insightnamestringrequirednext_cursorstring404
POST
https://lucidace.com /v1/orgs/{org_id}/cross-project-views Scope adminParameters
org_idstringpathrequiredRequest body
application/json
itemsItemRef[]requiredShow child parameters
object_idstringrequiredThe dashboard or insight id, per the view's kind.
project_idstringrequiredkindstringrequireddashboard | insightnamestringrequired{
"items": [
{
"object_id": "string",
"project_id": "string"
}
],
"kind": "string",
"name": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/cross-project-views" \
-H "Content-Type: application/json" \
-d '{"items":[{"object_id":"string","project_id":"string"}],"kind":"string","name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"items": [
{}
],
"kind": "string",
"name": "string"
}Schema
created_atstringrequiredidstringrequireditemsobject[]required[{project_id, object_id}]kindstringrequireddashboard | insightnamestringrequired400
403
404 A project or object in
items is not accessible409
GET
https://lucidace.com /v1/orgs/{org_id}/cross-project-views/{id} Scope adminParameters
org_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/cross-project-views/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"hidden": 0,
"id": "string",
"items": [
{
"object": {},
"project_id": "string",
"project_name": "string"
}
],
"kind": "string",
"name": "string"
}Schema
hiddenintegerrequiredItems left out because the caller cannot read their project or the object is gone.
idstringrequireditemsResolvedItem[]requiredShow child parameters
objectobjectrequiredA dashboard with its tiles, or an insight.
project_idstringrequiredproject_namestringrequiredkindstringrequirednamestringrequired404 No such view, or none of its items is accessible to the caller
DELETE
https://lucidace.com /v1/orgs/{org_id}/cross-project-views/{id} Scope adminParameters
org_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/orgs/{org_id}/cross-project-views/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucidace.com /v1/orgs/{org_id}/cross-project-views/{id}/merged Scope adminParameters
org_idstringpathrequiredidstringpathrequiredformatstringqueryjson (default) or svg.Code samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/cross-project-views/{id}/merged"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 JSON, or
image/svg+xml with format=svgExample
{
"columns": [
"string"
],
"hidden": 0,
"items": [
{
"error": "string",
"insight_id": "string",
"project_id": "string",
"project_name": "string",
"title": "string"
}
],
"name": "string",
"rows": [
[
{}
]
]
}Schema
columnsstring[]requiredThe shared first column, then
<project>: <insight> (· <series> when an insight has several).hiddenintegerrequiredItems left out because the caller cannot read them.
itemsMergedItem[]requiredShow child parameters
errorstringWhy this insight has no series in the chart.
insight_idstringrequiredproject_idstringrequiredproject_namestringrequiredtitlestringrequirednamestringrequiredrowsobject[][]required400 Not an insight view, or an unknown format
404
422 svg: the merged result is not a time series
Updated