logs

Batch log file upload

Changed on

Request URLs to which openpilot files can be uploaded via HTTP PUT. This endpoint only accepts tokens signed with a device private key.

post/v1/{dongleId}/upload_urls

Request

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

Request body

pathsstring[] required

Files to upload from openpilot data directory.

expiry_daysinteger

number of days the url should be valid

Response

JSON array containing upload URLs

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

Changes