PERMISSION_DENIED jika pengguna yang meminta tidak diizinkan mengakses kursus yang diminta, membuat topik dalam kursus yang diminta, atau untuk error akses.
INVALID_ARGUMENT jika permintaan salah format.
NOT_FOUND jika kursus yang diminta tidak ada.
Permintaan HTTP
POST https://classroom.googleapis.com/v1/courses/{courseId}/topics
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-09-04 UTC."],[[["Creates a topic within a specified course using the provided request body data."],["Requires authorization with the `https://www.googleapis.com/auth/classroom.topics` scope."],["Returns a `Topic` object representing the newly created topic if successful, or an error code if unsuccessful."],["Utilizes a `POST` request with the course ID as a path parameter and the topic details in the request body."],["Potential error codes include `PERMISSION_DENIED`, `INVALID_ARGUMENT`, and `NOT_FOUND`."]]],[]]