X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7a98271d94163cdc4afa5bfcf275db353bc062d2..fb7dca3e3f07d37ad542f0e7cdf177f616493fe9:/doc/api/resources.html.textile.liquid diff --git a/doc/api/resources.html.textile.liquid b/doc/api/resources.html.textile.liquid index 0f800a51b2..2c4491f621 100644 --- a/doc/api/resources.html.textile.liquid +++ b/doc/api/resources.html.textile.liquid @@ -2,48 +2,43 @@ layout: default navsection: api navmenu: Concepts -title: Resources +title: Common resource fields ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. - +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} This page describes the common attributes of Arvados resources. -The list of resource types is on the "front page of the API Reference":./. - -h2. Object IDs - -Object IDs are alphanumeric strings, unique across all installations (each installation has a unique prefix to prevent collisions). - -h2. Attributes of resources +h2(#resource). Resource table(table table-bordered table-condensed). -|*Attribute*|*Type*|*Description*|*Example*| -|uuid|string|universally unique object identifier|@mk2qn-4zz18-w3anr2hk2wgfpuo@| +|_. Attribute |_. Type |_. Description |_. Example| +|uuid|string|universally unique object identifier, set on @create@|@mk2qn-4zz18-w3anr2hk2wgfpuo@| +|owner_uuid|string|UUID of owner (must be a User or Group), set on @create@, controls who may access the resource, ownership may be changed explicitly with @update@, see "permission model":{{site.baseurl}}/api/permission-model.html for details.|@mk2qn-tpzed-a4lcehql0dv2u25@| +|created_at|datetime|When resource was created, set on @create@|@2013-01-21T22:17:39Z@| +|modified_by_client_uuid|string|API client software which most recently modified the resource, set on @create@ and @update@|@mk2qn-ozdt8-vq8l5qkzj7pr7h7@| +|modified_by_user_uuid|string|Authenticated user, on whose behalf the client was acting when modifying the resource, set on @create@ and @update@|@mk2qn-tpzed-a4lcehql0dv2u25@| +|modified_at|datetime|When resource was last modified, set on @create@ and @update@|@2013-01-25T22:29:32Z@| |href|string|a URL that can be used to address this resource|| |kind|string|@arvados#{resource_type}@|@arvados#collection@| |etag|string|The ETag[1] of the resource|@1xlmizzjq7wro3dlb2dirf505@| -|self_link|string||| -|owner_uuid|string|UUID of owner (typically User or Project)|@mk2qn-tpzed-a4lcehql0dv2u25@| -|created_at|datetime|When resource was created|@2013-01-21T22:17:39Z@| -|modified_by_client_uuid|string|API client software which most recently modified the resource|@mk2qn-ozdt8-vq8l5qkzj7pr7h7@| -|modified_by_user_uuid|string|Authenticated user, on whose behalf the client was acting when modifying the resource|@mk2qn-tpzed-a4lcehql0dv2u25@| -|modified_at|datetime|When resource was last modified|@2013-01-25T22:29:32Z@| -h2. Attributes of resource lists +h2. Object UUID -table(table table-bordered table-condensed). -|*Attribute*|*Type*|*Description*|*Example*| -|kind|string|@arvados#{resource_type}List@|@arvados#projectList@| -|etag|string|The ETag[1] of the resource list|@cd3o1wi9sf934saajykawrz2e@| -|self_link|string||| -|next_page_token|string||| -|next_link|string||| -|items[]|list|List of resources|| +Each object is assigned a UUID. This has the format @aaaaa-bbbbb-ccccccccccccccc@. + +# The first field (@aaaaa@ in the example) is the site prefix. This is unique to a specific Arvados installation. +# The second field (@bbbbb@ in the example) is the object type. +# The third field (@ccccccccccccccc@ in the example) uniquely identifies the object. +h2. Timestamps + +All Arvados timestamps follow ISO 8601 datetime format with fractional seconds (microsecond precision). All timestamps are UTC. Date format: @YYYY-mm-ddTHH:MM:SS.SSSSZ@ example date: @2016-11-08T21:38:24.124834000Z@. h2. ETags fn1. Each response includes an ETag, a string which changes when the resource changes. Clients can use this to check whether a resource has changed since they last retrieved it. If a previous ETag is provided along with a request, and the resource has not changed since, the server may return a "not modified" response. -