rename foreign uuid attributes
[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 |kind|string|@arvados#{resource_type}@|@arvados#collection@|
24 |etag|string|The ETag[1] of the resource|@1xlmizzjq7wro3dlb2dirf505@|
25 |self_link|string|||
26 |owner_uuid|string|UUID of owner (typically User or Project)|@mk2qn-tpzed-a4lcehql0dv2u25@|
27 |created_at|datetime|When resource was created|@2013-01-21T22:17:39Z@|
28 |modified_by_client_uuid|string|API client software which most recently modified the resource|@mk2qn-ozdt8-vq8l5qkzj7pr7h7@|
29 |modified_by_user_uuid|string|Authenticated user, on whose behalf the client was acting when modifying the resource|@mk2qn-tpzed-a4lcehql0dv2u25@|
30 |modified_at|datetime|When resource was last modified|@2013-01-25T22:29:32Z@|
31
32 h2. Attributes of resource lists
33
34 table(table table-bordered table-condensed).
35 |*Attribute name*|*Value*|*Description*|*Example*|
36 |kind|string|@arvados#{resource_type}_list@|@arvados#project_list@|
37 |etag|string|The ETag[1] of the resource list|@cd3o1wi9sf934saajykawrz2e@|
38 |self_link|string|||
39 |next_page_token|string|||
40 |next_link|string|||
41 |items[]|list|List of resources||
42
43
44 h2. ETags
45
46 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.
47