Authorization: Bearer ********************
curl --location --request GET 'https://api.msaaq.com/v1/admin/quizzes' \
--header 'Accept: application/json' \
--header 'X-Tenant: academy.msaaq.com' \
--header 'Content-Type: text/plain' \
--data-raw ''
{
"data": [
{
"id": 0,
"title": "string",
"duration": 0,
"randomised": true,
"passing_score": 0,
"show_results_at_end": true,
"show_results": true,
"allow_question_navigation": true,
"questions_count": 0,
"results_count": 0,
"status": "publish",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"questions": [
{
"id": 0,
"title": "string",
"explanation": "string",
"type": "true_false",
"status": "published",
"sort": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"answers_count": 0,
"choices": [
{
"id": 0,
"content": "string",
"credited": true,
"sort": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"question": {}
}
],
"answers": [
{
"id": 0,
"question_id": 0,
"status": "correct",
"answer": {
"choice_id": 0
},
"question": {}
}
],
"quiz": {},
"actions": {
"delete": true,
"archive": true
}
}
],
"question_banks": [
{
"id": 0
}
],
"academy": "string",
"user": {
"id": 0,
"member": "string",
"first_name": "string",
"last_name": "string",
"name": "string",
"english_name": "string",
"username": "string",
"avatar": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"bio": "string",
"job_title": "string",
"education": "string",
"url": "http://example.com",
"courses_count": 0,
"products_count": 0,
"total_purchases": 0,
"orders_count": 0,
"national_id": 0,
"country_code": "string",
"currency": "string",
"gender": "string",
"skills": [
"string"
],
"email": "user@example.com",
"phone_code": 0,
"phone": "string",
"international_phone": "string",
"dob": "2019-08-24T14:15:22Z",
"email_verified_at": "2019-08-24T14:15:22Z",
"phone_verified_at": "2019-08-24T14:15:22Z",
"is_verified": true,
"status": "active",
"newsletter_status": "subscribed",
"newsletter_subscribed_at": "2019-08-24T14:15:22Z",
"newsletter_unsubscribed_at": "2019-08-24T14:15:22Z",
"balance": 0,
"last_seen_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"segments": {
"id": 0,
"name": "string",
"icon": "string",
"tags": {
"id": "string",
"name": "string",
"members": [
{}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
},
"products": "string",
"courses": [
{
"id": 0,
"title": "string",
"url": "http://example.com",
"thumbnail": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"avg_rating": 0,
"sales": 0,
"publish_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "string"
}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
},
"tags": [
{
"id": "string",
"name": "string",
"members": [
{}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
}
],
"meta": {}
},
"course": {
"id": 0,
"title": "string",
"url": "http://example.com",
"checkout_url": "http://example.com",
"summary": "string",
"description": "string",
"intro_video": "string",
"outcomes": "string",
"thumbnail": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
}
},
"content": {
"id": 0,
"chapter_id": 0,
"title": 0,
"summary": "string",
"type": "video",
"premium": true,
"options": [
"string"
],
"icon": "heroicon-o-video-camera",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"chapter": "string",
"course": "string",
"comments": "string",
"attachments": "string",
"meta": {}
},
"chapter": {
"id": 0,
"course": {
"id": 0,
"title": "string",
"url": "http://example.com",
"checkout_url": "http://example.com",
"summary": "string",
"description": "string",
"intro_video": "string",
"outcomes": "string",
"thumbnail": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
}
},
"member": {
"id": 0,
"member": "string",
"first_name": "string",
"last_name": "string",
"name": "string",
"english_name": "string",
"username": "string",
"avatar": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"bio": "string",
"job_title": "string",
"education": "string",
"url": "http://example.com",
"courses_count": 0,
"products_count": 0,
"total_purchases": 0,
"orders_count": 0,
"national_id": 0,
"country_code": "string",
"currency": "string",
"gender": "string",
"skills": [
"string"
],
"email": "user@example.com",
"phone_code": 0,
"phone": "string",
"international_phone": "string",
"dob": "2019-08-24T14:15:22Z",
"email_verified_at": "2019-08-24T14:15:22Z",
"phone_verified_at": "2019-08-24T14:15:22Z",
"is_verified": true,
"status": "active",
"newsletter_status": "subscribed",
"newsletter_subscribed_at": "2019-08-24T14:15:22Z",
"newsletter_unsubscribed_at": "2019-08-24T14:15:22Z",
"balance": 0,
"last_seen_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"segments": {
"id": 0,
"name": "string",
"icon": "string",
"tags": {
"id": "string",
"name": "string",
"members": [
{}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
},
"products": "string",
"courses": [
{
"id": 0,
"title": "string",
"url": "http://example.com",
"thumbnail": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"avg_rating": 0,
"sales": 0,
"publish_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "string"
}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
},
"tags": [
{
"id": "string",
"name": "string",
"members": [
{}
],
"members_count": 0,
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
}
],
"meta": {}
},
"title": "string",
"sort": 0,
"type": "chapter",
"drip_enabled": true,
"drip_after": "string",
"drip_type": "string",
"dripped_at": "2019-08-24",
"drip_email_subject": "string",
"drip_email_content": "string",
"hidden": true,
"instructors": [
{
"id": 0,
"type": "user",
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"username": "string",
"email": "user@example.com",
"user_academy_status": "active",
"email_verified": true,
"phone_verified": true,
"country_code": "string",
"phone_code": 0,
"phone": 0,
"international_phone": 0,
"last_seen_at": "2019-08-24T14:15:22Z",
"phone_verification_checkpoint": "2019-08-24T14:15:22Z",
"avatar": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"url": "http://example.com",
"size": 0,
"mime": "string"
},
"roles": [
{
"id": 0,
"nickname": "string",
"name": "string",
"permissions": [
{
"id": 0,
"name": "string"
}
],
"created_at": "string",
"updated_at": "string"
}
],
"meta": [
"string"
],
"has_google_calendar": true,
"": "2019-08-24T14:15:22Z",
"freshchat_id": 0,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"session_details": {
"session_datetime": "string",
"session_duration": "string",
"total_attendance_percentage": "string",
"is_upcoming_session": "string"
},
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"contents": [
{
"id": 0,
"chapter_id": 0,
"title": 0,
"summary": "string",
"type": "video",
"premium": true,
"options": [
"string"
],
"icon": "heroicon-o-video-camera",
"updated_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"chapter": "string",
"course": "string",
"comments": "string",
"attachments": "string",
"meta": {}
}
]
},
"actions": {
"archive": true,
"delete": true
}
}
],
"links": {
"first": "http://example.com",
"last": "string",
"next": "string",
"previous": "string"
},
"meta": {
"current_page": 0,
"filters": [
"string"
],
"from": 0,
"last_page": 0
}
}