Post
/v{version}/Content/Upload/Media/Initialize
This is the first step of uploading media to the server.
Security
API Key: api_key
Header parameter nameX-ApiKey
Api Key
API Key: session_id
Header parameter nameX-Session-Id
Session Id
Path parameters
version
stringRequired
The requested API version
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. If the media group is empty, the medium is not visible in the CMS.
PlayerId
integer (int32)
Unique ID of the player assigned to the spot
Responses
200
OK
string (uuid)
400
Bad request
object
ValidationErrors
object
property*
Array of string additionalProperties
string
401
Unauthorized
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
403
Access denied
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
404
Upload not found
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
500
Unexpected error
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties