Contents |
URL
https://api.geoloqi.com/1/account/privacy
Description
A GET request retrieves the current user's privacy settings. A POST updates the current user's privacy settings, and is only available to pre-approved clients.
Supported Request Methods
GET, POST
Parameters
- public_location OptionalThis will make your exact position available on your map and to third-party applications.
- public_geonotes OptionalWhether to allow anonymous users to leave you Geonotes when viewing your map.
- public_geonote_email OptionalWhether to allow people to receive an email confirmation when you pick up their Geonote.
- default_share_expiration OptionalWhen sending a sharing link from the website, this is the default expiration time.
Response
Success
If the preferences were successfully updated, you will get an "ok" response. When retrieving user preferences, you will get the preferences in a JSON block.
{ "public_location":"0", "public_geonotes":"0", "public_geonote_email":"0", "default_share_expiration":"30" }