Header Values
The most relevant GraphQL request header values for our GraphQL API are the following:
Field Name | Description | Example Values |
---|---|---|
Authorization | Credentials that authenticate a user-agent with a server. | Basic xxxxxxxxxxxxxxxxxxxxxx or Bearer Token |
Content-Type | Format of the request content. | application/json |
In the following example, the requested resource is a json
object and the request type is a Bearer
access token:
curl --location --request POST 'https://graph.cleverbridge.com/graphql' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjNmMWI0MTc1OGU0NzM3ZmI[...]'\
--header 'Content-Type: application/json' \
--data-raw '{"query":"query { subscription(id: 23431030) { id extraParameters { key value } }}","variables":{}}'
Status Codes
Cleverbridge GraphQL API uses conventional HTTP response codes. For more details, see the Status Codes in Get Started for REST APIs.
Rate Limits
The Cleverbridge platform limits you to a maximum of 30 requests per second from an IP address or range. All API requests count towards the rate limit. For more details, see Rate Limits in Get Started for REST API.
Note
In the GraphQL API Reference, you can find the GraphQL schema with definitions of object types and fields.
Tip
Use GraphiQL Explorer to write, validate, and test GraphQL queries. To use GraphiQL, log in with your Cleverbridge credentials.
Updated over 1 year ago