Skip to content

Commit

Permalink
EN-3145: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
echistyakov committed Mar 6, 2015
1 parent aeafa45 commit 4c21b72
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion api/source/access_control/generate_api_key.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ even if keys already exist.
| | `Contents` | .. code-block:: javascript |
| | | |
| | | { |
| | | "ApiKey" : "The new long term ApiKey" |
| | | "ApiKey": "The new long term ApiKey" |
| | | } |
+-----------+---------------+--------------------------------------------------------------------------+
| 400 | `Description` | An error occurred |
Expand Down
4 changes: 2 additions & 2 deletions api/source/job_control/create_job.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Creating a job is prerequisite for virtually all other methods.
| | `Contents` | .. code-block:: javascript |
| | | |
| | | { |
| | | "JobId" : "An ID which can be used to refer to this job", |
| | | "TaskId" : "An ID for tracking tasks within a job" |
| | | "JobId": "An ID which can be used to refer to this job", |
| | | "TaskId": "An ID for tracking tasks within a job" |
| | | } |
+-----------+---------------+--------------------------------------------------------------------------+
| 400 | `Description` | An error occurred |
Expand Down
2 changes: 1 addition & 1 deletion api/source/job_control/delete_job.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ and we will do our best to accommodate your request.
| | `Contents` | .. code-block:: javascript |
| | | |
| | | { |
| | | "TaskId" : "Encoded Task ID" |
| | | "TaskId": "Encoded Task ID" |
| | | } |
+-----------+---------------+--------------------------------------------------------------------------+
| 400 | `Description` | An error occurred |
Expand Down
4 changes: 2 additions & 2 deletions api/source/job_control/get_caption.rst
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ The job must have completed transcription before a caption can be downloaded.
| | `Contents` | .. code-block:: javascript |
| | | |
| | | { |
| | | "CaptionUrl" : "Hosted URL" |
| | | "CaptionUrl": "Hosted URL" |
| | | } |
+-----------+---------------+--------------------------------------------------------------------------+
| 400 | `Description` | An error occurred |
Expand Down Expand Up @@ -617,4 +617,4 @@ The job must have completed transcription before a caption can be downloaded.
HTTP/1.1 200 OK
Content-Type: application/json

{ "CaptionUrl" : "http://domain.com/path/file.srt" }
{ "CaptionUrl": "http://domain.com/path/file.srt" }
5 changes: 3 additions & 2 deletions api/source/job_control/job_info.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,13 @@ Get a list of all tasks associated with an existing job.
"ExternalID": "sample_id",
"Priority": "STANDARD",
"Fidelity": "MECHANICAL",
"TurnaroundTimeHours": 48"JobStatus": "Complete",
"TurnaroundTimeHours": 48,
"JobStatus": "Complete",
"SourceLanguage": "en",
"TargetLanguage": "en",
"CreationDate": "2014-08-27T14:00:06.472706",
"StartDate": "2014-08-27T14:00:06.472706",
"DueDate": "2014-08-29T14:00:06.472706",
"DueDate": "2014-08-29T14:00:06.472706",
"CompletedDate": "2014-08-27T14:10:41.923125",
"ReturnTargets": {
"url": [
Expand Down
8 changes: 4 additions & 4 deletions api/source/job_control/job_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,14 @@ The list is sorted by default to the creation time of the job, descending.

.. sourcecode:: http

GET /api/job/list?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f HTTP/1.1
&CompleteDateTo=2014-08-27T14:44:54
GET /api/job/list?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f
&CompleteDateTo=2014-08-27T14%3A44%3A54 HTTP/1.1
Host: api.cielo24.com

.. sourcecode:: http

GET /api/job/list?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f HTTP/1.1
&CompleteDateTo=2014-08-27
GET /api/job/list?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f
&CompleteDateTo=2014-08-27 HTTP/1.1
Host: api.cielo24.com

**Example Response**
Expand Down
5 changes: 2 additions & 3 deletions api/source/job_control/perform_transcription.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ See :ref:`callback documentation <callbacks-label>` for details.
**Job Options**
| The following options can be provided as a stringified dictionary.
| The resulting string will be the value of the `options` query parameter.
| Example:
| ``options={"notes":"test_note","speaker_id":"true"}``
| Example: ``options={"notes":"test_note","speaker_id":"true"}``
+-------------------------+-----------------------------------------------------------------------------------------+
| Name | Details |
Expand Down Expand Up @@ -191,7 +190,7 @@ See :ref:`callback documentation <callbacks-label>` for details.
| | Requests that media intelligence be generated for the specified </br> |
| | interim/final versions of the transcript. Media intelligence data is</br> |
| | added to the ElementList and can be retrieve using the</br> |
| | :doc:`get_elementlist <job_control/get_elementlist>` API call.</br> |
| | <i>get_elementlist</i> API call.</br> |
| | |
| | .. container:: |
| | |
Expand Down

0 comments on commit 4c21b72

Please sign in to comment.