Browse developer docs

List runs for a mission

POSTcar-sortie-list

Request

Send POST to /open/service with serviceName=car-sortie-list and the common signing parameters.

Send extra fields in the JSON body

Optional user_guid. Store each returned sortie_id.

Request example
# Requires curl 7.87+, Python 3 and OpenSSL.
: "${XAG_APP_UID:?Set XAG_APP_UID}"
: "${XAG_APP_SECRET:?Set XAG_APP_SECRET}"
timestamp=$(python3 -c 'import time; print(time.time_ns() // 1000000)')
token=$(printf "%s" "$XAG_APP_UID$timestamp$XAG_APP_SECRET" | openssl dgst -sha1 -r | cut -d " " -f 1)

curl --silent --show-error --fail-with-body --max-time 30 --request POST \
  'https://open.xa.com/open/service' \
  --url-query 'serviceName=car-sortie-list' \
  --url-query "appUid=$XAG_APP_UID" \
  --url-query "timestamp=$timestamp" \
  --url-query "token=$token" \
  --header 'Content-Type: application/json' \
  --data '{
  "sn": "YOUR_ROVER_SN",
  "mission_guid": "YOUR_MISSION_GUID"
}'
ParameterRequirementMeaning
mission_guidRequiredRover mission identifier.
user_guidOptionalIdentifier for the user associated with the operation.
snRequiredAuthorized equipment serial number.

Response

data contains runs for a mission, including sortie_id and actuator metrics. Retain the run identifier for telemetry lookups.

Show example response fields and types
{
  "success": "boolean",
  "data": [
    {
      "sortie_id": "string",
      "start_time": "number",
      "end_time": "number",
      "actuator_sortie_area": "number",
      "actuator_sortie_work_mileage": "number"
    }
  ],
  "message": "string",
  "status": "number"
}

All Rovers operations

Location
Richmond Hill, Ontario, Canada