Template Create

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

POST /api/templates/{namespace}

Example Request Body:

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

Example Response Body:

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