X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/172496748cb0a149426e8a10cb4fd1c64e20dbe7..2be95ce7f069d9eb131b0d2d922a5e556f75810c:/doc/api/methods/api_clients.html.textile.liquid diff --git a/doc/api/methods/api_clients.html.textile.liquid b/doc/api/methods/api_clients.html.textile.liquid index ddb66f51f6..3f7abd4113 100644 --- a/doc/api/methods/api_clients.html.textile.liquid +++ b/doc/api/methods/api_clients.html.textile.liquid @@ -5,43 +5,57 @@ navmenu: API Methods title: "api_clients" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} +API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/api_clients@ -Required arguments are displayed in %{background:#ccffcc}green%. +Object type: @ozdt8@ +Example UUID: @zzzzz-ozdt8-0123456789abcde@ -h2. create +h2. Resource -Create a new ApiClient. +The "api_clients" resource determines if web applications that have gone through the browser login flow may create or list API tokens. -Arguments: +Each ApiClient has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html: table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -|api_client|object||query|| +|_. Attribute|_. Type|_. Description|_. Example| +|name|string||| +|url_prefix|string||| +|is_trusted|boolean|Trusted by users to handle their API tokens (ApiClientAuthorizations).|| -h2. delete +h2. Methods -Delete an existing ApiClient. +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 ApiClient. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | -{background:#ccffcc}.|uuid|string|The UUID of the ApiClient in question.|path|| +|api_client|object||query|| -h2. destroy +h3. delete -destroy api_clients +Delete an existing ApiClient. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | -{background:#ccffcc}.|uuid|string||path|| +{background:#ccffcc}.|uuid|string|The UUID of the ApiClient in question.|path|| -h2. get +h3. get Gets a ApiClient's metadata by UUID. @@ -51,19 +65,13 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the ApiClient in question.|path|| -h2. list +h3. list List api_clients. -Arguments: - -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -|limit|integer (default 100)|Maximum number of api_clients to return.|query|| -|order|string|Order in which to return matching api_clients.|query|| -|filters|array|Conditions for filtering api_clients.|query|| +See "common resource list method.":{{site.baseurl}}/api/methods.html#index -h2. update +h3. update Update attributes of an existing ApiClient.