{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Stream 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": "Stream", "type": "folder" }, "items": [ { "info": { "name": "Delete Old Documents", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/data-collections/:dataCollectionId/stream/deleteolderthan/:epochMilliseconds", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "dataCollectionId", "value": "", "type": "path", "description": "The unique identifier of the data collection. \n**Example:** `myorganization-rp5rxzbdz753uhndklv2ztkfgy`" }, { "name": "epochMilliseconds", "value": "", "type": "path", "description": "The epoch milliseconds timestamp limit used to delete documents indexed before it. \n**Example:** `1699456507127 for nov 8th 2023 15:15 UTC time`" }, { "name": "queueDelay", "value": "", "type": "query", "description": "A grace period (in minutes) whose purpose is to give the Coveo Cloud V2 indexing pipeline enough time to finish processing any previously enqueued operation that would affect the target stream enabled source. Default value is 15 minutes. \n**Example:** `5`" } ], "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}}" } } }, "docs": "Delete documents indexed before specified epoch milliseconds." }, { "info": { "name": "Merge Entities of a Data Collection", "type": "http" }, "http": { "method": "PUT", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/data-collections/:dataCollectionId/stream/merge", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "dataCollectionId", "value": "", "type": "path", "description": "The unique identifier of the data collection. \n**Example:** `myorganization-rp5rxzbdz753uhndklv2ztkfgy`" }, { "name": "fileId", "value": "", "type": "query", "description": "The unique identifier of the Amazon S3 file container into which the JSON definition of the content update was previously uploaded (see [Create a file container](https://docs.coveo.com/en/43/)). \n**Example:** d22778ca-7f42-4e13-9d9a-47d01bce866c" } ], "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}}" } } }, "docs": "Perform a shallow merge with a batch of items in a Data Collection." }, { "info": { "name": "Open a Stream", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/data-collections/:dataCollectionId/stream/open", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "dataCollectionId", "value": "", "type": "path", "description": "The unique identifier of the data collection. \n**Example:** `myorganization-rp5rxzbdz753uhndklv2ztkfgy`" } ], "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}}" } } }, "docs": "Opens a stream for upload." }, { "info": { "name": "Update Entities of a Data Collection", "type": "http" }, "http": { "method": "PUT", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/data-collections/:dataCollectionId/stream/update", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "dataCollectionId", "value": "", "type": "path", "description": "The unique identifier of the data collection. \n**Example:** `myorganization-rp5rxzbdz753uhndklv2ztkfgy`" }, { "name": "fileId", "value": "", "type": "query", "description": "The unique identifier of the Amazon S3 file container into which the JSON definition of the content update was previously uploaded (see [Create a file container](https://docs.coveo.com/en/43/)). \n**Example:** d22778ca-7f42-4e13-9d9a-47d01bce866c" }, { "name": "shard", "value": "", "type": "path", "description": "**Experimental** An identifier to process the JSON payload by groups. The shard must be a string from 1 to 10 alphanumeric characters." } ], "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}}" } } }, "docs": "Manages a batch of items in a Data Collection." }, { "info": { "name": "Get a New Chunk for a Stream", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/data-collections/:dataCollectionId/stream/:streamId/chunk", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "dataCollectionId", "value": "", "type": "path", "description": "The unique identifier of the data collection. \n**Example:** `myorganization-rp5rxzbdz753uhndklv2ztkfgy`" }, { "name": "streamId", "value": "", "type": "path", "description": "The unique identifier of the stream. \n**Example:** `18320d0e-c2e8-4a56-acfc-4eae55f92380`" } ], "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}}" } } }, "docs": "Requests another chunk of a stream for upload." }, { "info": { "name": "Close a Stream", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/data-collections/:dataCollectionId/stream/:streamId/close", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "dataCollectionId", "value": "", "type": "path", "description": "The unique identifier of the data collection. \n**Example:** `myorganization-rp5rxzbdz753uhndklv2ztkfgy`" }, { "name": "streamId", "value": "", "type": "path", "description": "The unique identifier of the stream. \n**Example:** `18320d0e-c2e8-4a56-acfc-4eae55f92380`" } ], "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}}" } } }, "docs": "Closes a stream." }, { "info": { "name": "Delete Old Documents", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/sources/:sourceId/stream/deleteolderthan/:epochMilliseconds", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "sourceId", "value": "", "type": "path", "description": "The unique identifier of the target source. \n**Example:** `rp5rxzbdz753uhndklv2ztkfgy-mycoveocloudv2organizationg8tp8wu3`" }, { "name": "epochMilliseconds", "value": "", "type": "path", "description": "The epoch milliseconds timestamp limit used to delete documents indexed before it. \n**Example:** `1699456507127 for nov 8th 2023 15:15 UTC time`" }, { "name": "queueDelay", "value": "", "type": "query", "description": "A grace period (in minutes) whose purpose is to give the Coveo Cloud V2 indexing pipeline enough time to finish processing any previously enqueued operation that would affect the target stream enabled source. Default value is 15 minutes. \n**Example:** `5`" } ], "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}}" } } }, "docs": "Delete documents indexed before specified epoch milliseconds." }, { "info": { "name": "Merge Documents of a Catalog Stream Source", "type": "http" }, "http": { "method": "PUT", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/sources/:sourceId/stream/merge", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "sourceId", "value": "", "type": "path", "description": "The unique identifier of the target Push source (see [Creating a Push Source](https://developers.coveo.com/x/34s9Ag)). \n**Example:** `rp5rxzbdz753uhndklv2ztkfgy-mycoveocloudv2organizationg8tp8wu3`" }, { "name": "fileId", "value": "", "type": "query", "description": "The unique identifier of the Amazon S3 file container into which the JSON definition of the content update was previously uploaded (see [Create a file container](https://docs.coveo.com/en/43/)). \n**Example:** d22778ca-7f42-4e13-9d9a-47d01bce866c" } ], "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}}" } } }, "docs": "Perform a shallow merge with a batch of items in a Catalog source." }, { "info": { "name": "Open a Stream", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/sources/:sourceId/stream/open", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "sourceId", "value": "", "type": "path", "description": "The unique identifier of the target source. \n**Example:** `rp5rxzbdz753uhndklv2ztkfgy-mycoveocloudv2organizationg8tp8wu3`" } ], "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}}" } } }, "docs": "Opens a stream for upload." }, { "info": { "name": "Update a Catalog Stream Source", "type": "http" }, "http": { "method": "PUT", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/sources/:sourceId/stream/update", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "sourceId", "value": "", "type": "path", "description": "The unique identifier of the target Push source (see [Creating a Push Source](https://developers.coveo.com/x/34s9Ag)). \n**Example:** `rp5rxzbdz753uhndklv2ztkfgy-mycoveocloudv2organizationg8tp8wu3`" }, { "name": "fileId", "value": "", "type": "query", "description": "The unique identifier of the Amazon S3 file container into which the JSON definition of the content update was previously uploaded (see [Create a file container](https://docs.coveo.com/en/43/)). \n**Example:** d22778ca-7f42-4e13-9d9a-47d01bce866c" }, { "name": "shard", "value": "", "type": "path", "description": "**Experimental** An identifier to process the JSON payload by groups. The shard must be a string from 1 to 10 alphanumeric characters." } ], "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}}" } } }, "docs": "Manages a batch of items in a Catalog source." }, { "info": { "name": "Get a New Chunk for a Stream", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/sources/:sourceId/stream/:streamId/chunk", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "sourceId", "value": "", "type": "path", "description": "The unique identifier of the target source. \n**Example:** `rp5rxzbdz753uhndklv2ztkfgy-mycoveocloudv2organizationg8tp8wu3`" }, { "name": "streamId", "value": "", "type": "path", "description": "The unique identifier of the stream. \n**Example:** `18320d0e-c2e8-4a56-acfc-4eae55f92380`" } ], "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}}" } } }, "docs": "Requests another chunk of a stream for upload." }, { "info": { "name": "Close a Stream", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/organizations/:organizationId/sources/:sourceId/stream/:streamId/close", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target Coveo Cloud V2 organization. \n**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "sourceId", "value": "", "type": "path", "description": "The unique identifier of the target source. \n**Example:** `rp5rxzbdz753uhndklv2ztkfgy-mycoveocloudv2organizationg8tp8wu3`" }, { "name": "streamId", "value": "", "type": "path", "description": "The unique identifier of the stream. \n**Example:** `18320d0e-c2e8-4a56-acfc-4eae55f92380`" } ], "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}}" } } }, "docs": "Closes a stream." } ] } ], "bundled": true }