Skip to content

Complete Encapsulation

Complete Encapsulation is a best practice for API design that emphasizes hiding the internal details and implementation of the API, and providing a simple and consistent interface for developers to interact with the API. This can help ensure that the API is easy to use, scalable, and maintainable, and can adapt to changing business requirements and technology trends

If client wanting to use our Web API:

  • requires any information about how it is implemented internally
  • needs to know our business logic to uset it

If the above requests are communicated to us by the client, it may be considered that the design is NOT done properly. The whole purpose of the API is defeated.