Initialize a new media upload
  • 05 Dec 2024
  • 1 Minute to read

Initialize a new media upload


Article summary

Post
/v{version}/Content/Upload/Media/Initialize

This is the first step of uploading media to the server.

Security
API Key
Header parameter nameX-ApiKey

Api Key

API Key
Header parameter nameX-Session-Id

Session Id

Path parameters
version
stringRequired

The requested API version

Default"1.18"
Body parameters

Media upload initialization request

object

Request model for initializing a new media upload

DisplayName
string Required

Display name of the media

FileName
string Required

File name of the media

FileSize
integer (int64) Required

Size of the media in bytes

LocationId
integer (int32)

Unique ID of the location assigned to the spot

MediaGroupId
integer (int32)

Unique ID of the media group where the media is placed in

PlayerId
integer (int32)

Unique ID of the player assigned to the spot

Responses
200

OK

string (uuid)
Example00000000-0000-0000-0000-000000000000
400

Bad request

Expand All
object
ValidationErrors
object
property*
Array of string additionalProperties
string
403

Access denied

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
404

Upload not found.

500

Unexpected error

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.