17301: Shorted OOM message. Limit added detail to 40 lines.
[arvados.git] / doc / api / methods / job_tasks.html.textile.liquid
index daf4aa28d69f51c7374c0c7e42807add8339bf60..69c3f07e3006a29ae3f64f7d6540aaf95343561d 100644 (file)
@@ -5,88 +5,89 @@ navmenu: API Methods
 title: "job_tasks"
 
 ...
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
 
-h1. job_tasks
-
-Required arguments are displayed in %{background:#ccffcc}green%.
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
 
+p=. *Legacy.  This endpoint is read-only and disabled by default in new installations.*
 
-h2. create
+API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/job_tasks@
 
-Create a new JobTask.
+Object type: @ot0gb@
 
-Arguments:
+Example UUID: @zzzzz-ot0gb-0123456789abcde@
 
-table(table table-bordered table-condensed).
-|_. Argument |_. Type |_. Description |_. Location |_. Example |
-|job_task|object||query||
+h2. Resource
 
-h2. delete
+Deprecated.
 
-Delete an existing JobTask.
+A job task is a individually scheduled unit of work executed as part of an overall job.
 
-Arguments:
+Each JobTask has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html:
 
 table(table table-bordered table-condensed).
-|_. Argument |_. Type |_. Description |_. Location |_. Example |
-{background:#ccffcc}.|uuid|string|The UUID of the JobTask in question.|path||
+|_. Attribute|_. Type|_. Description|_. Example|
+|sequence|integer|Execution sequence.
+A step cannot be run until all steps with lower sequence numbers have completed.
+Job steps with the same sequence number can be run in any order.||
+|parameters|hash|||
+|output|text|||
+|progress|float|||
+|success|boolean|Is null if the task has neither completed successfully nor failed permanently.||
 
-h2. destroy
+The following attributes should not be updated by anyone other than the job manager:
 
-destroy job_tasks
+table(table table-bordered table-condensed).
+|_. Attribute|_. Type|_. Description|_. Notes|
+|qsequence|integer|Order of arrival|0-based|
+|job_uuid|string|||
+|created_by_job_task_uuid|string|||
 
-Arguments:
+h2. Methods
 
-table(table table-bordered table-condensed).
-|_. Argument |_. Type |_. Description |_. Location |_. Example |
-{background:#ccffcc}.|uuid|string||path||
+See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@.
 
-h2. get
+Required arguments are displayed in %{background:#ccffcc}green%.
 
-Gets a JobTask's metadata by UUID.
+h3. create
+
+Create a new JobTask.
 
 Arguments:
 
 table(table table-bordered table-condensed).
 |_. Argument |_. Type |_. Description |_. Location |_. Example |
-{background:#ccffcc}.|uuid|string|The UUID of the JobTask in question.|path||
+|job_task|object||query||
 
-h2. index
+h3. delete
 
-index job_tasks
+Delete an existing JobTask.
 
 Arguments:
 
 table(table table-bordered table-condensed).
 |_. Argument |_. Type |_. Description |_. Location |_. Example |
-|order|string||query||
-|where|object||query||
+{background:#ccffcc}.|uuid|string|The UUID of the JobTask in question.|path||
 
-h2. list
+h3. get
 
-List job_tasks.
+Gets a JobTask's metadata by UUID.
 
 Arguments:
 
 table(table table-bordered table-condensed).
 |_. Argument |_. Type |_. Description |_. Location |_. Example |
-|limit|integer (default 100)|Maximum number of job_tasks to return.|query||
-|order|string|Order in which to return matching job_tasks.|query||
-|pageToken|string|Page token.|query||
-|q|string|Query string for searching job_tasks.|query||
-|where|object|Conditions for filtering job_tasks.|query||
-
-h2. show
+{background:#ccffcc}.|uuid|string|The UUID of the JobTask in question.|path||
 
-show job_tasks
+h3. list
 
-Arguments:
+List job_tasks.
 
-table(table table-bordered table-condensed).
-|_. Argument |_. Type |_. Description |_. Location |_. Example |
-{background:#ccffcc}.|uuid|string||path||
+See "common resource list method.":{{site.baseurl}}/api/methods.html#index
 
-h2. update
+h3. update
 
 Update attributes of an existing JobTask.