File

Creates a temporary file record and signed upload URL.

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.

post/v1/file/temp

Request

  • Base URL: https://api.actionstreamer.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.actionstreamer.com/v1/file/temp
  • Auth: none declared

Request body

deviceNamestring nullable
deviceSerialstring nullable
filenamestring nullable
fileSizeinteger
sHA256Hashstring nullable

Example request

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

Response

Success

signedURLstring nullable
fileIDinteger nullable

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.