Skip to main content

UserArchives

Returns content that the user has archived. The results of this query can be affected by providing an authToken header to set a user for the operation.

UserArchives: [ArchivedContent!]

Directives

authAccess

This requires the current user to be in STUDENT role.

Type

ArchivedContent object

Examples

Run in Postman

Query:

UserArchives {
UserArchives {
id
company {
...CompanyFragment
}
user
resource
resourceType
status
archivedAt
name
reinstatable
waitlistActive
}
}

Variables:

{ul}

Response:

{
"data": {
"UserArchives": [
{
"id": "58ccb96c-8e90-4464-86e0-f284442981df",
"company": "Company",
"user": "58ccb96c-8e90-4464-86e0-f284442981df",
"resource": "58ccb96c-8e90-4464-86e0-f284442981df",
"resourceType": "xyz789",
"status": "xyz789",
"archivedAt": "2024-06-20T16:58:58.782Z",
"name": "xyz789",
"reinstatable": false,
"waitlistActive": true
}
]
}
}