Identifier of the Announcement, CourseWork, or CourseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from postId.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of AddOnAttachment.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-05 UTC."],[[["This method is deprecated and should be replaced with `course.announcements.addOnAttachments`, `course.courseWork.addOnAttachments`, or `course.courseWorkMaterials.addOnAttachments`."],["It retrieves an add-on attachment, requiring the requesting add-on to be the attachment's original creator."],["The request must specify the `courseId`, `attachmentId`, and `itemId` (identifying the parent Announcement, CourseWork, or CourseWorkMaterial)."],["Potential errors include `PERMISSION_DENIED`, `INVALID_ARGUMENT`, and `NOT_FOUND`."],["Authorization requires specific OAuth scopes related to Classroom add-ons."]]],[]]