{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Indexing Pipeline Extensions 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": "Indexing Pipeline Extensions", "type": "folder" }, "items": [ { "info": { "name": "Show Extension", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the extension to show.
Example: `mycoveocloudv2organizationg8tp8wu3n-vwlyqfbtjkotxqkmrxqjcbcpoy`" } ] }, "docs": "Shows an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - View

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Update Extension", "type": "http" }, "http": { "method": "PUT", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the extension to update.
Example: `mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy`" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - Edit

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"EDIT\",\"targetId\":\"{extensionId}\"}\n```\n
" }, { "info": { "name": "Delete Extension", "type": "http" }, "http": { "method": "DELETE", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the extension to delete.
Example: `mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy`" } ] }, "docs": "Deletes an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - Edit

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"EDIT\",\"targetId\":\"{extensionId}\"}\n```\n
" }, { "info": { "name": "Set Timeout for a Given Extension for an Organization.", "type": "http" }, "http": { "method": "PUT", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/timeouts", "params": [ { "name": "organizationId", "value": "", "type": "path" }, { "name": "extensionId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "
Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"EDIT\",\"targetId\":\"{extensionId}\"}\n```\n
" }, { "info": { "name": "Show Extension Code", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/code", "params": [ { "name": "organizationId", "value": "", "type": "path" }, { "name": "extensionId", "value": "", "type": "path" } ] }, "docs": "Shows an [extension] code(https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - View

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Update Extension Code", "type": "http" }, "http": { "method": "PUT", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/code", "params": [ { "name": "organizationId", "value": "", "type": "path" }, { "name": "extensionId", "value": "", "type": "path" } ] }, "docs": "Updates an [extension] code(https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - Edit

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"EDIT\",\"targetId\":\"{extensionId}\"}\n```\n
" }, { "info": { "name": "List Extensions", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" } ] }, "docs": "Lists all [extensions](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - View

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Create Extension", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - Create

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"CREATE\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Test Extension", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/test", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the extension to test.
Example: `mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy`" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Tests an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - Edit

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"EDIT\",\"targetId\":\"{extensionId}\"}\n```\n
" }, { "info": { "name": "Create Test Data Stream Upload URI", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/test/datastream", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the extension for which to create an upload URI.
Example: `mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy`" } ] }, "docs": "Creates an upload URI to host a [data stream](https://docs.coveo.com/en/2891/) when testing an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).
See [Uploading a Data Stream for an Extension Test](https://docs.coveo.com/en/2916).

**Required privilege:** Extensions - Edit

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"EDIT\",\"targetId\":\"" }, { "info": { "name": "Enable Extension", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/enable", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the extension to enable.
Example: `mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy`" } ] }, "docs": "Enables a disabled [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).
Note: Disabled extensions are not executed.

**Required privilege:** Extensions - Edit

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"EDIT\",\"targetId\":\"{extensionId}\"}\n```\n
" }, { "info": { "name": "Disable Extension", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/disable", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the extension to disable.
Example: `mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy`" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Disables an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).
Note: Disabled extensions are not executed.

**Required privilege:** Extensions - Edit

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"EDIT\",\"targetId\":\"{extensionId}\"}\n```\n
" }, { "info": { "name": "Try to Compile Code for an Extension", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/test/compile", "params": [ { "name": "organizationId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Tries to compile code that would be used in an extension for [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - Edit

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Get a Subset of Extensions by Ids for an Organization.", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/ids", "params": [ { "name": "organizationId", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query" }, { "name": "perPage", "value": "", "type": "query" }, { "name": "filter", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Lists subset of [extensions](https://docs.coveo.com/en/206/) by their respective ids in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - View

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "List Extension Versions", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/versions", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the target extension.
Example: `mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy`" } ] }, "docs": "Lists all versions of an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - View

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Show Extension Version", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/:extensionId/versions/:versionId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
Example: `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "extensionId", "value": "", "type": "path", "description": "The unique identifier of the target extension.
Example: `mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy`" }, { "name": "versionId", "value": "", "type": "path", "description": "The unique identifier of the extension version to show.
Example:`hdJSDb4hTkdnsCynNtF.d657FgLSDydcj`" } ] }, "docs": "Shows a specific version of an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - View

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Get Extensions Associated with Specified Project.", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/project", "params": [ { "name": "organizationId", "value": "", "type": "path" }, { "name": "projectId", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query" }, { "name": "perPage", "value": "", "type": "query" }, { "name": "filter", "value": "", "type": "query" } ] }, "docs": "Lists subset of [extensions](https://docs.coveo.com/en/206/) by their respective project id in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - View

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"INDEXING_PIPELINE_EXTENSION\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "List Extensions by Page with Filter.", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/extensions/page", "params": [ { "name": "organizationId", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query" }, { "name": "perPage", "value": "", "type": "query" }, { "name": "filter", "value": "", "type": "query" } ] }, "docs": "Lists pages of [extensions](https://docs.coveo.com/en/206/) matching filter in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).

**Required privilege:** Extensions - View

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