Template Create

Create a new template. Please note this api requires write access to the repository.

POST /api/templates/

Example Request Body:

1
2
3
4
5
{
  "name": "name",
  "data": "data",
  "namespace": "namespace"
}

Example Response Body:

1
2
3
4
5
6
{
  "id": 1,
  "name": "plugin.starlark",
  "namespace": "octocat",
  "data": "data"
}