Handles the result of an Ingestion process
$ curl 'http://platform.wim.tv:8080/rest/ingestion/ingestionResults' -i -X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"urlOriginal" : "fakeobject",
"urlTranscoded" : "fakeobject",
"contentId" : "bfea9eb9-1f90-46d7-85b0-fd6f51fee556",
"srcType" : "S3",
"result" : "SUCCESSFULLY_TRANSCODED"
}'
Request headers
Name | Description |
---|---|
|
* Required. |
|
* Required. |
Request fields
Path | Type | Description |
---|---|---|
|
Status of the Ingestion process. * Required. |
|
|
Repository type. * Required. |
|
|
|
The resource identifier. * Required. |
|
|
Error message. * Optional. |
|
|
Original S3 object * Required. |
|
|
Transcoded S3 object * Required. |
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 26
{
"result" : "SUCCESS"
}
Response fields
Path | Type | Description |
---|---|---|
|
Result sent back to Ingestion service. |
|
|
|
Error information. May be not provided. |
Error fields
Path | Type | Description |
---|---|---|
|
|
Error message. |
|
|
Name of the field on which the error is detected. May be not provided. |
Handles the result of an FFmpeg process
$ curl 'http://platform.wim.tv:8080/rest/ffmpeg/result' -i -X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"contentId" : "urn:wim:tv:content:b9a7957f-0828-4afe-ad19-bb42b2ebaa71",
"resourceId" : "d847ac72-dd7a-40fa-a43e-fe90bb3aa94a",
"thumbnailName" : "thumbnail.png",
"srcType" : "S3",
"duration" : 600000
}'
Request headers
Name | Description |
---|---|
|
* Required. |
|
* Required. |
Request fields
Path | Type | Description |
---|---|---|
|
Repository type. * Required. |
|
|
|
The content identifier. * Required. |
|
|
The resource identifier. * Required. |
|
|
The thumbnail name. * Optional. |
|
|
The duration of the video (millisecs). * Optional. |
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 26
{
"result" : "SUCCESS"
}
Response fields
Path | Type | Description |
---|---|---|
|
Result sent back to FFmpeg service. |
|
|
|
Error information. May be not provided. |
Error fields
Path | Type | Description |
---|---|---|
|
|
Error message. |
|
|
Name of the field on which the error is detected. May be not provided. |
Authentication
The WimTV-Ingestion integration APIs require BASIC authentication.
Custom types
Ingestion repository types
Value | Description |
---|---|
|
Local file system. |
|
AWS S3 bucket. |
Status of an Ingestion process
Value | Description |
---|---|
|
Success. |
|
Failure. |
Result sent back to the service
Value | Description |
---|---|
|
Success. |
|
Failure. |