Integrations

Creates or updates a custom edgehancer on a Mesh app.

Creates or updates a custom edgehancer on a Mesh app.

put/api/v1/integration-edgehancers

Request

  • Base URL: https://uniform.app
  • URL: https://uniform.app/api/v1/integration-edgehancers
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

teamIdstring required

The team ID

connectorTypestring required

The integration dataConnector to attach the edgehancer to

archetypestring required

The data connector archetype name to attach the edgehancer to

hook'preRequest' | 'request' | 'createAIDataResourceEdit' | 'afterAIDataResourceEdit' required

The hook to attach the edgehancer to

codestring required

ESM JS code to run for the custom edgehancer. It runs in a v8 runtime, and is expected to default-export a function which conforms to the hook type specs.

compatibilityDatestring

Date indicating targeted support in the custom edgehancer runtime. Backwards incompatible fixes to the runtime following this date will not affect this custom edgehancer.

Response

Put successful

Changes

No recorded changes to this operation across all 1 revision of this API.