Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
README.md
config.ru
unicorn.conf

README.md

s3_storage

for s3 storage

start sinatra app

rackup -I . -p 3000
or
unicorn -c unicorn.conf -I . -p 3000

API

GET

curl -X GET localhost:3000/1/2/hoge.jpeg

PUT

  • resourse : world_id/file_id/file_name

    curl -X PUT --upload-file hoge.jpeg localhost:3000/1/2/hoge.jpeg
    

DELETE

curl -X DELETE localhost:3000/1/2/hoge.jpeg
Something went wrong with that request. Please try again.