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

  • 200

    Template file defined

  • 400

    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 \
 -H "Authorization: $API_KEY" \
 -d '{"tree_name":"string"}'
Request example
{
  "tree_name": "string"
}