Get a list of packages

GET /packages

Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[{
     "id":1,
     "name":"vendor\/first",
     "description":"Package description 1",
     "status":1,
     "created_at":"2018-01-01 00:00:00",
     "updated_at":"2018-01-01 00:00:00"
},
{
     "id":2,
     "name":"vendor\/second",
     "description":"Package description 2",
     "status":0,
     "created_at":"2018-01-01 00:00:00",
     "updated_at":"2018-01-01 00:00:00"
}], response code 200 (400, 401 in case of errors)

Get a specific package

GET /packages/{id}