{ "opencollection": "1.0.0", "info": { "name": "AI Service Actions Credentials API", "version": "1.0.0" }, "items": [ { "info": { "name": "Credentials", "type": "folder" }, "items": [ { "info": { "name": "Credentials list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/credentials", "params": [ { "name": "componentId", "value": "", "type": "query", "description": "Component ID" }, { "name": "branchId", "value": "", "type": "query", "description": "Branch ID\n\nUse value `null` to get credentials without branchId.\n" } ] }, "docs": "Returns list of component credentials.\n" }, { "info": { "name": "Component credentials list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/credentials/:componentId", "params": [ { "name": "componentId", "value": "", "type": "path", "description": "Component ID" } ] }, "docs": "Returns list of component credentials.\n" }, { "info": { "name": "Create credentials", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/credentials/:componentId", "params": [ { "name": "componentId", "value": "", "type": "path", "description": "Component ID" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "id", "value": "" }, { "name": "authorizedFor", "value": "" }, { "name": "#data", "value": "" }, { "name": "branchId", "value": "" } ] } }, "docs": "Call the endpoint to create new credentials for given component.\n" }, { "info": { "name": "Credentials detail", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/credentials/:componentId/:name", "params": [ { "name": "componentId", "value": "", "type": "path", "description": "Component ID" }, { "name": "name", "value": "", "type": "path", "description": "Credentials name (authorization ID)" } ] }, "docs": "Returns the credentials detail.\n" }, { "info": { "name": "Delete credentials", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/credentials/:componentId/:name", "params": [ { "name": "componentId", "value": "", "type": "path", "description": "Component ID" }, { "name": "name", "value": "", "type": "path", "description": "Credentials name (authorization ID)" } ] }, "docs": "Delete existing credentials.\n" } ] } ], "bundled": true }