POST
/
integrations
/
github
curl --request POST \
  --url https://api.carbon.ai/integrations/github \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "username": "<string>",
  "access_token": "<string>",
  "sync_source_items": false,
  "data_source_tags": {}
}'
{
  "success": true
}

Authorizations

authorization
string
header
required

token <token>, corresponds to temporary access tokens.

Body

application/json
username
string
required
access_token
string
required
sync_source_items
boolean
default:
false

Enabling this flag will fetch all available content from the source to be listed via list items endpoint

data_source_tags
object

Tags to be associated with the data source. If the data source already has tags set, then an upsert will be performed.

Response

200
application/json
Successful Response
success
boolean
required