{
  "opencollection": "1.0.0",
  "info": {
    "name": "Balena Cloud Applications Devices API",
    "version": "v7"
  },
  "items": [
    {
      "info": {
        "name": "Devices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List devices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.balena-cloud.com/v7/device",
            "params": [
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List devices using OData-style queries. Supports `$select`, `$filter`,\n`$expand`, `$top`, `$skip`, and `$orderby`.\n"
        },
        {
          "info": {
            "name": "Create a device",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.balena-cloud.com/v7/device",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a device"
        },
        {
          "info": {
            "name": "Get a device by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.balena-cloud.com/v7/device(:id)",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a device by id"
        },
        {
          "info": {
            "name": "Modify a device",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.balena-cloud.com/v7/device(:id)",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Modify a device"
        },
        {
          "info": {
            "name": "Delete a device",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.balena-cloud.com/v7/device(:id)",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a device"
        }
      ]
    }
  ],
  "bundled": true
}