Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add Learning Object to Collection Input

No description

input AddLearningObjectToCollectionInput {
  collectionId: String!
  itemType: CollectionItemType!
  title: String
  body: String
  name: String
  externalUrl: String
  newTab: Boolean
  newQuizzesQuizType: NewQuizzesQuizType
  newQuizzesAnonymousSubmission: Boolean
}

Fields

AddLearningObjectToCollectionInput.collectionId ● String!

Learning Library Collection ID

AddLearningObjectToCollectionInput.itemType ● CollectionItemType!

Type of learning object to add

AddLearningObjectToCollectionInput.title ● String

Title of the item. Required for EXTERNAL_URL and EXTERNAL_TOOL. Optional for PAGE (defaults to "New Page").

AddLearningObjectToCollectionInput.body ● String

Body content of the page. Required for PAGE items.

AddLearningObjectToCollectionInput.name ● String

Name of the item. Required for QUIZ and ASSIGNMENT items.

AddLearningObjectToCollectionInput.externalUrl ● String

External URL. Required for EXTERNAL_URL and EXTERNAL_TOOL items.

AddLearningObjectToCollectionInput.newTab ● Boolean

Whether the URL should open in a new tab. Required for EXTERNAL_URL and EXTERNAL_TOOL items.

AddLearningObjectToCollectionInput.newQuizzesQuizType ● NewQuizzesQuizType

New Quizzes quiz type for QUIZ items. Defaults to GRADED_QUIZ on the Canvas side when omitted.

AddLearningObjectToCollectionInput.newQuizzesAnonymousSubmission ● Boolean

Whether the New Quiz allows anonymous submissions. Only applies when itemType is QUIZ. Canvas defaults to false when omitted.

Member Of

addLearningObjectToCollection mutation

Last updated

Was this helpful?