{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Case Classification Configuration 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": "Case Classification Configuration", "type": "folder" }, "items": [ { "info": { "name": "Get Preview for Building a CC Model.", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/machinelearning/configuration/caseclassif/preview", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Shows the number of support cases that match the Case Classification (CC) requirements in the targeted sources.

Privilege required\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"ALLOW_CONTENT_PREVIEW\",\"type\":\"ENABLE\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Get CC Content Fields", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/machinelearning/configuration/caseclassif/fields", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Get the content fields that a model can use for the specified parameters.

Privilege required\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"ALLOW_CONTENT_PREVIEW\",\"type\":\"ENABLE\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "getValueCountForField", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/machinelearning/configuration/caseclassif/fields/:fieldName/valueCount", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "fieldName", "value": "author", "type": "path", "description": "Name of the field" } ], "body": { "type": "json", "data": "{}" } }, "docs": "
Privilege required\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"ALLOW_CONTENT_PREVIEW\",\"type\":\"ENABLE\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "getDocumentCountForField", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/machinelearning/configuration/caseclassif/fields/:fieldName/documentCount", "params": [ { "name": "organizationId", "value": "mycoveocloudv2organizationg8tp8wu3", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "fieldName", "value": "author", "type": "path", "description": "Name of the field" } ], "body": { "type": "json", "data": "{}" } }, "docs": "
Privilege required\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"ALLOW_CONTENT_PREVIEW\",\"type\":\"ENABLE\",\"targetId\":\"*\"}\n```\n
" } ] } ], "bundled": true }