POST api/v1/VideoLibrary/AddNewVideo
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
VideoLibraryName | Description | Type | Additional information |
---|---|---|---|
VideoId | integer |
None. |
|
AssetId | string |
None. |
|
MediaServiceId | globally unique identifier |
None. |
|
Name | string |
None. |
|
BlobVideoUrl | string |
None. |
|
PublishedVideoUrl | string |
None. |
|
ProgressiveDownloadUrl | string |
None. |
|
VideoUploadStatus | string |
None. |
|
VideoDuration | time interval |
None. |
|
IsVideoEncrypted | boolean |
None. |
|
TenantId | integer |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
ModifiedDate | date |
None. |
|
ModifiedBy | integer |
None. |
|
VideoThumbnailBlobUrl | string |
None. |
|
VideoCreator | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "VideoId": 1, "AssetId": "sample string 2", "MediaServiceId": "afa43ca8-a263-4929-8df9-98f3eb272966", "Name": "sample string 4", "BlobVideoUrl": "sample string 5", "PublishedVideoUrl": "sample string 6", "ProgressiveDownloadUrl": "sample string 7", "VideoUploadStatus": "sample string 8", "VideoDuration": "00:00:00.1234567", "IsVideoEncrypted": true, "TenantId": 10, "CreatedDate": "2024-12-30T22:34:28.7108039Z", "CreatedBy": 12, "ModifiedDate": "2024-12-30T22:34:28.7108039Z", "ModifiedBy": 14, "VideoThumbnailBlobUrl": "sample string 15", "VideoCreator": "sample string 16" }
text/html
Sample:
{"VideoId":1,"AssetId":"sample string 2","MediaServiceId":"afa43ca8-a263-4929-8df9-98f3eb272966","Name":"sample string 4","BlobVideoUrl":"sample string 5","PublishedVideoUrl":"sample string 6","ProgressiveDownloadUrl":"sample string 7","VideoUploadStatus":"sample string 8","VideoDuration":"00:00:00.1234567","IsVideoEncrypted":true,"TenantId":10,"CreatedDate":"2024-12-30T22:34:28.7108039Z","CreatedBy":12,"ModifiedDate":"2024-12-30T22:34:28.7108039Z","ModifiedBy":14,"VideoThumbnailBlobUrl":"sample string 15","VideoCreator":"sample string 16"}
text/xml
Sample:
<VideoLibrary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <AssetId>sample string 2</AssetId> <BlobVideoUrl>sample string 5</BlobVideoUrl> <CreatedBy>12</CreatedBy> <CreatedDate>2024-12-30T22:34:28.7108039Z</CreatedDate> <IsVideoEncrypted>true</IsVideoEncrypted> <MediaServiceId>afa43ca8-a263-4929-8df9-98f3eb272966</MediaServiceId> <ModifiedBy>14</ModifiedBy> <ModifiedDate>2024-12-30T22:34:28.7108039Z</ModifiedDate> <Name>sample string 4</Name> <ProgressiveDownloadUrl>sample string 7</ProgressiveDownloadUrl> <PublishedVideoUrl>sample string 6</PublishedVideoUrl> <TenantId>10</TenantId> <VideoCreator>sample string 16</VideoCreator> <VideoDuration>PT0.1234567S</VideoDuration> <VideoId>1</VideoId> <VideoThumbnailBlobUrl>sample string 15</VideoThumbnailBlobUrl> <VideoUploadStatus>sample string 8</VideoUploadStatus> </VideoLibrary>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, text/xml
Sample:
Sample not available.