Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 20171017225733
- // http://localhost:8000/api/contest/2
- {
- "success": 1,
- "data": {
- "id": 2,
- "title": "Тайтл тест",
- "description": "Дескрипшн тест",
- "photo": "http://localhost:8000/img/fotoupload/150801255274772.xlsx",
- "preview": "http://localhost:8000/img/fotoupload/150801255231865.xlsx",
- "firstName": null,
- "maxUsers": 5,
- "award": 1500,
- "category": "Online",
- "startTime": "2017-09-25 16:45:29",
- "endTime": "2017-09-25 16:45:29",
- "isActive": 1,
- "winner": null,
- "questionCount": 5
- },
- "test": [
- {
- "question": {
- "id": 9,
- "text": "天下兴亡,匹夫有责\"是哪位思想家的名言?",
- "test_id": 2,
- "answers": [
- {
- "answer": {
- "id": 33,
- "text": " 黄宗羲",
- "question_id": 9
- }
- },
- {
- "answer": {
- "id": 34,
- "text": " 顾炎武",
- "question_id": 9
- }
- },
- {
- "answer": {
- "id": 35,
- "text": " 王夫之",
- "question_id": 9
- }
- },
- {
- "answer": {
- "id": 36,
- "text": " 王充",
- "question_id": 9
- }
- }
- ]
- }
- },
- {
- "question": {
- "id": 10,
- "text": "Are you stupid?",
- "test_id": 2,
- "answers": [
- {
- "answer": {
- "id": 37,
- "text": "Yes",
- "question_id": 10
- }
- },
- {
- "answer": {
- "id": 38,
- "text": "No",
- "question_id": 10
- }
- },
- {
- "answer": {
- "id": 39,
- "text": "Mb",
- "question_id": 10
- }
- },
- {
- "answer": {
- "id": 40,
- "text": "Not sure",
- "question_id": 10
- }
- }
- ]
- }
- },
- {
- "question": {
- "id": 11,
- "text": "Are you stupid?",
- "test_id": 2,
- "answers": [
- {
- "answer": {
- "id": 41,
- "text": "Yes",
- "question_id": 11
- }
- },
- {
- "answer": {
- "id": 42,
- "text": "No",
- "question_id": 11
- }
- },
- {
- "answer": {
- "id": 43,
- "text": "Mb",
- "question_id": 11
- }
- },
- {
- "answer": {
- "id": 44,
- "text": "Not sure",
- "question_id": 11
- }
- }
- ]
- }
- },
- {
- "question": {
- "id": 12,
- "text": "Are you stupid?",
- "test_id": 2,
- "answers": [
- {
- "answer": {
- "id": 45,
- "text": "Yes",
- "question_id": 12
- }
- },
- {
- "answer": {
- "id": 46,
- "text": "No",
- "question_id": 12
- }
- },
- {
- "answer": {
- "id": 47,
- "text": "Mb",
- "question_id": 12
- }
- },
- {
- "answer": {
- "id": 48,
- "text": "Not sure",
- "question_id": 12
- }
- }
- ]
- }
- },
- {
- "question": {
- "id": 13,
- "text": "Are you stupid?",
- "test_id": 2,
- "answers": [
- {
- "answer": {
- "id": 49,
- "text": "Yes",
- "question_id": 13
- }
- },
- {
- "answer": {
- "id": 50,
- "text": "No",
- "question_id": 13
- }
- },
- {
- "answer": {
- "id": 51,
- "text": "Mb",
- "question_id": 13
- }
- },
- {
- "answer": {
- "id": 52,
- "text": "Not sure",
- "question_id": 13
- }
- }
- ]
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement