Belirli bir yayın bağlamında Classroom eklentileri için ekle ilgili meta veriler.
JSON gösterimi
{"courseId": string,"postId": string,"itemId": string,"supportsStudentWork": boolean,// Union field context can be only one of the following:"studentContext": {object (StudentContext)},"teacherContext": {object (TeacherContext)}// End of list of possible types for union field context.}
Alanlar
courseId
string
Sabit. Kursun tanımlayıcısı.
postId (deprecated)
string
Değişmez. Kullanımdan kaldırıldı, bunun yerine itemId politikasını kullanın.
itemId
string
Sabit. Ekin eklendiği Announcement, CourseWork veya CourseWorkMaterial öğesinin tanımlayıcısıdır.
supportsStudentWork
boolean
İsteğe bağlı. Yayında öğretmenin öğrenci çalışmalarını ve geri verilen notları görmesine izin verilip verilmediği.
İstekte bulunan kullanıcının öğretmen olarak rolüne karşılık gelen eklenti bağlamı. Bu özelliğin bulunması, istek gönderen kullanıcının kursta öğretmen olduğunu gösterir.
StudentContext
İstekte bulunan kullanıcı bir öğrenciyse role özgü bağlam.
JSON gösterimi
{"submissionId": string}
Alanlar
submissionId
string
Kullanıcının gönderim kimliğinin, notların geri gösterimi için kullanılmasını ve öğrencinin çalışmasını öğretmene gösterirken öğrenciyi tanımlamasını isteme. Bu değer tam olarak supportsStudentWorktrue olduğunda ayarlanır.
TeacherContext
Bu türde alan yok.
İstekte bulunan kullanıcı bir öğretmense role özgü bağlam.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-02-27 UTC."],[[["Add-on context provides metadata for Classroom add-ons related to a specific post, including course and post identifiers."],["The context indicates whether the post supports student work and allows for grade passback."],["Depending on the user's role, the context includes either `studentContext` or `teacherContext` with relevant information."],["`studentContext` contains the student's submission ID for grade passback when `supportsStudentWork` is true."],["`teacherContext` currently has no fields but signifies the requesting user is a teacher."]]],[]]