courses_topics_get | SELECT | courseId, id | Returns a topic. This method returns the following error codes: PERMISSION_DENIED if the requesting user is not permitted to access the requested course or topic, or for access errors. INVALID_ARGUMENT if the request is malformed. * NOT_FOUND if the requested course or topic does not exist. |
courses_topics_list | SELECT | courseId | Returns the list of topics that the requester is permitted to view. This method returns the following error codes: PERMISSION_DENIED if the requesting user is not permitted to access the requested course or for access errors. INVALID_ARGUMENT if the request is malformed. * NOT_FOUND if the requested course does not exist. |
courses_topics_create | INSERT | courseId | Creates a topic. This method returns the following error codes: PERMISSION_DENIED if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. INVALID_ARGUMENT if the request is malformed. * NOT_FOUND if the requested course does not exist. |
courses_topics_delete | DELETE | courseId, id | Deletes a topic. This method returns the following error codes: PERMISSION_DENIED if the requesting user is not allowed to delete the requested topic or for access errors. FAILED_PRECONDITION if the requested topic has already been deleted. * NOT_FOUND if no course or topic exists with the requested ID. |
courses_topics_patch | EXEC | courseId, id | Updates one or more fields of a topic. This method returns the following error codes: PERMISSION_DENIED if the requesting developer project did not create the corresponding topic or for access errors. INVALID_ARGUMENT if the request is malformed. * NOT_FOUND if the requested course or topic does not exist |