collaboration
POST
https://lucidace.com /v1/projects/{project_id}/transfers Parameters
project_idstringpathrequiredsource project
Request body
application/json
dependenciesstringReferenced cohorts and actions:
copy (default) reuses same-named ones in the target or copies them; match only reuses and answers 409 missing-dependency otherwise.modestringcopy (default) keeps the source; move deletes it after copying.resource_idstringrequiredresource_typestringrequireddashboard | insight | flag | cohort | actiontarget_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[]requiredCohorts and actions mapped into the target.
Show child parameters
createdbooleanrequiredtrue when copied, false when a same-named one was reused.idstringrequiredresource_typestringrequiredcohort | actionsource_idstringrequiredidstringrequiredThe new object in the target project.
modestringrequiredproject_idstringrequiredresource_typestringrequired400
403
404 source, object or target not visible
409 flag key taken in the target
Updated