{
  "opencollection": "1.0.0",
  "info": {
    "name": "Exoscale ai-api-key template API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "template",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve Template details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-{zone}.exoscale.com/v2/template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve Template details"
        },
        {
          "info": {
            "name": "Copy a Template from a zone to another",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-{zone}.exoscale.com/v2/template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Copy a Template from a zone to another"
        },
        {
          "info": {
            "name": "Update template attributes",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api-{zone}.exoscale.com/v2/template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update template attributes"
        },
        {
          "info": {
            "name": "Delete a Template",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-{zone}.exoscale.com/v2/template/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a Template"
        },
        {
          "info": {
            "name": "Promote a Snapshot to a Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-{zone}.exoscale.com/v2/snapshot/:id:promote",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Promote a Snapshot to a Template"
        },
        {
          "info": {
            "name": "List Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-{zone}.exoscale.com/v2/template",
            "params": [
              {
                "name": "visibility",
                "value": "",
                "type": "query"
              },
              {
                "name": "family",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Templates"
        },
        {
          "info": {
            "name": "Register a Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-{zone}.exoscale.com/v2/template",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register a Template"
        }
      ]
    }
  ],
  "bundled": true
}