proshanta

Get Questions

Apr 23rd, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.52 KB | None | 0 0
  1. {
  2.   "data": [
  3.     {
  4.       "id": 1,
  5.       "slug": "350925",
  6.       "course": 2,
  7.       "course_slug": "advanced-angular-4-development",
  8.       "title": "Hello",
  9.       "body": "<p>Hello there</p>",
  10.       "created_at_human": "11 minutes ago",
  11.       "updated_at_human": null,
  12.       "user": {
  13.         "id": 3,
  14.         "name": "Ofelia Larson",
  15.         "email": "[email protected]",
  16.         "country_prefix": "+880",
  17.         "phone": "1671331916",
  18.         "image": "https://esuat.xyz/uploads/avatars/59e779f4b4ce9.png"
  19.       },
  20.       "answers": [
  21.         {
  22.           "id": 1,
  23.           "question_id": 1,
  24.           "user_id": 2,
  25.           "body": "<p>Hola</p>",
  26.           "marked_as_answer": 0,
  27.           "created_at": "2019-04-23 13:59:38",
  28.           "updated_at": "2019-04-23 13:59:38"
  29.         },
  30.         {
  31.           "id": 2,
  32.           "question_id": 1,
  33.           "user_id": 3,
  34.           "body": "<p>Hola</p>",
  35.           "marked_as_answer": 0,
  36.           "created_at": "2019-04-23 14:00:19",
  37.           "updated_at": "2019-04-23 14:00:19"
  38.         },
  39.         {
  40.           "id": 3,
  41.           "question_id": 1,
  42.           "user_id": 3,
  43.           "body": "<p>Hola</p>",
  44.           "marked_as_answer": 0,
  45.           "created_at": "2019-04-23 14:02:23",
  46.           "updated_at": "2019-04-23 14:02:23"
  47.         }
  48.       ],
  49.       "answered": false
  50.     }
  51.   ],
  52.   "meta": {
  53.     "pagination": {
  54.       "total": 1,
  55.       "count": 1,
  56.       "per_page": 10,
  57.       "current_page": 1,
  58.       "total_pages": 1,
  59.       "links": []
  60.     }
  61.   }
  62. }
Advertisement
Add Comment
Please, Sign In to add comment