These “index” endpoints for items should: - [ ] render a JSON representation of all records of the requested resource - [ ] always return an array of data, even if one or zero resources are found - [ ] NOT include dependent data of the resource (eg, if you’re fetching merchants, do not send any data about merchant’s items or invoices ) follow this pattern: GET /api/v1/<resource>
These “index” endpoints for items should:
)
follow this pattern: GET /api/v1/