GraphqlResponse
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation |
{
"data": {
object
},
"errors": [
{
object (GraphqlError )
}
]
} |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[null,null,["Last updated 2024-09-20 UTC."],[],[],null,["# GraphqlResponse\n\nThe GraphQL response from Firebase Data Connect.\n\nIt strives to match the GraphQL over HTTP spec. Note: Firebase Data Connect always responds with `Content-Type:\napplication/json`. \u003chttps://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#body\u003e\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------|\n| ``` { \"data\": { object }, \"errors\": [ { object (/docs/reference/data-connect/rest/v1beta/GraphqlError) } ] } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `data` | `object (`[Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct)` format)` The result of the execution of the requested operation. If an error was raised before execution begins, the data entry should not be present in the result. (a request error: \u003chttps://spec.graphql.org/draft/#sec-Errors.Request-Errors\u003e) If an error was raised during the execution that prevented a valid response, the data entry in the response should be null. (a field error: \u003chttps://spec.graphql.org/draft/#sec-Errors.Error-Result-Format\u003e) |\n| `errors[]` | `object (`[GraphqlError](/docs/reference/data-connect/rest/v1beta/GraphqlError)`)` Errors of this response. If the data entry in the response is not present, the errors entry must be present. It conforms to \u003chttps://spec.graphql.org/draft/#sec-Errors\u003e. |"]]