Optional$overrideOptionalactiveIndicates whether the API can serve requests. Defaults to true.
OptionalapplicationThe top-level namespace in the query envelope, as in { xSncMyApp { myApi { ... } } }. Derived from the application scope; only honored in global scope, where it falls back to now. Must be a valid GraphQL name, 40 characters or fewer.
OptionalcontextualThe maximum path depth at which field-level path ACLs are enforced. Depth counts every segment of the ACL path, including the two envelope segments, so /xSncMyApp/myApi/items/cost is depth 4. Defaults to 4, which covers top-level and second-level fields.
OptionalenforceSchema-gate ACLs (sys_security_acl) that control access to the whole API. Accepts ACL sys_ids or Acl references. Field-level path ACLs are standalone Acl({ type: 'graphql' }) records, not set here.
The name of the GraphQL API.
The API namespace used in the query envelope and in runtime ACL paths (for example myApi in { xSncMyApp { myApi { ... } } }). Must be a valid GraphQL name, unique among the APIs in its application namespace.
OptionalprotectionControls edit/view access for other developers after the application is installed.
OptionalrequiresIf true, the schema-gate ACLs in enforceAcl are enforced. Defaults to true.
OptionalrequiresIf true, callers must be authenticated. Defaults to true.
OptionalrequiresIf true, callers must hold the snc_internal role. Defaults to true.
OptionalresolversResolvers that fetch field data, each bound to one or more schema paths.
The schema definition language (SDL) for the API. Inline, or Now.include('./schema.graphql'). The platform compiles it on insert.
OptionaltypeType resolvers for the unions and interfaces in the schema.
Set properties not directly supported by this API.