with more than one certificate page
GET /api/v1/course_progresses/issued_certificates
Parameters
| Name |
Description |
|
course_id
|
Id of course for enrollments
|
|
certificate_page_id
|
Id of course for enrollments
|
|
id
|
Id of course progress
|
Request
Headers
Route
GET /api/v1/course_progresses/issued_certificates?certificate_page_id=1815
Query Parameters
certificate_page_id: 1815
cURL
curl "http://localhost:3000/api/v1/course_progresses/issued_certificates?certificate_page_id=1815" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: AsPwNPQ913_Dh--W9zRxRyHEY-8WLCx-dQ" \
-H "X-Api-Email: user-461@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"1815": [
{
"id": 43,
"user_id": 821,
"school_id": 394,
"course_id": 227,
"is_active": true,
"has_full_access": false,
"percent_complete": 0,
"enrolled_at": "2019-10-31T22:04:58Z",
"created_at": "2019-10-31T22:04:58Z",
"updated_at": "2019-10-31T22:04:58Z",
"completed_at": null,
"certificate_page_id": 1815,
"certificate_serial_number": "CERT1",
"certificate_issued_at": "2019-10-31T22:04:58Z"
}
]
}