How would you design this API? Are there any good books or resources covering this?
Ask HN: How would you design a reporting API? How would you research it?
1–6 of 6 posts
Re: Ask HN: How would you design a reporting API? How would you research it?
#2By reporting API, do you mean a structured way for some users/clients to extract operational data about their activity with your product, in order to let them play with it and do their own reporting on top of it? Or do you mean a layer in your software presenting aggregated data in form or reports?
Re: Ask HN: How would you design a reporting API? How would you research it?
#3Not sure what you mean by a "reporting" API?
Re: Ask HN: How would you design a reporting API? How would you research it?
#4Re: Ask HN: How would you design a reporting API? How would you research it?
#5I suggest starting out by strictly adhering to REST standards, and then choose areas where you want to be flexible to increase usability (allowing POST calls to be overridden and interpreted as PUT calls, for example).
Check out this checklist: https://mathieu.fenniak.net/the-api-checklist/
I can also enthusiastically recommend Apiary (https://apiary.io) for designing and mocking up your API. It's absolutely fantastic.