Fandom

Resighting Wiki

ListResightings Method

71pages on
this wiki
Add New Page
Comments0 Share

List resightings of a specified Sighting. The Sighting to retrieve resightings for is specified by the user_id and the sighting_id in the url.

The Sightings are ordered in descending order of date of publish (i.e. most recent first) and held Sightings are not included.

Url: https://resighting-api.appspot.com/api/1/sightings/<user_id>/<sighting_id>/resightings

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 Sighting objects. Note that although all the Sightings returned will be resightings of the specified Sighting, the original_sighting attribute of the Sighting objects will not be populated (the attribute is never populated in Sighting objects returned in lists).

Example UsageEdit

curl https://resighting-api.appspot.com/api/1/sightings/bf10ad015e7b4ceea9279c1b9e8889a5/770001/resightings?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.