Interacting with services through GraphQL


After signing in to the SBS portal, one of the ways in which you can interact with services is the GraphQL interface that is powered by GraphiQL (https://github.com/graphql/graphiql).

To view the queries and mutations exposed by the Web service, click the Book Book button button.

To send a GraphQL query or mutation to the service, write it in the left pane, and then click the Run Run button button. The results will be displayed in the right pane.

Below is an example of a GraphQL query that lists all the files available for the account Test Account, application App1 and tenant Tenant1.

SBS Portal List Files

Any GraphQL code you enter in the input panes (including “Variables”) is preserved for as long as you are signed in. However, if you switch the current account, application, or tenant, this data will be cleared for security reasons.