Linking all generated doc pages to index. (refs #1608)
[arvados.git] / doc / api / resources.textile
1 ---
2 layout: default
3 navsection: api
4 title: Resources
5 navorder: 4
6 ---
7
8 h1. Resources
9
10 This page describes the common attributes of Arvados resources.
11
12 The list of resource types is on the "front page of the API Reference":./.
13
14 h2. Object IDs
15
16 Object IDs are alphanumeric strings, unique across all installations (each installation has a unique prefix to prevent collisions).
17
18 h2. Attributes of resources
19
20 table(table table-bordered table-condensed).
21 |*Attribute name*|*Value*|*Description*|*Example*|
22 |uuid|string|universally unique object identifier|@mk2qn-4zz18-w3anr2hk2wgfpuo@|
23 |href|string|a URL that can be used to address this resource||
24 |kind|string|@arvados#{resource_type}@|@arvados#collection@|
25 |etag|string|The ETag[1] of the resource|@1xlmizzjq7wro3dlb2dirf505@|
26 |self_link|string|||
27 |owner_uuid|string|UUID of owner (typically User or Project)|@mk2qn-tpzed-a4lcehql0dv2u25@|
28 |created_at|datetime|When resource was created|@2013-01-21T22:17:39Z@|
29 |modified_by_client_uuid|string|API client software which most recently modified the resource|@mk2qn-ozdt8-vq8l5qkzj7pr7h7@|
30 |modified_by_user_uuid|string|Authenticated user, on whose behalf the client was acting when modifying the resource|@mk2qn-tpzed-a4lcehql0dv2u25@|
31 |modified_at|datetime|When resource was last modified|@2013-01-25T22:29:32Z@|
32
33 h2. Attributes of resource lists
34
35 table(table table-bordered table-condensed).
36 |*Attribute name*|*Value*|*Description*|*Example*|
37 |kind|string|@arvados#{resource_type}_list@|@arvados#project_list@|
38 |etag|string|The ETag[1] of the resource list|@cd3o1wi9sf934saajykawrz2e@|
39 |self_link|string|||
40 |next_page_token|string|||
41 |next_link|string|||
42 |items[]|list|List of resources||
43
44
45 h2. ETags
46
47 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.
48