Sharing

POST /api/1/vehicles/{id}/command/share

Sends a location for the car to start navigation or play a video in theatre mode.
These docs take from the Android app, which sends the data in JSON form. However, a URL-encoded POST body will work as well. The basic format to a request looks like this:
1
{
2
"type": "share_ext_content_raw",
3
"value": {
4
"android.intent.extra.TEXT": "123 Main St, City, ST 12345\n\nhttps://goo.gl/maps/X"
5
},
6
"locale": "en-US",
7
"timestamp_ms": "1539465730"
8
}
Copied!
Note: This API was previously navigation_request, but has been updated to support video links as well.

Parameters

Parameter
Example
Description
type
share_ext_content_raw
Must be share_ext_content_raw.
locale
en-US
The locale for the navigation request. ISO 639-1 standard language codes
timestamp_ms
1539465730
The current UNIX timestamp.
value[android.intent.extra.TEXT]
123 Main St, City, ST 12345
The address or video URL to set as the navigation destination.

Response

1
{
2
"reason": "",
3
"result": true
4
}
Copied!
Last modified 8mo ago