API Model for File Service
Let's understand the API endpoints and data entities required to interact with the API successfully.
Now we know the workflow of the file API and the architecture that best suits our needs. The next step is to identify the data entities involved in the API calls to meet the functional requirements and map those API calls to the chosen architecture (REST).
Base URL and API endpoints
The base URL is the common/shared path of all endpoints of the API service. Below is a structural breakdown of the base URL of our file service:
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.