FANDOM


Create a locator.

Url: https://resighting-api.appspot.com/api/1/locators

HTTP Method: POST

ParametersEdit

Name Type Mandatory Description
access_token String(32) Yes A valid access token.
closed Boolean No True if the locator requires approval to join.
description String(500) No The description of the locator.
name String(50) Yes The name of the locator.
sandbox Boolean No Whether the method should run in sandbox mode - no writes will be made to the datastore.

ReturnsEdit

Returns a Locator object and HTTP status 200, or an Error object and HTTP status 4xx or 5xx. If the sandbox parameter was set then the returned object will contain dummy data and a boolean attribute named sandbox, which will have the value True. See the section on sandboxing for more details.

Example UsageEdit

curl https://resighting-api.appspot.com/api/1/locators --data access_token=ACCESS_TOKEN --data name="Test Locator"

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.