Initialize a new media upload
- 05 Dec 2024
- 1 Minute to read
- Print
Initialize a new media upload
- Updated on 05 Dec 2024
- 1 Minute to read
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
object
ValidationErrors
object
property*
Array of string additionalProperties
string
403
Access denied
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
404
Upload not found.
500
Unexpected error
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties