Adding example values for the parameter list.

This commit is contained in:
Jaisen Mathai 2011-07-18 22:58:41 -07:00
parent 9b80fcdf1e
commit 1c8822c13c

View file

@ -19,10 +19,10 @@ _Authentication: required_
1. photo (required), The photo to be uploaded. 1. photo (required), The photo to be uploaded.
* This can be the binary photo in multipart/formdata * This can be the binary photo in multipart/formdata
* This can be the base64 encoded value of the photo in application/x-www-form-urlencoded * This can be the base64 encoded value of the photo in application/x-www-form-urlencoded
1. tags (optional), A comma delimited string of alpha numeric strings. 1. tags (optional), _i.e. dog,cat_ - A comma delimited string of alpha numeric strings.
1. latitude (optional), A decimal representation of latitude. 1. latitude (optional), _i.e. 34.76_ - A decimal representation of latitude.
1. longitude (optional), A decimal representation of longitude. 1. longitude (optional), _i.e. -87.45_ - A decimal representation of longitude.
1. returnOptions (optional), A string instructing a specific version of the photo to be autogenerated. 1. returnOptions (optional), _i.e. 300x300xBW_ - A string instructing a specific version of the photo to be autogenerated.
The url will be present in the response as _requestedUrl_. The url will be present in the response as _requestedUrl_.
* 300x300 - A photo which maintains aspect ratio and fits inside a 300x300 square * 300x300 - A photo which maintains aspect ratio and fits inside a 300x300 square
* 1024x768xCR - A photo that's exactly 1024x768 pixels cropped to the center in an optimized manner * 1024x768xCR - A photo that's exactly 1024x768 pixels cropped to the center in an optimized manner