Course Learning Object

View as Markdown
The `POST /api/user/getlo`endpoint is used to retrieve learning objects for a course based on the course ID. ### Request - Method: POST - Base URL: {{baseUrl}} - Path: /api/user/userStats - Headers: - Content-Type: application/x-www-form-urlencoded - Body: - `idst` (text): User ID - `course_id` (text): The course ID for which details are to be retrieved. - `auth` (string): Authorization token ### Response - `success` (boolean): Indicates the success of the request. - `lo_course` (array): an array of learning objects associated with the course. Each item structure is: - `name_lo`: Name of learning object - `name_course:` Course name associated with the learning object. - `id_item:` unique identifier for the learning object - `id_course`: the course ID - `visible:` status to determine if the learning object is visible. - `type:` type of learning object. - `src`: if applcable, points to the storage location for the learning object. - `lo_status:` learning object status

Request

This endpoint expects an object.
authstringRequired
idststringRequired
course_idstringRequired

Response headers

Keep-Alivestring
X-Powered-Bystring

Response

OK
successboolean
lo_courselist of objects