Paths
POST /encoreJobs
Description
create-encorejob
Parameters
Type | Name | Schema |
---|---|---|
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
Consumes
-
application/json
Produces
-
application/hal+json
Tags
-
encorejob
GET /encoreJobs
Description
get-encorejob
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
page |
Zero-based page index (0..N) |
integer |
|
Query |
size |
The size of the page to be returned |
integer |
|
Query |
sort |
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
< string > array(multi) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
Produces
-
application/hal+json
-
text/uri-list
-
application/x-spring-data-compact+json
Tags
-
encorejob
Finds EncoreJobs By Status
GET /encoreJobs/search/findByStatus
Description
Returns EncoreJobs according to the given Status
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
page |
Zero-based page index (0..N) |
integer |
|
Query |
size |
The size of the page to be returned |
integer |
|
Query |
sort |
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
< string > array(multi) |
|
Query |
status |
enum (NEW, QUEUED, IN_PROGRESS, SUCCESSFUL, FAILED, CANCELLED) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
404 |
Not Found |
No Content |
Produces
-
application/hal+json
Tags
-
encorejob
GET /encoreJobs/{id}
Description
get-encorejob
Parameters
Type | Name | Schema |
---|---|---|
Path |
id |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
404 |
Not Found |
No Content |
Produces
-
application/hal+json
Tags
-
encorejob
PUT /encoreJobs/{id}
Description
update-encorejob
Parameters
Type | Name | Schema |
---|---|---|
Path |
id |
string |
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
201 |
Created |
|
204 |
No Content |
No Content |
Consumes
-
application/json
Produces
-
application/hal+json
Tags
-
encorejob
DELETE /encoreJobs/{id}
Description
delete-encorejob
Parameters
Type | Name | Schema |
---|---|---|
Path |
id |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
No Content |
No Content |
404 |
Not Found |
No Content |
Tags
-
encorejob
PATCH /encoreJobs/{id}
Description
patch-encorejob
Parameters
Type | Name | Schema |
---|---|---|
Path |
id |
string |
Body |
body |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
Consumes
-
application/json
Produces
-
application/hal+json
Tags
-
encorejob
Cancel an EncoreJob
POST /encoreJobs/{jobId}/cancel
Description
Cancels an EncoreJob with thw given JobId
Parameters
Type | Name | Schema |
---|---|---|
Path |
jobId |
string (uuid) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
string |
Produces
-
application/hal+json
Tags
-
encorejob
Get Queues
GET /queue
Description
Returns a list of queues (QueueItems)
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< QueueItem > array |
Produces
-
application/hal+json
Tags
-
queue
Definitions
AudioFile
Polymorphism : Inheritance
Discriminator : type
Name | Schema |
---|---|
audioStreams |
< AudioStream > array |
duration |
number (double) |
file |
string |
fileSize |
integer (int64) |
format |
string |
overallBitrate |
integer (int64) |
type |
string |
AudioStream
Name | Schema |
---|---|
bitrate |
integer (int64) |
channels |
integer (int32) |
codec |
string |
duration |
number (double) |
format |
string |
samplingRate |
integer (int32) |
CollectionModelEntityModelEncoreJob
Name | Schema |
---|---|
_embedded |
|
_links |
_embedded
Name | Schema |
---|---|
encoreJobs |
< EntityModelEncoreJob > array |
EncoreJob
Name | Description | Schema |
---|---|---|
completedDate |
The time for when the EncoreJob was completed (fail or success) |
string (date-time) |
createdDate |
The Creation date for the EncoreJob |
string (date-time) |
cropTo |
Crop output video to given aspect ratio |
string |
dar |
The Display Aspect Ratio to use if the input is anamorphic. Overrides DAR found from input metadata (for corrupt video metadata) |
string |
debugOverlay |
Instruct Encore to overlay encoding metadata on the encoded video stream |
boolean |
endTime |
Seek in video stream to given end time in ms (start time must currently be given) |
integer (int32) |
externalId |
External id - for external backreference |
string |
filename |
The input file that the EncoreJob should process |
string |
globalAudioFilters |
List of FFmpeg filters to apply to all audio outputs |
< string > array |
globalVideoFilters |
List of FFmpeg filters to apply to all video outputs |
< string > array |
id |
The Encore Internal EncoreJob Identity |
string (uuid) |
input |
||
logContext |
Key/Values to append to the MDC log context |
< string, string > map |
message |
The exception message, if the EncoreJob failed |
string |
output |
Analyzed models of the output files |
< object > array |
outputFolder |
A directory path to where the output should be written |
string |
padTo |
Pad output video to given aspect ratio |
string |
priority |
The queue priority of the EncoreJob |
integer (int32) |
profile |
The name of the encoding profile to use |
string |
progress |
The EncoreJob progress |
integer (int32) |
progressCallbackUri |
An url to which the progress status callback should be directed |
string (uri) |
speed |
The Encoding speed of the job (compared to it’s play speed/input duration) |
number (double) |
startTime |
Seek in video stream to given start time in ms (end time must currently be given) |
integer (int32) |
startedDate |
The time for when the EncoreJob was picked from the queue) |
string (date-time) |
status |
The Job Status |
enum (NEW, QUEUED, IN_PROGRESS, SUCCESSFUL, FAILED, CANCELLED) |
thumbnailTime |
Time in ms for when the thumbnail should be picked. Overrides profile configuration for thumbnails |
integer (int32) |
useFirstAudioStreams |
Only the audio input streams up to the given value |
integer (int32) |
EntityModelEncoreJob
Name | Description | Schema |
---|---|---|
_links |
||
completedDate |
The time for when the EncoreJob was completed (fail or success) |
string (date-time) |
createdDate |
The Creation date for the EncoreJob |
string (date-time) |
cropTo |
Crop output video to given aspect ratio |
string |
dar |
The Display Aspect Ratio to use if the input is anamorphic. Overrides DAR found from input metadata (for corrupt video metadata) |
string |
debugOverlay |
Instruct Encore to overlay encoding metadata on the encoded video stream |
boolean |
endTime |
Seek in video stream to given end time in ms (start time must currently be given) |
integer (int32) |
externalId |
External id - for external backreference |
string |
filename |
The input file that the EncoreJob should process |
string |
globalAudioFilters |
List of FFmpeg filters to apply to all audio outputs |
< string > array |
globalVideoFilters |
List of FFmpeg filters to apply to all video outputs |
< string > array |
id |
The Encore Internal EncoreJob Identity |
string (uuid) |
input |
||
logContext |
Key/Values to append to the MDC log context |
< string, string > map |
message |
The exception message, if the EncoreJob failed |
string |
output |
Analyzed models of the output files |
< MediaFile > array |
outputFolder |
A directory path to where the output should be written |
string |
padTo |
Pad output video to given aspect ratio |
string |
priority |
The queue priority of the EncoreJob |
integer (int32) |
profile |
The name of the encoding profile to use |
string |
progress |
The EncoreJob progress |
integer (int32) |
progressCallbackUri |
An url to which the progress status callback should be directed |
string (uri) |
speed |
The Encoding speed of the job (compared to it’s play speed/input duration) |
number (double) |
startTime |
Seek in video stream to given start time in ms (end time must currently be given) |
integer (int32) |
startedDate |
The time for when the EncoreJob was picked from the queue) |
string (date-time) |
status |
The Job Status |
enum (NEW, QUEUED, IN_PROGRESS, SUCCESSFUL, FAILED, CANCELLED) |
thumbnailTime |
Time in ms for when the thumbnail should be picked. Overrides profile configuration for thumbnails |
integer (int32) |
useFirstAudioStreams |
Only the audio input streams up to the given value |
integer (int32) |
ImageFile
Polymorphism : Inheritance
Discriminator : type
Name | Schema |
---|---|
file |
string |
fileSize |
integer (int64) |
format |
string |
height |
integer (int32) |
type |
string |
width |
integer (int32) |
Link
Name | Schema |
---|---|
deprecation |
string |
href |
string |
hreflang |
string |
name |
string |
profile |
string |
templated |
boolean |
title |
string |
type |
string |
Links
Type : < string, Link > map
MediaFile
Analyzed models of the output files
Name | Schema |
---|---|
file |
string |
fileSize |
integer (int64) |
format |
string |
type |
string |
PageMetadata
Name | Schema |
---|---|
number |
integer (int64) |
size |
integer (int64) |
totalElements |
integer (int64) |
totalPages |
integer (int64) |
PagedModelEncoreJob
Name | Schema |
---|---|
_embedded |
|
_links |
|
page |
_embedded
Name | Schema |
---|---|
encoreJobs |
< EncoreJob > array |
QueueItem
Name | Schema |
---|---|
created |
string (date-time) |
id |
string |
priority |
integer (int32) |
SubtitleFile
Polymorphism : Inheritance
Discriminator : type
Name | Schema |
---|---|
file |
string |
fileSize |
integer (int64) |
format |
string |
type |
string |
VideoFile
Polymorphism : Inheritance
Discriminator : type
Name | Schema |
---|---|
audioStreams |
< AudioStream > array |
duration |
number (double) |
file |
string |
fileSize |
integer (int64) |
format |
string |
overallBitrate |
integer (int64) |
type |
string |
videoStreams |
< VideoStream > array |
VideoStream
Name | Schema |
---|---|
bitDepth |
integer (int32) |
bitrate |
integer (int64) |
codec |
string |
displayAspectRatio |
string |
duration |
number (double) |
format |
string |
frameRate |
string |
height |
integer (int32) |
isInterlaced |
boolean |
level |
string |
numFrames |
integer (int32) |
pixelFormat |
string |
profile |
string |
sampleAspectRatio |
string |
transferCharacteristics |
string |
width |
integer (int32) |