Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "meta":{
    "status": 200,
    "message": "OK"
  },
  "data":[{
    "id": 5,
    "name": "Sala de Reuniões",
    "number": "9009",
    "email": "reunioes@email.com",
    "group_name": "Diretoria",
    "rules": [
                {id: 10, name: "Celular Local"},
                {id: 11, name: "Celular DDD"}
             ]
  }]
  "data":[{
    "id": 15,
    "name": "Michael Myers",
    "number": "1978",
    "email": "michael.myers@email.com",
    "group_name": "Psiquiatria",
    "rules": [
                {id: 12, name: "Fixo Local"},
                {id: 13, name: "Fixo DDD"}
             ]
  }]
  "data":[{
    "id": 13,
    "name": "Jason Voorhees",
    "number": "613",
    "email": "jason.voorhees@email.com",
    "group_name": "TGIF",
    "rules": [
                {id: 10, name: "Celular Local"},
                {id: 12, name: "Fixo Local"}
             ]
  }]
  }]
  "data":[{
    "id": 7,
    "name": "Samara Morgan",
    "number": "7",
    "email": "samara.morgan@email.com",
    "group_name": "Ring",
    "rules": [
                {id: 11, name: "Celular DDD"},
                {id: 13, name: "Fixo DDD"}
             ]
  }]
"pagination": {
        "max_limit": 100,
        "limit": 1,
        "first_url": "https://endereco/api/v1/extensions",
        "next_url": null,
        "items": 1,
        "last_url": "https://endereco/api/v1/extensions?page=1",
        "total": 2,
        "current_url": "https://endereco/api/v1/extensions?page=1",
        "prev_url": null
},
}

...