Skip to main content

bitbucketConfiguredSelections

Returns workspaces and repositories already configured for a Bitbucket integration

bitbucketConfiguredSelections(
integrationId: ID!
): BitbucketConfiguredSelections!

Arguments​

bitbucketConfiguredSelections.integrationId ● ID! non-null scalar​

Bitbucket integration ID

Type​

BitbucketConfiguredSelections object​

Example request

This generated query uses placeholders for required values. Replace them with values available to your API key before running it.

Before you run it

Run the integrations query first and use data.integrations.collection[].id as integrationId.

curl --request POST https://api.convisoappsec.com/graphql \
--header "x-api-key: $CONVISO_API_KEY" \
--header "content-type: application/json" \
--data '{"query":"query GetBitbucketConfiguredSelections($integrationId: ID!) {\n bitbucketConfiguredSelections(integrationId: $integrationId) { allRepositories authorizedScopes { uuid name kind } repositories { id name fullName } }\n}","variables":{"integrationId":"<integration_id>"}}'

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute