X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5d83a6b6e8a76bfa79a9929c0658eeb7409c4574..5b863886118890cc81b728a3a606ea823c836f2b:/doc/api/methods/repositories.html.textile.liquid diff --git a/doc/api/methods/repositories.html.textile.liquid b/doc/api/methods/repositories.html.textile.liquid index 7bd8dd9d42..7a47da6a3b 100644 --- a/doc/api/methods/repositories.html.textile.liquid +++ b/doc/api/methods/repositories.html.textile.liquid @@ -5,15 +5,39 @@ navmenu: API Methods title: "repositories" ... +{% 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/repositories@ -Required arguments are displayed in %{background:#ccffcc}green%. +Object type: @s0uqq@ + +Example UUID: @zzzzz-s0uqq-0123456789abcde@ + +h2. Resource + +The repositories resource lists git repositories managed by Arvados. + +Each Repository has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html: + +table(table table-bordered table-condensed). +|_. Attribute|_. Type|_. Description|_. Example| +|name|string|The name of the repository on disk. Repository names must begin with a letter and contain only alphanumerics. Unless the repository is owned by the system user, the name must begin with the owner's username, then be separated from the base repository name with @/@. You may not create a repository that is owned by a user without a username.|@username/project1@| +|clone_urls|array|URLs from which the repository can be cloned. Read-only.|@["git@git.zzzzz.arvadosapi.com:foo/bar.git", + "https://git.zzzzz.arvadosapi.com/foo/bar.git"]@| +|fetch_url|string|URL suggested as a fetch-url in git config. Deprecated. Read-only.|| +|push_url|string|URL suggested as a push-url in git config. Deprecated. Read-only.|| +h2. Methods -h2. create +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 Repository. @@ -23,7 +47,7 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | |repository|object||query|| -h2. delete +h3. delete Delete an existing Repository. @@ -33,7 +57,7 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Repository in question.|path|| -h2. get +h3. get Gets a Repository's metadata by UUID. @@ -43,7 +67,7 @@ table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Repository in question.|path|| -h2. get_all_permissions +h3. get_all_permissions get_all_permissions repositories @@ -52,19 +76,13 @@ Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | -h2. list +h3. list List repositories. -Arguments: - -table(table table-bordered table-condensed). -|_. Argument |_. Type |_. Description |_. Location |_. Example | -|limit|integer (default 100)|Maximum number of repositories to return.|query|| -|order|string|Order in which to return matching repositories.|query|| -|filters|array|Conditions for filtering repositories.|query|| +See "common resource list method.":{{site.baseurl}}/api/methods.html#index -h2. update +h3. update Update attributes of an existing Repository.