r/SpringBoot • u/MaterialAd4539 • Aug 29 '24
REST API best practices?
I want to write better api's. So could you guys help me with some of the practices you have followed over the years.
24
Upvotes
5
u/chehsunliu Aug 29 '24 edited Aug 29 '24
I read this https://cloud.google.com/apis/design, especially the section for custom methods, which resolved my doubts about some corner cases.
2
1
u/wimdeblauwe Sep 01 '24
Good guide by Zalando: https://opensource.zalando.com/restful-api-guidelines/
7
u/JustHereForTheCh1cks Aug 29 '24
Have a look at the Richardson Rest Maturity model. https://www.martinfowler.com/articles/richardsonMaturityModel.html?ref=philsturgeon.com
Should give a feeling of were you are standing with your own design