API Model for File Service

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 70+ hands-on prep courses.