Ekin oluşturulacağı Announcement, CourseWork veya CourseWorkMaterial öğesinin tanımlayıcısı. Bu alan zorunludur ancak postId öğesinden taşıma işlemi devam ederken bu şekilde işaretlenmez.
Sorgu parametreleri
Parametreler
postId (deprecated)
string
İsteğe bağlı. Kullanımdan kaldırıldı, bunun yerine itemId politikasını kullanın.
addOnToken
string
İsteğe bağlı. İsteği yetkilendiren jeton.
Kullanıcı, Classroom'dan eklentinin URL'sine yönlendirildiğinde jeton, sorgu parametresi olarak iletilir.
Bu yetkilendirme jetonu Classroom'da ek oluşturmak için gereklidir, iş ortağı öncelikli ek oluşturmak için isteğe bağlıdır. İş ortağı öncelikli ek oluşturma için sağlanmamışsa ve eki oluşturan geliştirici projeleri ile üst akış öğesi eşleşmiyorsa bir hata döndürür.
[[["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."],[[["Creates an add-on attachment under a post, requiring add-on permission to create attachments."],["Uses the `POST` method with the URL: `https://classroom.googleapis.com/v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments`."],["Requires path parameters for `courseId` (course identifier) and `itemId` (identifier of the item under which to create the attachment)."],["Includes optional query parameters: `addOnToken` (authorization token) and deprecated `postId` (use `itemId` instead)."],["Needs `https://www.googleapis.com/auth/classroom.addons.teacher` OAuth scope for authorization."]]],[]]