[ARVADOS] updated: 8e569c16ba035b131c148441ca5a590fb49811ac
Git user
git at public.curoverse.com
Tue Jan 24 13:52:08 EST 2017
Summary of changes:
doc/api/methods.html.textile.liquid | 2 ++
services/api/test/functional/arvados/v1/query_test.rb | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
via 8e569c16ba035b131c148441ca5a590fb49811ac (commit)
via 38ac8f3e065e74f6af172cee90144701d2f73b58 (commit)
from 16fe80b0e93ed8c8416b2dcbc0e2ad49bc850738 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 8e569c16ba035b131c148441ca5a590fb49811ac
Author: Tom Clegg <tom at curoverse.com>
Date: Tue Jan 24 13:51:40 2017 -0500
9998: Use links instead of specimens to test count param.
diff --git a/services/api/test/functional/arvados/v1/query_test.rb b/services/api/test/functional/arvados/v1/query_test.rb
index 666b9a2..e90aaba 100644
--- a/services/api/test/functional/arvados/v1/query_test.rb
+++ b/services/api/test/functional/arvados/v1/query_test.rb
@@ -67,7 +67,7 @@ class Arvados::V1::QueryTest < ActionController::TestCase
end
test 'do not count items_available if count=none' do
- @controller = Arvados::V1::SpecimensController.new
+ @controller = Arvados::V1::LinksController.new
authorize_with :active
get :index, {
count: 'none',
@@ -78,7 +78,7 @@ class Arvados::V1::QueryTest < ActionController::TestCase
[{}, {count: nil}, {count: ''}, {count: 'exact'}].each do |params|
test "count items_available if params=#{params.inspect}" do
- @controller = Arvados::V1::SpecimensController.new
+ @controller = Arvados::V1::LinksController.new
authorize_with :active
get :index, params
assert_response(:success)
@@ -87,7 +87,7 @@ class Arvados::V1::QueryTest < ActionController::TestCase
end
test 'error if count=bogus' do
- @controller = Arvados::V1::SpecimensController.new
+ @controller = Arvados::V1::LinksController.new
authorize_with :active
get :index, {
count: 'bogus',
commit 38ac8f3e065e74f6af172cee90144701d2f73b58
Author: Tom Clegg <tom at curoverse.com>
Date: Tue Jan 24 13:42:30 2017 -0500
9998: Update API docs.
diff --git a/doc/api/methods.html.textile.liquid b/doc/api/methods.html.textile.liquid
index e731cc7..bb6622e 100644
--- a/doc/api/methods.html.textile.liquid
+++ b/doc/api/methods.html.textile.liquid
@@ -67,6 +67,8 @@ Example: @["head_uuid","tail_uuid"]@
Default: all available attributes. As a special case, collections do not return "manifest_text" unless explicitly selected.|query|
|distinct|boolean|@true@: (default) do not return duplicate objects
@false@: permitted to return duplicates|query|
+|count|string|@"exact"@ (default): Include an @items_available@ response field giving the number of distinct matching items that can be retrieved (irrespective of @limit@ and @offset@ arguments).
+@"none"@: Omit the @items_available@ response field. This option will always produce a faster response.|query|
h3(#filters). Available list method filters
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list