{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Facet 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": "Facet", "type": "folder" }, "items": [ { "info": { "name": "Executes a Facet Search Query", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/commerce/v2/facet", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `acmecorporation8tp8wu3`" }, { "name": "type", "value": "LISTING", "type": "query", "description": "Solution type. Possible values are: LISTING, SEARCH." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Returns facet values for a given query.

**Required privilege:** Execute Query

Privilege required\n```\n{\"owner\":\"SEARCH_API\",\"targetDomain\":\"EXECUTE_QUERY\",\"targetId\":\"*\"}\n```\n
" } ] } ], "bundled": true }