younifyd
Menu

Set Source Extensions

Update extension configurations

PUT/rest/organizations/{organizationId}/sources/{sourceId}/extensions

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Set Source Extensions action (under Source).
  3. Fill in the fields below, then reference the result from later steps as {{setSourceExtensions.response.data}}.

Request

Path parameters

organizationIdstringrequired

The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3`

sourceIdstringrequired

The unique identifier of the target [source](https://docs.coveo.com/en/246/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3-gravodalyysjsu34camnvxm2d2y`

Query parameters

rebuildboolean

Whether to rebuild the [source](https://docs.coveo.com/en/246/) after the operation.<br />**Default:** `false`

Default false

Request body

Enter the body as JSON in the step's Body field.

commonobject

A set of [extension](https://docs.coveo.com/en/206/) configurations.

postConversionExtensionsarray<object>6 fields

The preconversion [extension](https://docs.coveo.com/en/206/) configurations.<br />See [Preconversion Versus Postconversion](https://docs.coveo.com/en/1556/#PreVsPost).

preConversionExtensionsarray<object>6 fields

The postconversion [extension](https://docs.coveo.com/en/206/) configurations.<br />See [Preconversion Versus Postconversion](https://docs.coveo.com/en/1556/#PreVsPost).

itemsobject

The [extension](https://docs.coveo.com/en/206/) configurations that apply to specific [item](https://docs.coveo.com/en/210/) types. The key is the item type, and the value object describes the extension configurations.<br />**Example:** `{"Video":{"postConversionExtensions":[{"extensionId": "mycoveocloudv2organizationg8tp8wu3-vwlyqfbtjkotxqkmrxqjcbcpoy"}]}}`

json
{
  "common": {
    "postConversionExtensions": [
      {
        "actionOnError": "REJECT_DOCUMENT",
        "condition": "string",
        "extensionId": "string",
        "itemType": "string",
        "parameters": {},
        "versionId": "string"
      }
    ],
    "preConversionExtensions": [
      {
        "actionOnError": "REJECT_DOCUMENT",
        "condition": "string",
        "extensionId": "string",
        "itemType": "string",
        "parameters": {},
        "versionId": "string"
      }
    ]
  },
  "items": {}
}

Response

Returns 204 with a any. Read it in later steps with {{setSourceExtensions.response.data.<field>}}.

Need more? See the Coveo guide for connection setup and behaviour shared by every action.