Define a template file to use for given project.

POST /actions/projects/{project_id}/set-file-tree

Template files are located on the server side. Each template has a name which means that you just have to give a name to "select" the template to link with the project.

Path parameters

Body

Responses

  • Template file defined

  • Selected tree not available

POST /actions/projects/{project_id}/set-file-tree
curl \
 -X POST http://localhost:8080/api/actions/projects/{project_id}/set-file-tree \
 -d '{"tree_name":"string"}'
Request examples
{
  "tree_name": "string"
}