Resource: Topic
Topic created by a teacher for the course
JSON representation |
---|
{ "courseId": string, "topicId": string, "name": string, "updateTime": string } |
Fields | |
---|---|
courseId |
Identifier of the course. Read-only. |
topicId |
Unique identifier for the topic. Read-only. |
name |
The name of the topic, generated by the user. Leading and trailing whitespaces, if any, are trimmed. Also, multiple consecutive whitespaces are 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 |
The time the topic was last updated by the system. Read-only. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Creates a topic. |
|
Deletes a topic. |
|
Returns a topic. |
|
Returns the list of topics that the requester is permitted to view. |
|
Updates one or more fields of a topic. |