Course Learning Object
The POST /api/user/getloendpoint 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
-
