PairDataTableConnector
POST
/api/v1/public/connector/pair
const url = 'https://example.com/api/v1/public/connector/pair';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"code":"example","version":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/public/connector/pair \ --header 'Content-Type: application/json' \ --data '{ "code": "example", "version": "example" }'Request Bodyrequired
Abschnitt betitelt „Request Bodyrequired“Media typeapplication/json
object
code
required
string
version
required
string
Examplegenerated
{ "code": "example", "version": "example"}Responses
Abschnitt betitelt „ Responses “OK
Media typeapplication/json
object
connectorId
required
string format: uuid
workspaceSlug
required
string
key
required
string
Examplegenerated
{ "connectorId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "workspaceSlug": "example", "key": "example"}Bad Request
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
errors
object
key
additional properties
Array<string>
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "errors": { "additionalProperty": [ "example" ] }}Not Found
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Too Many Requests
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Service Unavailable
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}