{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Resources 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": "Resources", "type": "folder" }, "items": [ { "info": { "name": "Get Resources", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/resources/:resourceType", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the [Coveo organization](https://docs.coveo.com/en/185/).
**Example:** `startingorganizationg8tp8wu3`" }, { "name": "resourceType", "value": "", "type": "path", "description": "The type of the [resource](https://docs.coveo.com/2820).
**Example:** `SOURCE`" }, { "name": "filter", "value": "", "type": "query", "description": "The text to filter resources by (applied to the resource id and name properties).
**Example:** `My Web source`" }, { "name": "page", "value": "", "type": "query", "description": "The 0-based number of the results page to fetch.
**Default:** `0`" }, { "name": "perPage", "value": "", "type": "query", "description": "The number of results to fetch per page.
**Default:** `50`" } ] }, "docs": "Gets resources by resource type for a given organization.
**Required privilege:**` {resourceType} - View`

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"ORGANIZATION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" } ] } ], "bundled": true }