Queries

requests

Deprecated: Under development: only available to Soundtrack employees.

Requests touching any of targets, optionally narrowed by filter. A request with several targets is returned once. The viewer sees a request if they created it or hold the approver permission on one of its matched targets. Keyset pagination: every edge's cursor may be passed as after; first is clamped to 100 and first: 0 returns only total and pageInfo. Errors: FORBIDDEN when the viewer is not a user or lacks read on a target; BAD_USER_INPUT with extensions.exception.validationErrors for rejected input.

Arguments

after String

An edge cursor from a page with the same orderBy.

filter RequestFilterInput

Narrows the result; every field optional.

first Int!

Page size.

includeDescendants Boolean

Also match requests on every location and zone under an ACCOUNT target, and every zone under a LOCATION target. An approver on the account or location sees all of them. Defaults to true; pass false to match only the targets themselves.

orderBy RequestOrderByInput

Defaults to newest first.

targets [RequestTargetInput!]!

1-50 targets; the viewer needs read on each.

Type

RequestConnection!

A page of requests.