একটি নির্দিষ্ট পোস্টের প্রসঙ্গে ক্লাসরুম অ্যাড-অনগুলির জন্য সংযুক্তি-প্রাসঙ্গিক মেটাডেটা।
JSON প্রতিনিধিত্ব
{"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.}
ক্ষেত্র
courseId
string
অপরিবর্তনীয়। কোর্সের শনাক্তকারী।
postId (deprecated)
string
অপরিবর্তনীয়। অপ্রচলিত, পরিবর্তে itemId ব্যবহার করুন।
itemId
string
অপরিবর্তনীয়। Announcement শনাক্তকারী, CourseWork , বা CourseWorkMaterial যার অধীনে সংযুক্তি সংযুক্ত করা হয়েছে৷
supportsStudentWork
boolean
ঐচ্ছিক। পোস্টটি শিক্ষককে শিক্ষার্থীদের কাজ এবং পাসব্যাক গ্রেড দেখতে দেয় কিনা।
একজন শিক্ষক হিসাবে অনুরোধকারী ব্যবহারকারীর ভূমিকার সাথে সম্পর্কিত অ্যাড-অন প্রসঙ্গ। এর উপস্থিতি বোঝায় যে অনুরোধকারী ব্যবহারকারী কোর্সের একজন শিক্ষক।
ছাত্র প্রসঙ্গ
অনুরোধকারী ব্যবহারকারী একজন ছাত্র হলে ভূমিকা-নির্দিষ্ট প্রসঙ্গ।
JSON প্রতিনিধিত্ব
{"submissionId": string}
ক্ষেত্র
submissionId
string
ব্যবহারকারীর জমা দেওয়া আইডিটি গ্রেড পাসব্যাকের জন্য ব্যবহার করার জন্য এবং শিক্ষককে ছাত্রের কাজ দেখানোর সময় ছাত্রকে সনাক্ত করার জন্য অনুরোধ করা হচ্ছে। এটি ঠিক তখন সেট করা হয় যখন supportsStudentWorktrue হয়।
শিক্ষক প্রসঙ্গ
এই ধরনের কোন ক্ষেত্র নেই.
অনুরোধকারী ব্যবহারকারী শিক্ষক হলে ভূমিকা-নির্দিষ্ট প্রসঙ্গ।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [StudentContext](#StudentContext)\n - [JSON representation](#StudentContext.SCHEMA_REPRESENTATION)\n- [TeacherContext](#TeacherContext)\n\nAttachment-relevant metadata for Classroom add-ons in the context of a specific post.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"courseId\": string, \"postId\": string, \"itemId\": string, \"supportsStudentWork\": boolean, // Union field `context` can be only one of the following: \"studentContext\": { object (/workspace/classroom/reference/rest/v1/AddOnContext#StudentContext) }, \"teacherContext\": { object (/workspace/classroom/reference/rest/v1/AddOnContext#TeacherContext) } // End of list of possible types for union field `context`. } ``` |\n\n| Fields ||\n|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `courseId` | `string` Immutable. Identifier of the course. |\n| `postId` **(deprecated)** | `string` | This item is deprecated! Immutable. Deprecated, use `itemId` instead. |\n| `itemId` | `string` Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. |\n| `supportsStudentWork` | `boolean` Optional. Whether the post allows the teacher to see student work and passback grades. |\n| Union field `context`. `context` can be only one of the following: ||\n| `studentContext` | `object (`[StudentContext](/workspace/classroom/reference/rest/v1/AddOnContext#StudentContext)`)` Add-on context corresponding to the requesting user's role as a student. Its presence implies that the requesting user is a student in the course. |\n| `teacherContext` | `object (`[TeacherContext](/workspace/classroom/reference/rest/v1/AddOnContext#TeacherContext)`)` Add-on context corresponding to the requesting user's role as a teacher. Its presence implies that the requesting user is a teacher in the course. |\n\nStudentContext Role-specific context if the requesting user is a student.\n\n| JSON representation |\n|------------------------------------|\n| ``` { \"submissionId\": string } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `submissionId` | `string` Requesting user's submission id to be used for grade passback and to identify the student when showing student work to the teacher. This is set exactly when `supportsStudentWork` is `true`. |\n\nTeacherContext\n\nThis type has no fields.\nRole-specific context if the requesting user is a teacher."]]