Resource: AddOnAttachment
An add-on attachment on a post.
JSON representation |
---|
{ "courseId": string, "postId": string, "itemId": string, "id": string, "title": string, "teacherViewUri": { object ( |
Fields | |
---|---|
course |
Immutable. Identifier of the course. |
postId |
Immutable. Deprecated, use |
item |
Immutable. Identifier of the |
id |
Immutable. Classroom-assigned identifier for this attachment, unique per post. |
title |
Required. Title of this attachment. The title must be between 1 and 1000 characters. |
teacher |
Required. URI to show the teacher view of the attachment. The URI will be opened in an iframe with the |
student |
Required. URI to show the student view of the attachment. The URI will be opened in an iframe with the |
student |
URI for the teacher to see student work on the attachment, if applicable. The URI will be opened in an iframe with the |
due |
Date, in UTC, that work on this attachment is due. This must be specified if |
due |
Time of day, in UTC, that work on this attachment is due. This must be specified if |
max |
Maximum grade for this attachment. Can only be set if |
copy |
Output only. Identifiers of attachments that were previous copies of this attachment. If the attachment was previously copied by virtue of its parent post being copied, this enumerates the identifiers of attachments that were its previous copies in ascending chronological order of copy. |
Methods |
|
---|---|
|
Creates an add-on attachment under a post. |
|
Deletes an add-on attachment. |
|
Returns an add-on attachment. |
|
Returns all attachments created by an add-on under the post. |
|
Updates an add-on attachment. |