photo-front/documentation/api/README.markdown
Jaisen Mathai 30e059a889 More work on the documentation and adding TOC.
Updating the photo upload API to return a 202.
2011-07-19 11:42:57 -07:00

910 B

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.