Skip to main content
Google Workspace
  • Google Workspace
Home Google Classroom All products
  • Google Workspace apps
  • Admin console
  • Cloud Search
  • Gmail
  • Google Calendar
  • Google Chat
  • Google Classroom
  • Google Docs
  • Google Drive
  •  
  • Google Forms
  • Google Keep
  • Google Meet
  • Google Sheets
  • Google Sites
  • Google Slides
  • Google Tasks
  • Google Vault
  • Extend, automate & share
  • Add-ons
  • Apps Script
  • Chat apps
  • Drive apps
  • Marketplace
Resources
  • Tools
  • Admin console
  • Apps Script dashboard
  • Google Cloud console
  • APIs Explorer
  • Card Builder
  • Training & support
  • How to get started
  • Codelabs
  • Developer support
  • Updates
  • Blog
  • Developer Previews
  • Newsletter
  • X (Twitter)
  • YouTube
/
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
  • Google Classroom
Overview Guides Reference Support
Google Workspace
  • Google Workspace
  • Home
  • Google Classroom
    • Overview
    • Guides
    • Reference
    • Support
  • All products
    • More
  • Resources
    • More
  • Overview
  • REST Resources
  • courses
    • Overview
    • checkAddOnCreationEligibility
    • checkGradingPeriodsSetupEligibility
    • create
    • delete
    • get
    • getGradingPeriodSettings
    • list
    • patch
    • update
    • updateGradingPeriodSettings
  • courses.aliases
    • Overview
    • create
    • delete
    • list
  • courses.announcements
    • Overview
    • create
    • delete
    • get
    • getAddOnContext
    • list
    • modifyAssignees
    • patch
  • courses.announcements.addOnAttachments
    • Overview
    • create
    • delete
    • get
    • list
    • patch
  • courses.courseWork
    • Overview
    • create
    • delete
    • get
    • getAddOnContext
    • list
    • modifyAssignees
    • patch
  • courses.courseWork.addOnAttachments
    • Overview
    • create
    • delete
    • get
    • list
    • patch
  • courses.courseWork.addOnAttachments.studentSubmissions
    • Overview
    • get
    • patch
  • courses.courseWork.rubrics
    • Overview
    • create
    • delete
    • get
    • list
    • patch
  • courses.courseWork.studentSubmissions
    • Overview
    • get
    • list
    • modifyAttachments
    • patch
    • reclaim
    • return
    • turnIn
  • courses.courseWorkMaterials
    • Overview
    • create
    • delete
    • get
    • getAddOnContext
    • list
    • patch
  • courses.courseWorkMaterials.addOnAttachments
    • Overview
    • create
    • delete
    • get
    • list
    • patch
  • courses.posts
    • Overview
    • getAddOnContext
  • courses.posts.addOnAttachments
    • Overview
    • create
    • delete
    • get
    • list
    • patch
  • courses.posts.addOnAttachments.studentSubmissions
    • Overview
    • get
    • patch
  • courses.students
    • Overview
    • create
    • delete
    • get
    • list
  • courses.teachers
    • Overview
    • create
    • delete
    • get
    • list
  • courses.topics
    • Overview
    • create
    • delete
    • get
    • list
    • patch
  • invitations
    • Overview
    • accept
    • create
    • delete
    • get
    • list
  • registrations
    • Overview
    • create
    • delete
  • userProfiles
    • Overview
    • checkUserCapability
    • get
  • userProfiles.guardianInvitations
    • Overview
    • create
    • get
    • list
    • patch
  • userProfiles.guardians
    • Overview
    • delete
    • get
    • list
  • Types
  • AddOnContext
  • AssigneeMode
  • CourseWorkType
  • Date
  • DriveFile
  • DriveFolder
  • Form
  • GradeCategory
  • GradingPeriodSettings
  • IndividualStudentsOptions
  • Link
  • ListAddOnAttachmentsResponse
  • Material
  • ModifyIndividualStudentsOptions
  • PreviewVersion
  • SubmissionState
  • TimeOfDay
  • YouTubeVideo
  • Client library reference
  • Browser
  • Go
  • Java
    • Core library
    • API library
  • .NET
    • Core library
    • API library
  • Node.js
  • PHP
  • Python
    • Core library
    • API library
  • Ruby
  • Other reference
  • Access preview APIs
  • Standard query parameters
  • Usage limits
  • Downloads
  • Client libraries with User eligibility support
  • Google Workspace apps
  • Admin console
  • Cloud Search
  • Gmail
  • Google Calendar
  • Google Chat
  • Google Classroom
  • Google Docs
  • Google Drive
  •  
  • Google Forms
  • Google Keep
  • Google Meet
  • Google Sheets
  • Google Sites
  • Google Slides
  • Google Tasks
  • Google Vault
  • Extend, automate & share
  • Add-ons
  • Apps Script
  • Chat apps
  • Drive apps
  • Marketplace
  • Tools
  • Admin console
  • Apps Script dashboard
  • Google Cloud console
  • APIs Explorer
  • Card Builder
  • Training & support
  • How to get started
  • Codelabs
  • Developer support
  • Updates
  • Blog
  • Developer Previews
  • Newsletter
  • X (Twitter)
  • YouTube
Google Classroom add-ons are now generally available to developers! Please see the add-ons documentation for more information.
  • Home
  • Google Workspace
  • Google Classroom
  • Reference

REST Resource: courses.posts

  • Resource
  • Methods

Resource

There is no persistent data associated with this resource.

Methods

getAddOnContext

Gets metadata for Classroom add-ons in the context of a specific post.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-04-17 UTC.

  • Blog Blog
    Read the Google Workspace Developers blog
  • Google Classroom Blog Google Classroom Blog
    Read the Google Classroom blog
  • Stack Overview Stack Overview
    Ask questions with the google-classroom tag
  • file_download
    Client libraries
    Download a client library for your preferred language
  • Release notes Release notes
    See new features and behavior changes
  • Google Workspace for Developers

    • Platform overview
    • Developer products
    • Developer support
    • Terms of Service
  • Tools

    • Admin console
    • Apps Script Dashboard
    • Google Cloud console
    • APIs Explorer
  • Connect

    • Blog
    • Newsletter
    • X (Twitter)
    • YouTube
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Manage cookies
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어