Merge branch 'master' of git.curoverse.com:arvados into 13330-cwl-intermediate-collec...
[arvados.git] / doc / api / methods / traits.html.textile.liquid
index 01ab6778a32b3090530199c8db77898e4cea06f1..34b60cfe7e143b307372d6ac9c1c5994e317f64e 100644 (file)
@@ -5,20 +5,23 @@ 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 %}
 
 API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/traits@
 
-UUID type: @q1cn2@
+Object type: @q1cn2@
 
-Required arguments are displayed in %{background:#ccffcc}green%.
+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 usual "attributes of Arvados resources":{{site.baseurl}}/api/resources.html:
+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|
@@ -27,6 +30,10 @@ table(table table-bordered table-condensed).
 
 h2. Methods
 
+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.
@@ -61,13 +68,7 @@ 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
 
 h3. update