Business Teams Service GraphQL API

Your applications can access and administer Business Teams Service teams by using GraphQL calls.

GraphQL is a powerful query language for APIs standardized by the GraphQL Organization. While the normal REST API returns the response always in a fixed format, GraphQL allows you to specify the exact list of fields that you want to receive in a response to a REST API call. The Business Teams Service supports GraphQL with two REST endpoints:

/teamserver/rest/graphql
        GET: Retrieve team data according to a GraphQL query.
        POST: Retrieve or modify data according to a GraphQL query or mutation.

Note: In GraphQL terminology, a modification is known as a "mutation"

Important: While the BTS REST API (such as GET teamserver/rest/teams) usually omits any fields with a null value in the response, GraphQL sets such requested fields explicitly to null.

BTS does not support GraphQL subscriptions.