Google 课堂 API 参考文献不要求描述标题

Google Classroom API References doesn't ask for Description Heading

我正在使用 API 创建一个 google 教室。 Google 教室 API 参考中有一个名为描述标题的字段,但是当我创建教室时,它不要求描述标题。

在哪里可以找到和更改说明标题的值?

您可以尝试使用 Method: courses.create 然后您可以从请求正文示例中添加:

Request body:
     {
          id:
          name:
          room:
          section:
          description:
          descriptionHeading: // add the description heading here
     }

descriptionHeading string

Optional heading for the description. For example, "Welcome to 10th Grade Biology." If set, this field must be a valid UTF-8 string and no longer than 3600 characters.