Advertisement
Raven_Stigald

JSON_TEST

Jan 6th, 2021 (edited)
1,393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.29 KB | None | 0 0
  1. {
  2.     "current_page": 1,
  3.     "data": [
  4.         {
  5.             "id": 1,
  6.             "title": "TEST VIDEO",
  7.             "release_date": "2020-01-01",
  8.             "duration": "5",
  9.             "director": "abcdefg",
  10.             "studio": "Big Studio",
  11.             "label": "label A",
  12.             "content_id": "horror_1",
  13.             "dvd_id": "ABCD-12-12",
  14.             "series": "no",
  15.             "language": "English"
  16.             "created_at": "2020-12-31T21:59:26.000000Z",
  17.             "updated_at": "2020-12-31T21:59:26.000000Z",
  18.             "categories": [
  19.                 {
  20.                     "id": 1,
  21.                     "name": "Horror",
  22.                     "created_at": "2020-12-31T21:50:02.000000Z",
  23.                     "updated_at": "2020-12-31T21:50:02.000000Z",
  24.                     "pivot": {
  25.                         "content_id": "horror_1",
  26.                         "category_id": 1
  27.                     }
  28.                 },
  29.                 {
  30.                     "id": 2,
  31.                     "name": "Thriller"
  32.                     "created_at": "2020-12-31T21:50:02.000000Z",
  33.                     "updated_at": "2020-12-31T21:50:02.000000Z",
  34.                     "pivot": {
  35.                         "content_id": "horror_1",
  36.                         "category_id": 2
  37.                     }
  38.                 }
  39.             ],
  40.             "images": []
  41.         }
  42.     ],
  43.     "first_page_url": "http://localhost:8000/api/video?page=1",
  44.     "from": 1,
  45.     "last_page": 2,
  46.     "last_page_url": "http://localhost:8000/api/video?page=2",
  47.     "links": [
  48.         {
  49.             "url": null,
  50.             "label": "« Previous",
  51.             "active": false
  52.         },
  53.         {
  54.             "url": "http://localhost:8000/api/video?page=1",
  55.             "label": 1,
  56.             "active": true
  57.         },
  58.         {
  59.             "url": "http://localhost:8000/api/video?page=2",
  60.             "label": 2,
  61.             "active": false
  62.         },
  63.         {
  64.             "url": "http://localhost:8000/api/video?page=2",
  65.             "label": "Next »",
  66.             "active": false
  67.         }
  68.     ],
  69.     "next_page_url": "http://localhost:8000/api/video?page=2",
  70.     "path": "http://localhost:8000/api/video",
  71.     "per_page": 1,
  72.     "prev_page_url": null,
  73.     "to": 1,
  74.     "total": 2
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement