https://github.com/deejaytc/cloudstorage-wrapper
A wrapper for various cloud storage APIs making them available under one common API schema
https://github.com/deejaytc/cloudstorage-wrapper
dotnetcore dropbox microservice onedrive sharepoint
Last synced: about 1 year ago
JSON representation
A wrapper for various cloud storage APIs making them available under one common API schema
- Host: GitHub
- URL: https://github.com/deejaytc/cloudstorage-wrapper
- Owner: DeeJayTC
- License: mit
- Created: 2022-03-18T20:40:56.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T23:05:53.000Z (about 3 years ago)
- Last Synced: 2025-03-16T16:11:24.206Z (about 1 year ago)
- Topics: dotnetcore, dropbox, microservice, onedrive, sharepoint
- Language: C#
- Homepage:
- Size: 53.7 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Info
TCDev CSW is a microservice that wraps cloud storage providers into a single API layout and a single point of contact.
You only need a valid API Key for each and can access Dropbox, OneDrive and SharePoint by using the same API Scheme and you only
have to implement one API in your product to integrate all three services. It was developed for Teamwork.com and is still being used today.
If you run a SAAS app and want to implement either of the three, why don't you just implement all three at once? :)
We're working on adding more providers soon.
## Getting Started
### Docker
```
docker run -e -p 5000:80 -d deejaytc/tcdev-csw
```
When the service is running you can access the open api spec via https://localhost:80/swagger
### Pull
* Pull the code
* Run it :)
## Usage
To call the api you need to pass two header values
For provider selection
```
provider: dropbox | onedrive | sharepoint
```
For Authorization
```
either accessToken:
or authorization: bearer
```
The services does NOT handle authentication, you need to have a valid token to use it so you need to do the oauth token handling
yourself.