...
+API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/traits@
+Object type: @q1cn2@
-Required arguments are displayed in %{background:#ccffcc}green%.
-
+Example UUID: @zzzzz-q1cn2-0123456789abcde@
-h2. create
+h2. Resource
-Create a new Trait.
+A metadata record that may be used to represent a genotype or phenotype trait.
-Arguments:
+Each Trait has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html:
table(table table-bordered table-condensed).
-|_. Argument |_. Type |_. Description |_. Location |_. Example |
-|trait|object||query||
+|_. Attribute|_. Type|_. Description|_. Example|
+|name|string|||
+|properties|hash|||
-h2. delete
+h2. Methods
-Delete an existing Trait.
+See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@.
-Arguments:
-
-table(table table-bordered table-condensed).
-|_. Argument |_. Type |_. Description |_. Location |_. Example |
-{background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path||
+Required arguments are displayed in %{background:#ccffcc}green%.
-h2. destroy
+h3. create
-destroy traits
+Create a new Trait.
Arguments:
table(table table-bordered table-condensed).
|_. Argument |_. Type |_. Description |_. Location |_. Example |
-{background:#ccffcc}.|uuid|string||path||
+|trait|object||query||
-h2. get
+h3. delete
-Gets a Trait's metadata by UUID.
+Delete an existing Trait.
Arguments:
|_. Argument |_. Type |_. Description |_. Location |_. Example |
{background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path||
-h2. index
+h3. get
-index traits
+Gets a Trait's metadata by UUID.
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 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||
-|pageToken|string|Page token.|query||
-|q|string|Query string for searching traits.|query||
-|where|object|Conditions for filtering traits.|query||
-
-h2. show
-
-show traits
-
-Arguments:
-
-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 Trait.