{ "opencollection": "1.0.0", "info": { "name": "Fence OpenAPI Specification admin/user credentials/{provider} API", "version": "0.1.0" }, "items": [ { "info": { "name": "credentials/{provider}", "type": "folder" }, "items": [ { "info": { "name": "List access keys", "type": "http" }, "http": { "method": "GET", "url": "https://example.domain/credentials/:provider", "params": [ { "name": "provider", "value": "", "type": "path", "description": "Storage provider to obtain creds for" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List all the access keys for the current user" }, { "info": { "name": "Receive access key", "type": "http" }, "http": { "method": "POST", "url": "https://example.domain/credentials/:provider", "params": [ { "name": "provider", "value": "", "type": "path", "description": "Storage provider to obtain creds for" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get a new access key for the current user for the given provider" }, { "info": { "name": "Delete access key", "type": "http" }, "http": { "method": "DELETE", "url": "https://example.domain/credentials/:provider/:access_key", "params": [ { "name": "provider", "value": "", "type": "path", "description": "Provider of credentials such as API, or Google" }, { "name": "access_key", "value": "", "type": "path", "description": "Generic Key ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/oauth/authorize", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete an access key for the current user" } ] } ], "bundled": true }