X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/715869b9a22e22ac68a7dbefa96f27150017f75d..332b0d1b4a9095f4e43893ec741f901b74b36ceb:/doc/api/methods/specimens.html.textile.liquid diff --git a/doc/api/methods/specimens.html.textile.liquid b/doc/api/methods/specimens.html.textile.liquid index f56542dc6b..be3712a206 100644 --- a/doc/api/methods/specimens.html.textile.liquid +++ b/doc/api/methods/specimens.html.textile.liquid @@ -3,90 +3,75 @@ layout: default navsection: api navmenu: API Methods title: "specimens" - ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. -h1. specimens - -Required arguments are displayed in %{background:#ccffcc}green%. - +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} -h2. create +p=. *Deprecated, likely to be removed in a future version. The recommended way to store metadata is "collection properties":collections.html* -Create a new Specimen. +API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/specimens@ -Arguments: +Object type: @j58dm@ -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -|specimen|object||query|| +Example UUID: @zzzzz-j58dm-0123456789abcde@ -h2. delete +h2. Resource -Delete an existing Specimen. +A metadata record that may be used to represent a biological specimen. -Arguments: +Each Specimen has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html: table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -{background:#ccffcc}.|uuid|string|The UUID of the Specimen in question.|path|| - -h2. destroy +|_. Attribute|_. Type|_. Description|_. Example| +|material|string||| +|properties|hash||| -destroy specimens +h2. Methods -Arguments: +See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@. -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -{background:#ccffcc}.|uuid|string||path|| +Required arguments are displayed in %{background:#ccffcc}green%. -h2. get +h3. create -Gets a Specimen's metadata by UUID. +Create a new Specimen. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | -{background:#ccffcc}.|uuid|string|The UUID of the Specimen in question.|path|| +|specimen|object||query|| -h2. index +h3. delete -index specimens +Delete an existing Specimen. 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 Specimen in question.|path|| -h2. list +h3. get -List specimens. +Gets a Specimen's metadata by UUID. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | -|limit|integer (default 100)|Maximum number of specimens to return.|query|| -|order|string|Order in which to return matching specimens.|query|| -|pageToken|string|Page token.|query|| -|q|string|Query string for searching specimens.|query|| -|where|object|Conditions for filtering specimens.|query|| - -h2. show +{background:#ccffcc}.|uuid|string|The UUID of the Specimen in question.|path|| -show specimens +h3. list -Arguments: +List specimens. -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 Specimen.