-
Notifications
You must be signed in to change notification settings - Fork 0
API Technical Specification MyFiles
Proposal: MyFiles API Specification
Pablo Hernandez
Our archive repositories provide valuable file metadata to our direct customers. Customers use this data to integrate with business-critical services, but they are currently doing so by downloading CSVs and uploading CSVs to other business products. We are currently not providing a way to programatically grant access to the repository metadata to customers who use third-party integrations.
Build an API that allows developers to programmatically access MyFiles files.
For this API, we've decided to use REST for the following reasons:
- REST resource paradigm matches how MyFiles treats files ir out tech stack.
- Desired file operations for the API match closely to CRUD operations.
- No need fot the event transport at this time.
This API will Spring Security with jsonwebtoken authentication.
WebHooks are a great way for developers to get information about user events, such as files uploaded and files changed without continuosly polling for data. We've decided to incorporate an outline of how these would work. We anticipate building those as a phase 2 for the API.
We have decided not to implement DELETE operation for third-party developers at this time, because we consider it high risk and unnecessary for the initial API launch.