| | 1 | = zooomr.photos.geo.setLocation = |
|---|
| | 2 | |
|---|
| | 3 | Sets the geo data (latitude and longitude and, optionally, the accuracy level) for a photo. |
|---|
| | 4 | |
|---|
| | 5 | === Authentication === |
|---|
| | 6 | |
|---|
| | 7 | This method requires authentication with 'write' permission. |
|---|
| | 8 | |
|---|
| | 9 | Note: This method requires an HTTP POST request. |
|---|
| | 10 | |
|---|
| | 11 | === Arguments === |
|---|
| | 12 | |
|---|
| | 13 | api_key (Required) |
|---|
| | 14 | Your API application key. |
|---|
| | 15 | photo_id (Required) |
|---|
| | 16 | The id of the photo to set location data for. |
|---|
| | 17 | lat (Required) |
|---|
| | 18 | The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated. |
|---|
| | 19 | lon (Required) |
|---|
| | 20 | The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated. |
|---|
| | 21 | accuracy (Optional) |
|---|
| | 22 | Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified. |
|---|
| | 23 | |
|---|
| | 24 | === Example Response === |
|---|
| | 25 | {{{ |
|---|
| | 26 | {"stat": "ok"} |
|---|
| | 27 | }}} |