Closed Regaez closed 5 years ago
The GET /config endpoint should change to GET /configs to match the other endpoints format.
GET /config
GET /configs
It currently returns a non-standard response when compared to the /users or /pages endpoint.
/users
/pages
It should be changed to return:
{ "items": [], // an array containing ConfigResource objects "meta": { "count": 4 } }
And a ConfigResource should also be shaped in such a way:
ConfigResource
{ "type": "config", "id": "api", "attributes": { // actual config settings }, "links": { "related": { "self": "http://localhost:8080/api/config/site" } }
Note: the endpoint /config was changed to /configs during the refactor in PR #28
/config
/configs
The
GET /config
endpoint should change toGET /configs
to match the other endpoints format.It currently returns a non-standard response when compared to the
/users
or/pages
endpoint.It should be changed to return:
And a
ConfigResource
should also be shaped in such a way: