logs

Request a URL to which an openpilot file an be uploaded via HTTP PUT. This endpoint only accepts tokens signed with a device private key.

get/v1.4/{dongleId}/upload_url

Request

  • Base URL
    https://api.comma.ai
  • Auth
    • HTTP bearer
    • or HTTP bearer

Query parameters

pathstring required
Example:2019-06-06--11-30-31--9/fcamera.hevc

File to upload from openpilot data directory.

expiry_daysinteger
Example:1

Number of days the url should be valid.

Response

JSON object containing upload URL

urlstring required

URL to which a PUT request can be sent with file contents

Example response

{
  "url": "https://commaincoming.blob.core.windows.net/commaincoming/239e82a1d3c855f2/2019-06-06--11-30-31/9/fcamera.hevc?sr=b&sp=c&sig=cMCrZt5fje7SDXlKcOIjHgA0wEVAol71FL6ac08Q2Iw%3D&sv=2018-03-28&se=2019-06-13T18%3A43%3A01Z"
}

Changes