UserArchivedContent
Returns a content type with information about current users archived content.
UserArchivedContent: [Content!]!
Directives
authAccess
This requires the current user to be in
STUDENT
role.
Type
Content
object
Examples
Query:
UserArchivedContent {
UserArchivedContent {
id
createdAt
updatedAt
expiresAt
courseGroup
title
sessionTitle
ribbon {
...RibbonFragment
}
slug
kind
metaTitle
language
metaDescription
displayCourse
displayCourseSlug
displayDate
availabilityStatus
asset
assetAltText
freeWithRegistration
priceInCents
suggestedRetailPriceInCents
alternativePricingType
alternativePricingRef
rating
description
sku
hasChildren
tags {
...TagFragment
}
status
customFields
authors
authorsAndInstructors
contentTypeLabel
contentTypeAssetAspectRatio
waitlistCount
seatsLimit
enrollmentCount
source
publishDate
courseStartDate
courseEndDate
enrollmentStartDate
enrollmentEndDate
timeZone
meetingStartDate
coursePresold
courseGracePeriodEnded
currentUserMayReschedule
isActive
embeddedEnabled
altDescriptionBody
hideCourseDescription
currentUserUnmetCoursePrerequisites
currentUserUnmetLearningPathPrerequisites
currentUserDueDate
url
waitlistingEnabled
waitlistingTriggered
canAddToQueue
bulkPurchasingEnabled
location {
...LocationFragment
}
state
acceptBadgeUrl
issuedAt
badgeUrl
credlyBadgeExpiresAt
imageUrl
badgeName
}
}
Variables:
{ul}
Response:
{
"data": {
"UserArchivedContent": [
{
"id": "ab740d4e-f094-4810-b491-319dff54bdd2",
"createdAt": "2024-08-21T18:16:47.178Z",
"updatedAt": "2024-02-21T18:16:47.178Z",
"expiresAt": "2024-08-21T18:16:47.178Z",
"courseGroup": "xyz789",
"title": "abc123",
"sessionTitle": "abc123",
"ribbon": "Ribbon",
"slug": "Slug",
"kind": "courseGroup",
"metaTitle": "abc123",
"language": "abc123",
"metaDescription": "abc123",
"displayCourse": "ab740d4e-f094-4810-b491-319dff54bdd2",
"displayCourseSlug": "Slug",
"displayDate": "2024-08-21T18:16:47.178Z",
"availabilityStatus": "abc123",
"asset": "abc123",
"assetAltText": "xyz789",
"freeWithRegistration": false,
"priceInCents": 447,
"suggestedRetailPriceInCents": 447,
"alternativePricingType": "membership",
"alternativePricingRef": 447,
"rating": 447,
"description": "abc123",
"sku": "abc123",
"hasChildren": false,
"tags": [
"Tag"
],
"status": "draft",
"customFields": "{}",
"authors": [
"abc123"
],
"authorsAndInstructors": [
"xyz789"
],
"contentTypeLabel": "xyz789",
"contentTypeAssetAspectRatio": "xyz789",
"waitlistCount": 447,
"seatsLimit": 447,
"enrollmentCount": 447,
"source": "abc123",
"publishDate": "2024-02-21T18:16:47.178Z",
"courseStartDate": "2024-02-21T18:16:47.178Z",
"courseEndDate": "2024-08-21T18:16:47.178Z",
"enrollmentStartDate": "2024-02-21T18:16:47.178Z",
"enrollmentEndDate": "2024-08-21T18:16:47.178Z",
"timeZone": "xyz789",
"meetingStartDate": "2024-02-21T18:16:47.178Z",
"coursePresold": true,
"courseGracePeriodEnded": true,
"currentUserMayReschedule": true,
"isActive": true,
"embeddedEnabled": true,
"altDescriptionBody": "xyz789",
"hideCourseDescription": false,
"currentUserUnmetCoursePrerequisites": [
"ab740d4e-f094-4810-b491-319dff54bdd2"
],
"currentUserUnmetLearningPathPrerequisites": [
"ab740d4e-f094-4810-b491-319dff54bdd2"
],
"currentUserDueDate": "2024-08-21T18:16:47.178Z",
"url": "AbsoluteOrRelativeURL",
"waitlistingEnabled": true,
"waitlistingTriggered": true,
"canAddToQueue": true,
"bulkPurchasingEnabled": false,
"location": "Location",
"state": "xyz789",
"acceptBadgeUrl": "xyz789",
"issuedAt": "2024-02-21T18:16:47.178Z",
"badgeUrl": "abc123",
"credlyBadgeExpiresAt": "2024-02-21T18:16:47.178Z",
"imageUrl": "xyz789",
"badgeName": "xyz789"
}
]
}
}