Closed Jongmo-kim closed 2 years ago
- Use nouns but no verbs
- GET method and query parameters should not alter the state
- Use plural nouns
- Use sub-resources for relations
- Use HTTP headers for serialization formats
- Use HATEOAS
- Provide filtering, sorting, field selection and paging for collections
- Version your API
- Handle Errors with HTTP status codes
- Allow overriding HTTP method
참고 사이트에서 위와 같은 원칙을 찾았습니다. 다른 사이트에서 다양한 원칙들이 많았지만 너무 많거나 예가 부족하여 적용하기 힘들다고 판단했습니다.
이에따라 파생되는 다양한 이슈들은 따로 만들어 현재 이슈와 링크 시켜 확인할수 있도록 합니다.
원칙을 설정했으므로 이슈를 닫습니다.
원칙에 대한 자세한 내용은 WIKI에 적어두었습니다.
백엔드 API를 REST 원칙을 지켜 구현하려고 합니다.
REST 원칙에 관한 내용들을 조사하여 원칙을 적용합니다.