projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17009: Support accessing S3 with virtual hosted-style URLs.
[arvados.git]
/
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 968cfb6964dda5a18a977f15c39d902d4a9aac0c..e48804702eac9fd330d2431cf8e189a01188357d 100644
(file)
--- a/
doc/api/methods/traits.html.textile.liquid
+++ b/
doc/api/methods/traits.html.textile.liquid
@@
-5,45
+5,50
@@
navmenu: API Methods
title: "traits"
...
title: "traits"
...
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
+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*
-Required arguments are displayed in %{background:#ccffcc}green%.
+API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/traits@
+Object type: @q1cn2@
-h2. create
+Example UUID: @zzzzz-q1cn2-0123456789abcde@
-Create a new Trait.
+h2. Resource
-Arguments:
+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).
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%.
-h
2. destroy
+h
3. create
-destroy traits
+Create a new Trait.
Arguments:
table(table table-bordered table-condensed).
|_. Argument |_. Type |_. Description |_. Location |_. Example |
Arguments:
table(table table-bordered table-condensed).
|_. Argument |_. Type |_. Description |_. Location |_. Example |
-
{background:#ccffcc}.|uuid|string||path
||
+
|trait|object||query
||
-h
2. get
+h
3. delete
-
Gets a Trait's metadata by UUID
.
+
Delete an existing Trait
.
Arguments:
Arguments:
@@
-51,29
+56,23
@@
table(table table-bordered table-condensed).
|_. Argument |_. Type |_. Description |_. Location |_. Example |
{background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path||
|_. Argument |_. Type |_. Description |_. Location |_. Example |
{background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path||
-h
2. lis
t
+h
3. ge
t
-
List traits
.
+
Gets a Trait's metadata by UUID
.
Arguments:
table(table table-bordered table-condensed).
|_. Argument |_. Type |_. Description |_. Location |_. Example |
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||
-
-h2. show
+{background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path||
-show traits
+h3. list
-Arguments:
+List traits.
-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
-h
2
. update
+h
3
. update
Update attributes of an existing Trait.
Update attributes of an existing Trait.