Guidelines for naming your REST APIs.
- Use nouns to represent resources. Example –
/books/{id}
- Use plural to represent collection of resources –
/books
- Use verb to represent an executable action on a resource –
/users/{id}/cart/check-out
- Use HTTP methods for CRUD