Objects

AddToLibraryRequest

Request to add items to the target account's library.

Fields

completedAt DateTime

When the last target left PENDING; null while the request is open.

createdAt DateTime!

When it was created.

id ID!

The request's id.

payload AddToLibraryRequestPayload!

What was asked for.

permissions [RequestPermission!]!

Union of the targets' permissions plus CANCEL for the requester (same shape as Account.permissions).

requestedBy RequestUser

Who created the request; null when the user no longer exists.

requesterNote String

Free-text note from the requester.

status RequestStatus!

Aggregate of the targets' statuses.

subject RequestSubject

What the request is about, if it has a single identifiable subject.

targets [RequestTarget!]!

Every target with its own status and decision.

type RequestType!

Selects the concrete type and its payload.

updatedAt DateTime!

Last change to the request or any of its targets.

Interfaces

Request