X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..d4ed3e6460469f2766e1f1676c538d6c86e000b6:/doc/api/methods/traits.html.textile.liquid diff --git a/doc/api/methods/traits.html.textile.liquid b/doc/api/methods/traits.html.textile.liquid index 9b19a0880b..e48804702e 100644 --- a/doc/api/methods/traits.html.textile.liquid +++ b/doc/api/methods/traits.html.textile.liquid @@ -5,15 +5,38 @@ navmenu: API Methods title: "traits" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. -See "REST methods for working with Arvados resources":{{site.baseurl}}/api/methods.html +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} + +p=. *Deprecated, likely to be removed in a future version. The recommended way to store metadata is "collection properties":collections.html* API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/traits@ -Required arguments are displayed in %{background:#ccffcc}green%. +Object type: @q1cn2@ + +Example UUID: @zzzzz-q1cn2-0123456789abcde@ + +h2. Resource + +A metadata record that may be used to represent a genotype or phenotype trait. + +Each Trait has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html: + +table(table table-bordered table-condensed). +|_. Attribute|_. Type|_. Description|_. Example| +|name|string||| +|properties|hash||| +h2. Methods -h2. create +See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@. + +Required arguments are displayed in %{background:#ccffcc}green%. + +h3. create Create a new Trait. @@ -23,7 +46,7 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | |trait|object||query|| -h2. delete +h3. delete Delete an existing Trait. @@ -33,7 +56,7 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path|| -h2. get +h3. get Gets a Trait's metadata by UUID. @@ -43,19 +66,13 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path|| -h2. list +h3. list List traits. -Arguments: - -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -|limit|integer (default 100)|Maximum number of traits to return.|query|| -|order|string|Order in which to return matching traits.|query|| -|filters|array|Conditions for filtering traits.|query|| +See "common resource list method.":{{site.baseurl}}/api/methods.html#index -h2. update +h3. update Update attributes of an existing Trait.