API
Creating API Credentials
GraphQL playground
{
"Authorization": "Bearer YOUR-TOKEN"
}Examples with curl
curlLast updated
{
"Authorization": "Bearer YOUR-TOKEN"
}curlLast updated
curl -X POST https://api.app.gomboc.ai/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR-TOKEN" \
-d '{
"query": "query MyQuery { organization { ... on Organization { name projects { name } } } }",
"variables": {}
}'curl -X POST https://api.app.gomboc.ai/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR-TOKEN" \
-d '{
"query": "mutation MyMutation { linkRepositories(input: {projectId: \"\", providers: {gitProviderId: \"\", selectedRepositoryIds: \"\"}}) { ... on Link { id createdAt createdBy } ... on GombocError { code message } } }",
"variables": {}
}'