12033: Avoid startsWith(), unsupported in test suite.
[arvados.git] / doc / api / methods / container_requests.html.textile.liquid
index 446ba1518aa68e1c9e3308072c1343c63e203ddf..6c4d3cda7510e5e364c2055aaae31f8374964e61 100644 (file)
@@ -5,6 +5,11 @@ navmenu: API Methods
 title: "container_requests"
 
 ...
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
 
 API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/container_requests@
 
@@ -44,7 +49,7 @@ table(table table-bordered table-condensed).
 |command|array of strings|Command to execute in the container.|Required. e.g., @["echo","hello"]@|
 |output_path|string|Path to a directory or file inside the container that should be preserved as container's output when it finishes. This path must be, or be inside, one of the mount targets. For best performance, point output_path to a writable collection mount. Also, see "Pre-populate output using Mount points":#pre-populate-output for details regarding optional output pre-population using mount points.|Required.|
 |output_name|string|Desired name for the output collection. If null, a name will be assigned automatically.||
-|output_ttl|integer|Desired lifetime for the output collection. If zero, the output collection will not be deleted automatically.||
+|output_ttl|integer|Desired lifetime for the output collection, in seconds. If zero, the output collection will not be deleted automatically.||
 |priority|integer|Higher value means spend more resources on this container_request, i.e., go ahead of other queued containers, bring up more nodes etc.|Priority 0 means a container should not be run on behalf of this request. Clients are expected to submit container requests with zero priority in order to preview the container that will be used to satisfy it. Priority can be null if and only if state!="Committed".|
 |expires_at|datetime|After this time, priority is considered to be zero.|Not yet implemented.|
 |use_existing|boolean|If possible, use an existing (non-failed) container to satisfy the request instead of creating a new one.|Default is true|