PHP Classes
elePHPant
Icontem

File: json_response.json

Recommend this page to a friend!
  Classes of Kevinralph M Tenorio  >  Lumen API PureMVC MultiCore Framework for PHP  >  json_response.json  >  Download  
File: json_response.json
Role: Sample output
Content type: text/plain
Description: Sample JSON Response (http://127.0.0.1:8000/users?per_page=2)
Class: Lumen API PureMVC MultiCore Framework for PHP
Implements repository pattern using Laravel Lumen
Author: By
Last change:
Date: 6 months ago
Size: 1,246 bytes
 

Contents

Class file image Download
{
    "data": [
        {
            "type": "users",
            "id": "1",
            "attributes": {
                "uid": "2e43a323-1d44-44a9-af3a-d84e7c6ba0ec",
                "name": "Paul Dicki",
                "email": "wilderman.ashlynn@weissnat.com"
            },
            "links": {
                "self": "http://127.0.0.1:8000/users/1"
            }
        },
        {
            "type": "users",
            "id": "2",
            "attributes": {
                "uid": "fc8681f8-36a9-428c-ba17-8aa9a7c800dc",
                "name": "Dr. Markus D'Amore",
                "email": "armstrong.golden@kovacek.com"
            },
            "links": {
                "self": "http://127.0.0.1:8000/users/2"
            }
        }
    ],
    "links": {
        "first": "http://127.0.0.1:8000/users?per_page=2&page=1",
        "last": "http://127.0.0.1:8000/users?per_page=2&page=52",
        "prev": null,
        "next": "http://127.0.0.1:8000/users?per_page=2&page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 52,
        "path": "http://127.0.0.1:8000/users",
        "per_page": 2,
        "to": 2,
        "total": 104
    }
}