{ "opencollection": "1.0.0", "info": { "name": "Forithmus Challenge Platform 2fa roles API", "version": "1.0.0" }, "items": [ { "info": { "name": "roles", "type": "folder" }, "items": [ { "info": { "name": "List All Permissions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/admin/roles/permissions" }, "docs": "List all available permissions grouped by category: for the checkbox UI." }, { "info": { "name": "List Platform Roles", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/admin/roles" }, "docs": "List Platform Roles" }, { "info": { "name": "Create Platform Role", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/admin/roles", "body": { "type": "json", "data": "{}" } }, "docs": "Create Platform Role" }, { "info": { "name": "Update Platform Role", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/admin/roles/:role_id", "params": [ { "name": "role_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update Platform Role" }, { "info": { "name": "Delete Platform Role", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/admin/roles/:role_id", "params": [ { "name": "role_id", "value": "", "type": "path" } ] }, "docs": "Delete Platform Role" }, { "info": { "name": "List Challenge Roles", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/challenges/:slug/roles", "params": [ { "name": "slug", "value": "", "type": "path" } ] }, "docs": "List Challenge Roles" }, { "info": { "name": "Create Challenge Role", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/challenges/:slug/roles", "params": [ { "name": "slug", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create Challenge Role" }, { "info": { "name": "List Challenge Permissions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/challenges/:slug/roles/permissions", "params": [ { "name": "slug", "value": "", "type": "path" } ] }, "docs": "List all available challenge permissions: for the checkbox UI." }, { "info": { "name": "Update Challenge Role", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/challenges/:slug/roles/:role_id", "params": [ { "name": "slug", "value": "", "type": "path" }, { "name": "role_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update Challenge Role" }, { "info": { "name": "Delete Challenge Role", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/challenges/:slug/roles/:role_id", "params": [ { "name": "slug", "value": "", "type": "path" }, { "name": "role_id", "value": "", "type": "path" } ] }, "docs": "Delete Challenge Role" } ] } ], "bundled": true }