photohunt-server

command module
v0.0.0-...-b3c6fe2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2014 License: MIT Imports: 12 Imported by: 0

README

photohunt-server

A server application for Photohunt. Restful API for uploading pictures and stuff.

##Pages## ###/upload### Make a POST request here to upload a picture. ####Parameters#### key: the api key for a team hash: a sha256 hash of the binary data of the image, encoded in base64url fileextension: The file extension of the image. Probably png or jpg ####Post Body#### A base64 encoded image file, to be submitted

###/times### Make a GET request here to get the times Photohunt is happening ####Parameters#### key: the api key for a team ####Returns#### A time period formatted as:

Mar 31, 2013 at 07:13 until Mar 31, 2013 at 21:33

###/numpics### Make a GET request here to get the number of pictures a team has uploaded, out of the total number of the pictures they can upload. ####Parameters#### key: the api key for a team ####Returns#### Two numbers formatted as:

0 / 20

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL