collaboration

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-collaboration"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/79d6e0f6-390e-4772-bcdd-12226652a9fd/social-card.svg?v=3e7ae33eec8b" alt="collaboration" width="600" height="315"></a>
POSThttps://lucidace.com/v1/projects/{project_id}/transfers

Parameters

project_idstringpathrequired
source project

Request body

application/json
dependenciesstring
Referenced cohorts and actions: copy (default) reuses same-named ones in the target or copies them; match only reuses and answers 409 missing-dependency otherwise.
modestring
copy (default) keeps the source; move deletes it after copying.
resource_idstringrequired
resource_typestringrequired
dashboard | insight | flag | cohort | action
target_project_idstringrequired
{
  "dependencies": "string",
  "mode": "string",
  "resource_id": "string",
  "resource_type": "string",
  "target_project_id": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/transfers" \
  -H "Content-Type: application/json" \
  -d '{"dependencies":"string","mode":"string","resource_id":"string","resource_type":"string","target_project_id":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "dependencies": [
    {
      "created": true,
      "id": "string",
      "resource_type": "string",
      "source_id": "string"
    }
  ],
  "id": "string",
  "mode": "string",
  "project_id": "string",
  "resource_type": "string"
}
Schema
dependenciesObjectTransferDepsDependency[]required
Cohorts and actions mapped into the target.
Show child parameters
createdbooleanrequired
true when copied, false when a same-named one was reused.
idstringrequired
resource_typestringrequired
cohort | action
source_idstringrequired
idstringrequired
The new object in the target project.
modestringrequired
project_idstringrequired
resource_typestringrequired
400
403
404 source, object or target not visible
409 flag key taken in the target
Updated