Skip to main content

Course Trial

Introduction

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

Overview

Course Trial offers an opportunity to access, learn, and explore select course materials without incurring any cost. The aim is to provide prospective students with an overview of the course's content and quality. This new feature, relating to the data in the course curriculum and course status, needs some adjustments to maintain the paid content.

Repository

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

Database Schemas

tables

APIs

GET /user/coursestatustrial/$course_id

Function: To get the course curriculum with trial course flag information

App\Api\V1\Controllers\User\UserController@course_status_trial

POST /course/$slug/trial

Function: To save the courses included in the trial course

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

GET /course/$slug/user_status_trial/

Function: To get the user's course trial status

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