{
  "opencollection": "1.0.0",
  "info": {
    "name": "Netography (Vectra Fusion) Analytics Roles API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Roles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Role Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.netography.com/api/v1/roles/permissions"
          },
          "docs": "Return a list of permissions available for Roles."
        },
        {
          "info": {
            "name": "List Roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.netography.com/api/v1/roles"
          },
          "docs": "Return a list of all Roles."
        },
        {
          "info": {
            "name": "Create Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.netography.com/api/v1/roles",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Role from the supplied object.  Do NOT submit an ID.  IDs are auto generated and immutable."
        },
        {
          "info": {
            "name": "Get Role",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.netography.com/api/v1/roles/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "String ID of the role to get"
              }
            ]
          },
          "docs": "Fetches a specific Role from the ID supplied in the path."
        },
        {
          "info": {
            "name": "Update Role",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.netography.com/api/v1/roles/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the Role to be updated"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a Role given the provided object.  This does not do a diff.  You must send the complete object."
        },
        {
          "info": {
            "name": "Delete Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.netography.com/api/v1/roles/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the Role to be retrieved"
              }
            ]
          },
          "docs": "Deletes the Role.  API will return a 409 Conflict if the role is in use."
        }
      ]
    }
  ],
  "bundled": true
}