Pages
Returns data on various page types such as quizzes, surveys and flipcards within a course object. Data returned can be controlled per page type. The results of this query can be affected by providing an authToken header to set a user for the operation.
Pages(
identifiers: [String!]!
): [PageResource]!
Directives
complexity
This has an additional cost of
1
points peridentifiers
.
authAccess
This requires the current user to be in
STUDENT
role.
Arguments
Pages.identifiers
● [String!]!
non-null scalar
Type
PageResource
union
Examples
Query:
Pages($identifiers: [String!]!) {
Pages(identifiers: $identifiers) {
... on TextPage {
...TextPageFragment
}
... on QuizPage {
...QuizPageFragment
}
... on ListRollPage {
...ListRollPageFragment
}
... on TestPage {
...TestPageFragment
}
... on SurveyPage {
...SurveyPageFragment
}
... on TallyPage {
...TallyPageFragment
}
... on PresentationPage {
...PresentationPageFragment
}
... on AssignmentPage {
...AssignmentPageFragment
}
... on SlideshowPage {
...SlideshowPageFragment
}
... on WorkbookPage {
...WorkbookPageFragment
}
... on PDFViewerPage {
...PDFViewerPageFragment
}
... on VideoPage {
...VideoPageFragment
}
... on ScormPage {
...ScormPageFragment
}
... on ArticlePage {
...ArticlePageFragment
}
... on MeetingPage {
...MeetingPageFragment
}
... on FlipCardPage {
...FlipCardPageFragment
}
... on MatchPairPage {
...MatchPairPageFragment
}
... on AudioPage {
...AudioPageFragment
}
... on RecipePage {
...RecipePageFragment
}
... on NotebookPage {
...NotebookPageFragment
}
... on HighlightZonePage {
...HighlightZonePageFragment
}
... on GeneralPage {
...GeneralPageFragment
}
}
}
Variables:
{
"identifiers": [
"abc123"
]
}
Response:
{
"data": {
"Pages": [
"TextPage"
]
}
}