Fandom

Resighting Wiki

ListSightingLocators Method

71pages on
this wiki
Add New Page
Comments0 Share

List the Locators that a Sighting has been submitted to. Only currently active submissions are listed - any Locators that the Sighting has been submitted to in the past but have since been removed from are not included. If the Sighting is on-hold then the Locators can only be retrieved by the User who created the Sighting.

The Sighting to retrieve Locators for is specified by the user_id and the sighting_id in the url.

The Locators are returned in reverse order of submitted date/time (most recent first).

Url: https://resighting-api.appspot.com/api/1/sightings/<user_id>/<sighting_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 LocatorSighting 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/sightings/bf10ad015e7b4ceea9279c1b9e8889a5/492003/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.