{ "opencollection": "1.0.0", "info": { "name": "PlanRadar's API Documentation Approval Requests V2 Roles API", "version": "2.0" }, "items": [ { "info": { "name": "Roles", "type": "folder" }, "items": [ { "info": { "name": "Returns all roles", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/:customer_id/roles", "params": [ { "name": "customer_id", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query", "description": "sets the number of pages for the returned roles" }, { "name": "pagesize", "value": "", "type": "query", "description": "sets the number of roles that should be returned per page
Maximum is 500, default is 100" }, { "name": "last_sync_date", "value": "", "type": "query", "description": "is a Unix Timestamp. If it is set, only roles that were created after that timestamp will be returned" }, { "name": "search", "value": "", "type": "query", "description": " keyword, based on which the roles will be filtered" }, { "name": "sort", "value": "", "type": "query" } ] }, "docs": "This API returns all roles that were created by the logged in customer. Without any extra parameters it will return the first 100 roles ordered by ascending ID. Extra parameters can be added to sort the results.
Role Sorting Roles can be sorted by their attributes like id, name, creation date: created-on and whether a role is an admin role: is-admin-role. The sort is always ascending unless the field name is prefixed with a minus (U+002D HYPHEN-MINUS, \"-\") i.e. `-id` or `id`
" } ] } ], "bundled": true }