Esri's Geotrigger Service is replacing Geoloqi! Learn More | FAQ

link/activate

Contents

URL

https://api.geoloqi.com/1/link/activate

Description

Re-activate a deactivated link so that it shows the user's location again. This will only succeed if it is run on a token that was previously deactivated.

Supported Request Methods

POST

Scope

share

Parameters

  • token
    The token to re-activate.

Response

Success

If the link was expired successfully, you will get the following response.

HTTP/1.1 200 OK
 
{
  "result":"ok"
}

Errors

Possible errors are

HTTP/1.1 400 Bad Request
 
{
  "error":"missing_input",
  "error_description":"Token not found in request body"
}
HTTP/1.1 404 Not Found
 
{
  "error":"not_found",
  "error_description":"The token provided was not found"
}
HTTP/1.1 403 Forbidden
 
{
  "error":"access_denied",
  "error_description":"Access denied to this token"
}
HTTP/1.1 409 Conflict
 
{
  "error":"already_active",
  "error_description":"The token is already active"
}