Execute any GraphQL query and mutation against the Firebase Data Connect's generated GraphQL schema. Grants full read and write access to the connected data sources.
Note: Use introspection query to explore the generated GraphQL schema.
HTTP request
POST https://firebasedataconnect.googleapis.com/v1beta/{name=projects/*/locations/*/services/*}:executeGraphql
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name | 
                
                   
 Required. The relative resource name of Firebase Data Connect service, in the format:  | 
              
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
{
  "query": string,
  "operationName": string,
  "variables": {
    object
  },
  "extensions": {
    object ( | 
                
| Fields | |
|---|---|
query | 
                  
                     
 Required. The GraphQL query document source.  | 
                
operationName | 
                  
                     
 Optional. The name of the GraphQL operation name. Required only if   | 
                
variables | 
                  
                     
 Optional. Values for GraphQL variables provided in this request.  | 
                
extensions | 
                  
                     
 Optional. Additional GraphQL request information.  | 
                
Response body
If successful, the response body contains an instance of GraphqlResponse.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
firebasedataconnect.services.executeGraphql
For more information, see the IAM documentation.