Resource URL: /platform/<<version=1>>/auth/privileges

    Overview: This resource applies the standard collection pattern to
              privileges.

     Methods: GET

********************************************************************************

Method GET: List all privileges.

       URL: GET /platform/<<version=1>>/auth/privileges

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "privileges": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "Specifies the system-defined privilege that may be granted to users.", 
            "properties": {
              "category": {
                "minLength": 0, 
                "required": true, 
                "type": "string", 
                "description": "Specifies the general categorization of the privilege.", 
                "maxLength": 255
              }, 
              "read_write": {
                "type": "boolean", 
                "description": "True, if the privilege is read-write."
              }, 
              "description": {
                "minLength": 0, 
                "required": true, 
                "type": "string", 
                "description": "Specifies a short description of the privilege.", 
                "maxLength": 255
              }, 
              "name": {
                "minLength": 0, 
                "type": "string", 
                "description": "Specifies the name of the privilege.", 
                "maxLength": 255
              }, 
              "id": {
                "minLength": 0, 
                "required": true, 
                "type": "string", 
                "description": "Specifies the ID of the privilege.", 
                "maxLength": 255
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }, 
        "resume": {
          "minLength": 0, 
          "type": [
            "string", 
            "null"
          ], 
          "description": "Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options)."
        }
      }
    }
  ]
}
