photo-front/documentation/api
2011-07-19 13:31:05 -07:00
..
Authentication.markdown Adding documentation directory and initial API docs. 2011-06-06 12:20:43 -07:00
Envelope.markdown More work on the documentation and adding TOC. 2011-07-19 11:42:57 -07:00
GetPhotos.markdown Adding stub for Get Photos API docs. 2011-07-19 13:31:05 -07:00
PostPhotoUpload.markdown More work on the documentation and adding TOC. 2011-07-19 11:42:57 -07:00
README.markdown More work on the documentation and adding TOC. 2011-07-19 11:42:57 -07:00

Open Photo API

OpenPhoto, a photo service for the masses


How do I authenticate?

The Open Photo API uses OAuth2 for authentication. See the complete guide on authentication for details.

What's the response format?

Every API endpoint returns a JSON response in a standard envelope.

{
  message: "A string describing the response",
  code: 200,
  result: {
    foo: "bar"
  }
}

API Endpoints

  1. GET /photos.json Get a list of the user's photos.
  2. POST /photo/upload.json Upload a new photo.