Skip to main content

Prepare Upload (Basic Auth)

POST 

/api/v0/organizations/:organization_slug/projects/:project_slug/upload

Prepare a file upload to files.memfault.com using Basic Auth. This is step 1 of a two-step upload flow.

This endpoint is the same as POST /api/v0/upload, except it uses Basic Auth instead of the Memfault-Project-Key header.

Returns a signed upload_url and an opaque token. Use the upload_url to PUT the file directly, then use the token in the corresponding Commit endpoint.


Return Value

Returns { "data": { "upload_url": "...", "token": "..." } }

Request

Responses

Response Headers