Closed Regaez closed 5 years ago
The GET /plugins endpoint currently returns a non-standard response when compared to the /users or /pages endpoint.
GET /plugins
/users
/pages
It should be changed to return:
{ "items": [], // an array containing PluginResource objects "meta": { "count": 7 } }
And a PluginResource should also be shaped in such a way:
PluginResource
{ "type": "plugin", "id": "api", "attributes": { "enabled": true, // other plugin config settings }, "links": { "related": { "self": "http://localhost:8080/api/plugins/api" } }
The
GET /plugins
endpoint currently returns a non-standard response when compared to the/users
or/pages
endpoint.It should be changed to return:
And a
PluginResource
should also be shaped in such a way: