Setup Connector

Setup a connector by providing the necessary configuration values specific to the connector

Path

/v1/partner/connector/<connector_id>/config

Method

POST

Header

Content-Type: application/json

Authorization: Bearer access token

Query Params

NONE

Body

{

"sourceConfig": { // optional

// “api-key”: “string”,

// “bucket-name”: “string”

},

"destinationConfig": { // optional

// “api-key”: “string”,

// “bucket-name”: “string”

}

}

Success response

{

"code": 200,

"message": "string",

"response": {

"requestId": "string",

“connector”: {

"id": "string",

"sourceModifiedDate": int,

"destinationModifiedDate": int,

"sourceConfig": {

// “api-key”: “string”,

// “bucket-name”: “string”

},

"destinationConfig": {

// “api-key”: “string”,

// “bucket-name”: “string”

}

}

}

Error response

{

"code": 500,

"message": "string",

"response": null

}

Last updated