Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Scope GraphQL API represents an architectural and conceptual shift from the Scope REST APIs. You will likely encounter some new terminology in the GraphQL API reference docs.

Schema

A schema defines a GraphQL API's type system. It describes the complete set of possible data (objects, fields, relationships, everything) that a client can access. Calls from the client are validated and executed against the schema. A client can find information about the schema via introspection. A schema resides on the GraphQL API server. For more information, see "Discovering the Scope GraphQL API."

Field

A field is a unit of data you can retrieve from an object. As the official GraphQL docs say: "The GraphQL query language is basically about selecting fields on objects."

...

Node is a generic term for an object. You can look up a node directly, or you can access related nodes via a connection. If you specify a node that does not return a scalar, you must include subfields until all fields return scalars.

Discovering the Scope GraphQL API

GraphQL is introspective. This means you can query a GraphQL schema for details about itself.

...