{ "opencollection": "1.0.0", "info": { "name": "aserto//v2/.proto Authorizer API", "version": "version not set" }, "request": { "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Authorizer", "type": "folder" }, "items": [ { "info": { "name": "Compile", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/authz/compile", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Executes a partial query on the loaded policy runtime." }, { "info": { "name": "Decision tree", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/authz/decisiontree", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Returns decision tree for given identity context." }, { "info": { "name": "Is (authorized)", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/authz/is", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Determines if identity context is authorized to access the resource guarded by the given policy." }, { "info": { "name": "Query", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/authz/query", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "authorization", "value": "{{authorization}}", "placement": "header" } }, "docs": "Executes a rego query on the loaded policy runtime." } ] } ], "bundled": true }