Advance REST Api Features

  1. Documentations
  2. Content Negotiation
  3. Internationalization - i18n
  4. Versioning  
  5. HATEOAS
  6. Static Filtering
  7. Dynamic Filtering
  8. Monitoring
1. Documentations:

  • Consumer of your REST API should know :
    • Resources
    • Actions
    • Request/Response Structure (Constraints/Validations)
  • Chalanges:
    • Accuracy: How do you ensure that your documentations is upto date and correct?
    • Consistency: you may have 100s of REST API in an enterpriise how do you ensure all document in consistency?
  • There are two option to Create Documentation:
    • 1 Manually maintain documentation
      • Additional effort to keep it in sync with code
    • 2.Generate the Documentation from Code

Rest APi Documentation Using 
  1.     Swagger and 
  2.     Open API:

Comments

Popular posts from this blog

Introduction of RESTful Web Service

Learn JPA and Hibernate

Implementing Dynamic Filtering for Rest API