REST Resource: courses.topics

Resource: Topic

Topic created by a teacher for the course

JSON representation
{
  "courseId": string,
  "topicId": string,
  "name": string,
  "updateTime": string
}
Fields
courseId

string

Identifier of the course.

Read-only.

topicId

string

Unique identifier for the topic.

Read-only.

name

string

The name of the topic, generated by the user. Leading and trailing whitespaces, if any, will be trimmed. Also, multiple consecutive whitespaces will be collapsed into one inside the name. The result must be a non-empty string. Topic names are case sensitive, and must be no longer than 100 characters.

updateTime

string (Timestamp format)

The time the topic was last updated by the system.

Read-only.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Methods

create

Creates a topic.

delete

Deletes a topic.

get

Returns a topic.

list

Returns the list of topics that the requester is permitted to view.

patch

Updates one or more fields of a topic.