如何使用 Google Classroom API 删除/编辑旧附件
使用谷歌课堂 API 我可以修改附件 每次我调用该方法时
courses.courseWork.studentSubmissions.modifyAttachments
,附件都会连接到之前附加的文件。
我的问题是如何删除我意外添加或想要替换的附件? 就像课堂界面允许您在添加附件后将其删除一样
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,没有可用的功能可以使用 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