10346: Checkpoint
authorPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 31 Oct 2016 18:04:08 +0000 (14:04 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 31 Oct 2016 18:04:08 +0000 (14:04 -0400)
doc/_config.yml
doc/api/examples.html.textile.liquid [deleted file]
doc/api/methods.html.textile.liquid
doc/api/requests.html.textile.liquid
doc/api/resources.html.textile.liquid
doc/sdk/index.html.textile.liquid

index 87aa1ce9bdb46bcc5178a74e35be5f31d6baa314..92b7d38fb67d930724d7c0134f9d7a4e7c12345c 100644 (file)
@@ -101,7 +101,6 @@ navbar:
       - api/methods.html.textile.liquid
       - api/resources.html.textile.liquid
       - api/permission-model.html.textile.liquid
-      - api/examples.html.textile.liquid
     - Permission and authentication:
       - api/methods/users.html.textile.liquid
       - api/methods/groups.html.textile.liquid
diff --git a/doc/api/examples.html.textile.liquid b/doc/api/examples.html.textile.liquid
deleted file mode 100644 (file)
index 2bcebc1..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
----
-layout: default
-navsection: api
-navmenu: Concepts
-title: Examples
-...
index f39277805ed1a540ee1d92cab7f02e53ef752182..5b35c16a8156f95a46bd389a86e26d4ea4a41a13 100644 (file)
@@ -12,7 +12,7 @@ The methods are relative to the base URI, e.g. @/arvados/v1/resource_type@.  For
 
 h2. create
 
-The @create@ method creates a new object of the specified type.  It corresponds to the HTTP request @POST /arvados/v1/resource_type@.  A successful create call returns a copy of the new object.
+The @create@ method creates a new object of the specified type.  Note that only the listed attributes (and "standard metadata":resources.html) are set, unset attributes will get default values, and the attributes of a given resource type are fixed (you cannot introduce new toplevel attributes).  It corresponds to the HTTP request @POST /arvados/v1/resource_type@.  A successful create call returns a copy of the new object.
 
 Arguments:
 
@@ -96,7 +96,7 @@ table(table table-bordered table-condensed).
 
 h2. update
 
-The @update@ method updates fields on the object with the specified @uuid@.  It corresponds to the HTTP request @PUT /arvados/v1/resource_type/uuid@.  A successful update call returns the updated copy of the object.
+The @update@ method updates fields on the object with the specified @uuid@.  It corresponds to the HTTP request @PUT /arvados/v1/resource_type/uuid@.  Note that only the listed attributes (and "standard metadata":resources.html) are updated, unset attributes will retain their previous values, and the attributes of a given resource type are fixed (you cannot introduce new toplevel attributes).  Also note that updates replace the value of the attribute, so if an attribute has an object value, the entire object is replaced.  A successful update call returns the updated copy of the object.
 
 table(table table-bordered table-condensed).
 |_. Argument |_. Type |_. Description |_. Location |
index 187aab47d54126cc21d0f77009aa9edabfff0be4..3f0883bfe08034d9561baa80591e52a167565e93 100644 (file)
@@ -17,7 +17,7 @@ Use @PUT@ to update an existing resource.
 
 Use @DELETE@ to remove an existing resource.
 
-As a special case, a @POST@ with the query parameter @_method=GET@ will be treated as a GET request.  This makes it possible to have @GET@ requests where the query string exceeds the permitted request URI length, by putting the query string in the body of the request.
+As a special case, a @POST@ with the query parameter @_method=GET@ will be treated as a GET request.  This makes it possible to issue @GET@ requests where the query string exceeds the maximum request URI length, by putting the query string in the body of the request.
 
 h3. Request URI
 
index 07470c1a16a983fbd41f7fbf041e3ee9ed0be0ca..7daa5547417771d89044cfa9fdcb4ce0123a2c8d 100644 (file)
@@ -12,20 +12,19 @@ h2(#resource). Resource
 
 table(table table-bordered table-condensed).
 |_. Attribute |_. Type |_. Description |_. Example|
-|uuid|string|universally unique object identifier|@mk2qn-4zz18-w3anr2hk2wgfpuo@|
+|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@, may be updated explicitly|@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@|
-|owner_uuid|string|UUID of owner (must be a User or Group)|@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. Object UUID
 
 Each object is assigned a UUID.  This has the format @aaaaa-bbbbb-ccccccccccccccc@.
-format.
 
 # 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.
index db5d6f13b0cbdc08c62f1f156ca70bafdd23e88b..e440e6b8c6a4cc43a051a8c32d7fa19273655b74 100644 (file)
@@ -4,16 +4,11 @@ navsection: sdk
 title: "Arvados SDK Reference"
 ...
 
-This section documents how to access the Arvados API and Keep using various programming languages.
+This section documents language bindings for the "Arvados API":{{site.baseurl}}/api and Keep that are available for various programming languages.  Not all features are available in every SDK.  The most complete SDK is the Python SDK.  Note that this section only gives a high level overview of each SDK.  Consult the "Arvados API":{{site.baseurl}}/api section for detailed documentation about Arvados API calls available on each resource.
 
 * "Python SDK":{{site.baseurl}}/sdk/python/sdk-python.html
+* "Command line SDK":{{site.baseurl}}/sdk/cli/index.html ("arv")
+* "Go SDK":{{site.baseurl}}/sdk/go/index.html
 * "Perl SDK":{{site.baseurl}}/sdk/perl/index.html
 * "Ruby SDK":{{site.baseurl}}/sdk/ruby/index.html
 * "Java SDK":{{site.baseurl}}/sdk/java/index.html
-* "Go SDK":{{site.baseurl}}/sdk/go/index.html
-* "Command line SDK":{{site.baseurl}}/sdk/cli/index.html ("arv")
-
-SDKs not yet implemented:
-
-* Rails SDK: Workbench uses an ActiveRecord-like interface to Arvados. This hasn't yet been extracted from Workbench and packaged as a gem.
-* R: We plan to support this, but it has not been implemented yet.