{ "opencollection": "1.0.0", "info": { "name": "Express Gateway Admin Apps Credentials API", "version": "1.0.0" }, "items": [ { "info": { "name": "Credentials", "type": "folder" }, "items": [ { "info": { "name": "List credentials", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9876/credentials" }, "docs": "List credentials" }, { "info": { "name": "Create a credential", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9876/credentials", "body": { "type": "json", "data": "{}" } }, "docs": "Create a credential" }, { "info": { "name": "List credentials for a consumer (user or app)", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9876/credentials/:consumerId", "params": [ { "name": "consumerId", "value": "", "type": "path" } ] }, "docs": "List credentials for a consumer (user or app)" }, { "info": { "name": "Get a credential by type and id", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9876/credentials/:type/:id", "params": [ { "name": "type", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get a credential by type and id" }, { "info": { "name": "Activate or deactivate a credential", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9876/credentials/:type/:id/status", "params": [ { "name": "type", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Activate or deactivate a credential" }, { "info": { "name": "Set all scopes on a credential", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9876/credentials/:type/:id/scopes", "params": [ { "name": "type", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set all scopes on a credential" }, { "info": { "name": "Add a scope to a credential", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9876/credentials/:type/:id/scopes/:scope", "params": [ { "name": "type", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" }, { "name": "scope", "value": "", "type": "path" } ] }, "docs": "Add a scope to a credential" }, { "info": { "name": "Remove a scope from a credential", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:9876/credentials/:type/:id/scopes/:scope", "params": [ { "name": "type", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" }, { "name": "scope", "value": "", "type": "path" } ] }, "docs": "Remove a scope from a credential" } ] } ], "bundled": true }