docs.fusial

Get a template

GET
/templates/{id}
x-api-key<token>

Your workspace API key. Create and manage keys in your Fusial workspace settings. Keys carry scopes of the form resource:action.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/templates/string"
{
  "template": {
    "id": "string",
    "name": "string",
    "description": "string",
    "contractType": "string",
    "ourRole": "string",
    "titlePattern": "string",
    "fileName": "string",
    "updatedAt": "2019-08-24T14:15:22Z",
    "variables": [
      {
        "key": "string",
        "label": "string",
        "type": "text",
        "required": true,
        "options": [
          "string"
        ],
        "binding": "string",
        "defaultValue": "string",
        "helpText": "string",
        "requiresInput": true
      }
    ]
  }
}
{
  "error": {
    "code": "not_found",
    "message": "Resource not found."
  }
}
{
  "error": {
    "code": "not_found",
    "message": "Resource not found."
  }
}
{
  "error": {
    "code": "not_found",
    "message": "Resource not found."
  }
}