Recently, I have seen several articles talking about RESTful API design. Of course this is also a common topic of discussion for the engineers at Teem. I want to use (and write) APIs that are easy to understand and explain and the fastest way to complicate your API is nested routes. Just don’t do it! Do not create nested routes in your API. Let’s keep our APIs simple and create one endpoint per resource and if filters are needs, use GET parameters. This is simpler to document and simpler to maintain and ultimately, easier to use.

Lucas Roesler

I am senior engineer at contiamo.com and an ex-mathematician. I have worked on web applications, algorithms for image analysis, machine learning problems, and pure math research.

Senior Engineer

Berlin, DE