Fandom

Resighting Wiki

ListUserLocators Method

71pages on
this wiki
Add New Page
Comments0 Share

Get a list of Locators that the specified user belongs to. Only currently active memberships are returned - any Locators that the user joined but has since left are not included.

The user is specified by the user_id in the url.

The list is ordered in reverse order of the date/time that the user joined the Locator.

Url: https://resighting-api.appspot.com/api/1/users/<user_id>/locators

HTTP Method: GET

ParametersEdit

Name Type Mandatory Description
access_token String(32) Yes A valid access token.
cursor String(500) No A cursor returned by a previous call to the method marking the point where listing should continue from.
fetch_size Integer No The number of results to retrieve. Defaults to 20 if not specified and 20 is the maximum.

ReturnsEdit

Returns a List object of LocatorMember objects and HTTP status 200, or an Error object and HTTP status 4xx or 5xx.

Example UsageEdit

curl https://resighting-api.appspot.com/api/1/users/bf10ad015e7b4ceea9279c1b9e8889a5/locators?access_token=ACCESS_TOKEN

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.