{
"opencollection": "1.0.0",
"info": {
"name": "Coveo Activity Activities Event API API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://platform.cloud.coveo.com/oauth/authorize",
"accessTokenUrl": "https://platform.cloud.coveo.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"items": [
{
"info": {
"name": "Event API",
"type": "folder"
},
"items": [
{
"info": {
"name": "Send Events to Coveo Analytics.",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/events/v1",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Privilege required
\n```\n{\"owner\":\"USAGE_ANALYTICS\",\"targetDomain\":\"ANALYTICS_DATA\",\"type\":\"EDIT\",\"targetId\":\"*\"}\n```\n "
},
{
"info": {
"name": "Validate Events with Coveo Analytics.",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/events/v1/validate",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Privilege required
\n```\n{\"owner\":\"USAGE_ANALYTICS\",\"targetDomain\":\"ANALYTICS_DATA\",\"type\":\"EDIT\",\"targetId\":\"*\"}\n```\n "
},
{
"info": {
"name": "Validate Coveo API Requests.",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/events/v1/requests/validate",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path"
},
{
"name": "type",
"value": "commerce.recommendations",
"type": "query",
"description": "The request type"
},
{
"name": "version",
"value": "2",
"type": "query",
"description": "The API version"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Privilege required
\n```\n{\"owner\":\"USAGE_ANALYTICS\",\"targetDomain\":\"ANALYTICS_DATA\",\"type\":\"EDIT\",\"targetId\":\"*\"}\n```\n "
}
]
}
],
"bundled": true
}