{ "opencollection": "1.0.0", "info": { "name": "YOOBIC Public Answers Bot Messages API", "version": "1.0" }, "items": [ { "info": { "name": "Bot Messages", "type": "folder" }, "items": [ { "info": { "name": "Get with no answer", "type": "http" }, "http": { "method": "GET", "url": "https:///public/api/bot-messages/:id/export?type=excel&no_answer=true", "headers": [ { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "id", "value": "54ab03c6546847ee0d30086a", "type": "path", "description": "The id of the bot" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/", "accessTokenUrl": "/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get analytics for a single bot where there is no answer (equivalent to ‘I don’t know' response from the bot)." }, { "info": { "name": "Get with negative feedback", "type": "http" }, "http": { "method": "GET", "url": "https:///public/api/bot-messages/:id/export?type=excel&dislike=true", "headers": [ { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "id", "value": "54ab03c6546847ee0d30086a", "type": "path", "description": "The id of the bot" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/", "accessTokenUrl": "/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get analytics for a single bot where the feedback is negative." }, { "info": { "name": "Export", "type": "http" }, "http": { "method": "GET", "url": "https:///public/api/bot-messages/export?type=:type&filter=:filter", "headers": [ { "name": "Accept", "value": "application/json" } ], "params": [ { "name": "type", "value": "csv", "type": "path", "description": "The type of file, either csv (default value) or excel" }, { "name": "filter", "value": "{\"where\":{\"answered\":true,\"feedback\":true}}", "type": "query", "description": "A valid JSON filter object" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "/", "accessTokenUrl": "/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get all bot analytics." } ] } ], "bundled": true }