Mutation
mutation SetIntegration($input: SetIntegrationInput!) {
setIntegration(input: $input) {
integration {
name
status
syncProgress
updatedAt
settings {
__typename
... on LookerSettings {
__typename
}
}
}
}
}Variables
{
"input": {
"config": {}
}
}Response
{
"data": {
"setIntegration": {
"integration": {
"name": "LOOKER",
"status": "NOT_CONNECTED",
"syncProgress": 1.5,
"updatedAt": "value",
"settings": {
"__typename": "LookerSettings"
}
}
}
}
}setIntegration
Tests credentials, then saves them and starts what connecting starts in the settings page, such as the first import. Refused credentials are a CONNECTION_TEST_FAILED error and save nothing. Credentials equal to the saved ones are tested and not saved again. Needs integration_settings:write.
MUTATION
setIntegration(input: SetIntegrationInput!): SetIntegrationPayload!Arguments
input
required
The credentials.
Returns
integration
The integration, connected.
Mutation
mutation SetIntegration($input: SetIntegrationInput!) {
setIntegration(input: $input) {
integration {
name
status
syncProgress
updatedAt
settings {
__typename
... on LookerSettings {
__typename
}
}
}
}
}Variables
{
"input": {
"config": {}
}
}Response
{
"data": {
"setIntegration": {
"integration": {
"name": "LOOKER",
"status": "NOT_CONNECTED",
"syncProgress": 1.5,
"updatedAt": "value",
"settings": {
"__typename": "LookerSettings"
}
}
}
}
}