PERMISSION_DENIED jika pengguna yang meminta tidak diizinkan membuat alias atau untuk error akses.
NOT_FOUND jika kursus tidak ada.
ALREADY_EXISTS jika alias sudah ada.
FAILED_PRECONDITION jika alias yang diminta tidak relevan untuk pengguna atau kursus yang meminta (misalnya, jika pengguna di luar domain mencoba mengakses alias cakupan domain).
Permintaan HTTP
POST https://classroom.googleapis.com/v1/courses/{courseId}/aliases
[[["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 an alias for a specified course using a POST request."],["Requires a `courseId` path parameter and a request body containing a `CourseAlias` object."],["Returns a newly created `CourseAlias` object upon successful execution."],["May return errors like `PERMISSION_DENIED`, `NOT_FOUND`, `ALREADY_EXISTS`, or `FAILED_PRECONDITION` depending on the context."],["Needs authorization with the `https://www.googleapis.com/auth/classroom.courses` scope."]]],[]]