Skip to content

file-service for mu.semte.ch project serving file on their physical file URI

Notifications You must be signed in to change notification settings

redpencilio/file-share-sync-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-share-sync-service

This file service only serves files. This service is only for retreiving those files by their share://.

Environment variables

API

GET /download

Download the content of the file.

Query paramaters

  • uri (required): name for the downloaded file (e.g. /download?uri=share://foo.pdf)
  • name (optional): name for the downloaded file (e.g. /download?name=report.pdf)

Response 200 Ok

Expected response, the file is returned.

Response 400 Bad Request

Bad request, or no access allowed

Response 404 Bad Request

No file could be found with the given uri (on disk).

About

file-service for mu.semte.ch project serving file on their physical file URI

Resources

Stars

Watchers

Forks

Packages

No packages published