File

Creates a file record.

Request body: JSON object. Accepts either deviceSerial or deviceName. On success, it returns the created file with a signed upload URL in fileLocation.

post/v1/file

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
  • 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

keyinteger
deviceIDinteger
filenamestring nullable
fileGUIDstring nullable
sHA256Hashstring nullable
fileLocationstring nullable
fileExpirationstring date-time nullable
fileSizeinteger
fileInS3boolean
doNotDeleteboolean
creationDatestring date-time nullable

Example response

{
  "key": 1,
  "deviceID": 201,
  "filename": "clip.mp4",
  "fileGUID": "11111111-2222-3333-4444-555555555555",
  "sHA256Hash": "Example value",
  "fileLocation": "Remote site",
  "fileExpiration": "2026-03-30T12:00:00.0000000Z",
  "fileSize": 1,
  "fileInS3": true,
  "doNotDelete": true,
  "creationDate": "2026-03-30T12:00:00.0000000Z"
}

Changes

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