{
  "opencollection": "1.0.0",
  "info": {
    "name": "Metadata Role Service API",
    "version": "version not set"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "RoleService",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.bigeye.com/api/v1/roles"
          },
          "docs": "Get all roles"
        },
        {
          "info": {
            "name": "Create a role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.bigeye.com/api/v1/roles",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a role"
        },
        {
          "info": {
            "name": "Get a role",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.bigeye.com/api/v1/roles/:roleId",
            "params": [
              {
                "name": "roleId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a role"
        },
        {
          "info": {
            "name": "Delete a role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.bigeye.com/api/v1/roles/:roleId",
            "params": [
              {
                "name": "roleId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a role"
        },
        {
          "info": {
            "name": "List the groups and users who have been granted a role",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.bigeye.com/api/v1/roles/:roleId/accessors",
            "params": [
              {
                "name": "roleId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List the groups and users who have been granted a role"
        },
        {
          "info": {
            "name": "Update a role",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.bigeye.com/api/v1/roles/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a role"
        }
      ]
    }
  ],
  "bundled": true
}