Overview of failed jobs.
/job/failures [GET]
This call needs EGA authentication.
| Parameter (Type) | Description | Required | Default value | Max. length |
|---|---|---|---|---|
| limit (INT) | Limit of the items of the result set. | Optional | 10 | - |
| mediamosa_version (MEDIAMOSA_VERSION) | Provide the version to get the REST call returned in the format of the specified MediaMosa version. Keep empty or skip to retrieve in current (latest) version. Provide '2' to retrieve the REST call in 2.x format. Or be more specific by providing up to 3 digits; '2.3.0'. This setting will override any setting used by client application or the default setting in MediaMosa. | Optional | - | |
| offset (UINT) | The starting items position in the result set. | Optional | 0 | - |
| order_by (ALPHA_NUM_UNDERSCORE) | On what column the result set should be ordered. | Optional | - | |
| order_direction (ALPHA) | The direction of the result set. | Optional | asc | - |
| visibility (ALPHA) | The visibility attribute. Value (when supplied) must be either "display" or "hidden". | Optional | display | - |
job/failures
Comments
What does the example
Posted by UvA-Tom on December 14th, 2011 - 13:51What does the example response look like? Please provide example output.
Tom, An example: <?xml
Posted by forgacs on December 14th, 2011 - 14:02Tom,
An example:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<header>
<item_count>1</item_count>
<item_count_total>1</item_count_total>
<item_offset>0</item_offset>
<request_class>mediamosa_rest_call_job_failures</request_class>
<request_matched_method>GET</request_matched_method>
<request_matched_uri>/job/failures</request_matched_uri>
<request_query_count>1</request_query_count>
<request_result>success</request_result>
<request_result_description/>
<request_result_id>601</request_result_id>
<request_uri>[GET] job/failures?user_id=admin&is_app_admin=TRUE</request_uri>
<version>3.0.7.1787</version>
<request_process_time>0.0974</request_process_time>
</header>
<items>
<item>
<job_id>3292</job_id>
<job_asset_id>A2OLRiXEdXNVUhORsqPluNJo</job_asset_id>
<job_mediafile_id>wCH1VbUaRujdjZkXO5uoWnsk</job_mediafile_id>
<job_app_id>14</job_app_id>
<job_type>TRANSCODE</job_type>
<job_started>2011-06-29 10:39:28</job_started>
<job_modified>2011-06-29 10:39:25</job_modified>
<job_filename>sample.wmv</job_filename>
<job_error_description>Error: ffmpeg returned a non-zero exit code: 1</job_error_description>
</item>
</items>