Skip to content

durm/phmedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ph-media

Static content storage

Usage

  • Create

    POST / (with ':file' param)
    curl -XPOST -F file=@<path_to_file> <ph_media_host>
    
  • Read

    GET /':id'
    curl -XGET <ph_media_host>/':id'
    
  • Update

    PUT /':id' (with ':file' param)
    curl -XPUT -F file=@<path_to_file> <ph_media_host>/':id'
    
  • Delete

    DELETE /':id'
    curl -XDELETE <ph_media_host>/':id'
    

To clone and start it do:

git clone https://github.com/durm/phmedia.git
cd phmedia
lein ring server-headless

About

Storage for static media content

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published