Connectors

Create connector target

Changed on

Creates a connector target under a connector instance.

post/v1/connector-instances/{connectorInstanceId}/targets

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/connector-instances/{connectorInstanceId}/targets
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

connectorInstanceIdstring typeid required

Den TypeID with 'cin_' prefix and a 26-character base32 suffix.

Request body

connectorType'github' required
remoteIdstring required
targetKind'repository_branch' required
externalTargetRefstring nullable
configobject required

Response

Connector target created successfully.

oktrue required

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API