如何使用 Google Classroom API 删除/编辑旧附件

发布于 2025-01-11 11:52:33 字数 284 浏览 2 评论 0原文

使用谷歌课堂 API 我可以修改附件 每次我调用该方法时

courses.courseWork.studentSubmissions.modifyAttachments

,附件都会连接到之前附加的文件。

我的问题是如何删除我意外添加或想要替换的附件? 就像课堂界面允许您在添加附件后将其删除一样

Google 课堂界面

using the google classroom api i am able to modify attachments
and everytime i call the method

courses.courseWork.studentSubmissions.modifyAttachments

but the attachments just concatenate to the previously attached files.

my question is how can i remove an attachment that i accidently added or that i want to replace?
just like the classroom UI enables you to remove an attachment after you added it

Google classroom UI

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

秋凉 2025-01-18 11:52:33

不幸的是,没有可用的功能可以使用 Google Classroom API 删除附件。这是 API 的产品限制,可以在未来的开发中推广[1]。然后,您的想法将可供社区的其他成员浏览和投票。根据业务影响,Google 产品工程师通常会将其投入生产。

[1] https://developers.google.com/classroom/support#missing_features

Unfortunately there is no feature available to remove attachments with Google Classroom API . This is a product limitation for the API and can be promoted for future development [1]. Your idea will then be available for other members of the community to browse and vote on. Depending on the business impact Google product engineers typically roll out into production.

[1] https://developers.google.com/classroom/support#missing_features

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文