API Model for LeetCode Service
Understand the use of data entities and API endpoints for the LeetCode API service.
This lesson models the LeetCode API by discussing its base URL, the endpoints of various services, the data entities, and the messages exchanging these data entities to fulfill different user requests. The design considerations from the preceding lesson will inform our API modeling.
Base URL and API endpoints
The following is the base URL of the LeetCode service:
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.