Skip to main content

Course Page Reguler

Introduction

This document provides information about the APIs available on the Course Page.

Overview

This documentation provides guidance on the APIs available for use on the Course Page. These APIs allow integration with the page to access and manipulate course-related data.

Respository

https://gitlab.com/arkademi/arkademi-backend-api-course/

Database Scemas

course page

APIs

caution

In swagger, change the $ sign to {}.

GET /course/$id

Function: To get course detail's
id: Course id

App\Api\V1\Controllers\Course\CourseController@show

GET /course/$id/curriculums

Function: To take the curriculum of the course

App\Api\V1\Controllers\Course\CourseController@showcurriculums

GET /course/category/$id/coursesids

Function: To get similar course class data to the selected course page
id: Course id
urutan: By default, the data is presented by the time the course was posted in order from newest to oldest. However, there are different data presentation options as follows:

  • terbaru: The data is sorted from newest to oldest based on the training posting date.
  • abjad: The data is sorted by courses name in order from A to Z.
  • tanggal-mulai: The data is sorted by training posting date in order from oldest to newest (ascend).
App\Api\V1\Controllers\Course\CourseController@get_category_postsids

GET /course/$id/reviews

Function: To get reviews of a course
id: Course ID
page: Pagination

App\Api\V1\Controllers\Course\CourseController@showreviews

GET /course/$slug/user_status

Function: To check the user's enrollment status in the course

App\Api\V1\Controllers\Course\CourseController@show_course_user_status

GET /course/$slug/revamp

Function: To get class details that are only available for classes with the courseRevamp flag

App\Api\V1\Controllers\Course\CourseController@course_revamp

GET /course/$slug/jrc

Function: To get class details that are only contained in classes with the jrc flag

App\Api\V1\Controllers\Course\CourseController@jrc

GET /loker/kalibrr/get/$course_id

Function: To fetch job vacancy data from kalibrr job portal

App\Api\V1\Controllers\Course\LokerController@getKalibrr