{ "opencollection": "1.0.0", "info": { "name": "Core access-groups rules API", "version": "1.0.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "rules", "type": "folder" }, "items": [ { "info": { "name": "getrulesetsNamespaceSlug", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/rulesets/:namespace/:slug", "params": [ { "name": "namespace", "value": "", "type": "path" }, { "name": "slug", "value": "", "type": "path" } ] }, "docs": "Get a the rule document" }, { "info": { "name": "patchrulesetsNamespaceSlug", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/rulesets/:namespace/:slug", "params": [ { "name": "namespace", "value": "", "type": "path" }, { "name": "slug", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update rule metadata" }, { "info": { "name": "deleterulesetsNamespaceSlug", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/rulesets/:namespace/:slug", "params": [ { "name": "namespace", "value": "", "type": "path" }, { "name": "slug", "value": "", "type": "path" } ] }, "docs": "Delete a specific rule" }, { "info": { "name": "getrulesetsGetByIdUid", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/rulesets/get-by-id/:uid", "params": [ { "name": "uid", "value": "", "type": "path" } ] }, "docs": "Get a the rule document" }, { "info": { "name": "getrulesetsNamespace", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/rulesets/:namespace", "params": [ { "name": "namespace", "value": "", "type": "path" } ] }, "docs": "Get a list of all rulesets for the namespace" }, { "info": { "name": "postrulesetsNamespace", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/rulesets/:namespace", "params": [ { "name": "namespace", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new rule for the namespace" }, { "info": { "name": "postrulesetsUpload", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/rulesets/upload", "body": { "type": "json", "data": "{}" } }, "docs": "Update rule content" }, { "info": { "name": "postrulesAccessGroup", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/rules/access-group", "body": { "type": "json", "data": "{}" } }, "docs": "Adds an access group to a rule" }, { "info": { "name": "deleterulesAccessGroup", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/rules/access-group", "body": { "type": "json", "data": "{}" } }, "docs": "Removes an access group from a rule" }, { "info": { "name": "postrulesetsCheckSlug", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/rulesets/check-slug", "body": { "type": "json", "data": "{}" } }, "docs": "Checks if a ruleset slug is available for the provided namespace" } ] } ], "bundled": true }