Permission Sets

Get permission sets

Changed on

List all roles.

get/api/v2/roles

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/roles
  • Auth
    none declared

Query parameters

OR

Filters

{
  "0": {
    "id": {
      "eq": "123"
    }
  },
  "$op": "and"
}
sortstring[]

Sort role

Response

Collection role

Example response

{
  "data": [
    {
      "id": "5",
      "type": "roles",
      "attributes": {
        "name": "Project Manager",
        "description": "Can manage projects, budgets, and team members",
        "base_role_id": 2,
        "people_count": 8,
        "active_users_count": 6,
        "inactive_users_count": 2,
        "active_agents_count": 0,
        "inactive_agents_count": 0,
        "editable_by_user": true,
        "user_type_id": 1,
        "permissions": {
          "manage_projects": true,
          "manage_budgets": true,
          "view_financials": false
        }
      }
    }
  ],
  "included": [],
  "meta": {
    "current_page": 1,
    "total_pages": 5,
    "total_count": 42,
    "page_size": 30,
    "max_page_size": 200
  }
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the /// response's property type changed from string to no type for status

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.