Set project file tree
Define a template file to use for a given project. Template files are located on the server side and each template has a name for selection.
POST
/actions/projects/{project_id}/set-file-tree
curl \
--request POST 'http://api.example.com/actions/projects/a24a6ea4-ce75-4665-a070-57453082c25/set-file-tree' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"tree_name":"default"}'
Request examples
{
"tree_name": "default"
}
Response examples (200)
{
"id": "b35b7fb5-df86-5776-b181-68564193d36",
"name": "My Project",
"file_tree": {
"template": "default"
},
"updated_at": "2023-01-01T12:30:00Z"
}