issues
search
ALHelton
/
rails_engine
0
stars
0
forks
source link
GET all merchants Endpoint
#8
Open
ALHelton
opened
1 year ago
ALHelton
commented
1 year ago
These “index” endpoints for items and merchants 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/
These “index” endpoints for items and merchants should: