Skip to main content

Creates a temporary file record and signed upload URL

POST /v1/file/temp

Summary

Creates a temporary file record and signed upload URL.

Details

Request body: JSON object. This endpoint does not create a database file record.

It returns a signed upload URL, and the response payload is shaped like

response with fileID = 0.

Authentication

No operation-level security requirement is documented here.

Parameters

None documented here.

Request Body

Required: Yes

application/json

  • deviceName (string, optional)
  • deviceSerial (string, optional)
  • filename (string, optional)
  • fileSize (integer (int64), optional)
  • sHA256Hash (string, optional)

Example

{
"deviceName": "WearableDevice",
"deviceSerial": "10001234",
"filename": "clip.mp4",
"fileSize": 1,
"sHA256Hash": "Example value"
}

Responses

200

Success

application/json

  • signedURL (string, optional)
  • fileID (integer (int64), optional)

Example

{
"signedURL": "https://api.actionstreamer.com/example",
"fileID": 1
}