cross-project

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-cross-project"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/eef0a1e0-7a84-4cfc-968d-cc2e9e3ade77/social-card.svg?v=3e7ae33eec8b" alt="cross-project" width="600" height="315"></a>
GEThttps://lucidace.com/v1/orgs/{org_id}/cross-project-viewsScope admin

Parameters

org_idstringpathrequired

Code 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[]required
Show child parameters
created_atstringrequired
idstringrequired
itemsobject[]required
[{project_id, object_id}]
kindstringrequired
dashboard | insight
namestringrequired
next_cursorstring
404
POSThttps://lucidace.com/v1/orgs/{org_id}/cross-project-viewsScope admin

Parameters

org_idstringpathrequired

Request body

application/json
itemsItemRef[]required
Show child parameters
object_idstringrequired
The dashboard or insight id, per the view's kind.
project_idstringrequired
kindstringrequired
dashboard | insight
namestringrequired
{
  "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_atstringrequired
idstringrequired
itemsobject[]required
[{project_id, object_id}]
kindstringrequired
dashboard | insight
namestringrequired
400
403
404 A project or object in items is not accessible
409
GEThttps://lucidace.com/v1/orgs/{org_id}/cross-project-views/{id}Scope admin

Parameters

org_idstringpathrequired
idstringpathrequired

Code 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
hiddenintegerrequired
Items left out because the caller cannot read their project or the object is gone.
idstringrequired
itemsResolvedItem[]required
Show child parameters
objectobjectrequired
A dashboard with its tiles, or an insight.
project_idstringrequired
project_namestringrequired
kindstringrequired
namestringrequired
404 No such view, or none of its items is accessible to the caller
DELETEhttps://lucidace.com/v1/orgs/{org_id}/cross-project-views/{id}Scope admin

Parameters

org_idstringpathrequired
idstringpathrequired

Code 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
GEThttps://lucidace.com/v1/orgs/{org_id}/cross-project-views/{id}/mergedScope admin

Parameters

org_idstringpathrequired
idstringpathrequired
formatstringquery
json (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=svg
Example
{
  "columns": [
    "string"
  ],
  "hidden": 0,
  "items": [
    {
      "error": "string",
      "insight_id": "string",
      "project_id": "string",
      "project_name": "string",
      "title": "string"
    }
  ],
  "name": "string",
  "rows": [
    [
      {}
    ]
  ]
}
Schema
columnsstring[]required
The shared first column, then <project>: <insight> (· <series> when an insight has several).
hiddenintegerrequired
Items left out because the caller cannot read them.
itemsMergedItem[]required
Show child parameters
errorstring
Why this insight has no series in the chart.
insight_idstringrequired
project_idstringrequired
project_namestringrequired
titlestringrequired
namestringrequired
rowsobject[][]required
400 Not an insight view, or an unknown format
404
422 svg: the merged result is not a time series
Updated