MOVE Last Location API

MOVE Backend APIs

Returns last known location of SDK user. Context describes location source. At the moment the following contexts exist:

  • timeline-end: last timeline location

  • car-end: last car trip location

  • trip-position: live updates during a trip

  • userpos: user position - reported about once per day (if OS wakes up app at all), independent of user timeline; NOTE may be older than e.g. timeline-end, so please check timestamp

Last location

GET https://sdk.dolph.in/v20/location

Returns a list of last location for every context

Query Parameters

Name
Type
Description

projectId *

integer

userId*

String

Headers

Name
Type
Description

Authorization*

String

Basic <ProjectId>:<API-Key>

[
  {
    "context": "string",
    "lat": 0,
    "lon": 0,
    "accuracy": 0,
    "timestamp": "2022-08-08T09:51:44.109Z"
  }
]

Last context location

GET https://sdk.dolph.in/v20/location/{context}

Returns last location of specific context

Path Parameters

Name
Type
Description

context*

String

timeline-end, car-end, userpos, trip-position

Query Parameters

Name
Type
Description

userId*

String

projectId*

String

Headers

Name
Type
Description

Authorization

String

Basic <ProjectId>:<API-Key>

{
  "context": "string",
  "lat": 0,
  "lon": 0,
  "accuracy": 0,
  "timestamp": "2022-08-08T09:37:46.648Z"
}

Last updated

#70: add MoveSdkAndroidConfig model

Change request updated