Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Return collections as an object and include pagination, links #1196

@danielbachhuber

Description

@danielbachhuber

Rather than returning a collection of objects as an array, we need to return the collection response as an object with the array of data under data attribute or similar. This will let us add _links for the top-level collection, as well as move our existing pagination headers into the response body.

Related #1136, #865

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions