From a47700e6e8e87ab3696949b768f4c125a9241300 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Fri, 3 Sep 2021 16:04:34 -0300 Subject: [PATCH] 18094: Removes update_uuid from the R SDK. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- sdk/R/R/Arvados.R | 1924 ++++++++++++++++---------------- sdk/R/man/Arvados.Rd | 1 - sdk/R/man/users.update_uuid.Rd | 19 - 3 files changed, 946 insertions(+), 998 deletions(-) delete mode 100644 sdk/R/man/users.update_uuid.Rd diff --git a/sdk/R/R/Arvados.R b/sdk/R/R/Arvados.R index 528a606650..52d6c95f5e 100644 --- a/sdk/R/R/Arvados.R +++ b/sdk/R/R/Arvados.R @@ -3,9 +3,9 @@ # SPDX-License-Identifier: Apache-2.0 #' api_clients.get -#' +#' #' api_clients.get is a method defined in Arvados class. -#' +#' #' @usage arv$api_clients.get(uuid) #' @param uuid The UUID of the ApiClient in question. #' @return ApiClient object. @@ -13,9 +13,9 @@ NULL #' api_clients.create -#' +#' #' api_clients.create is a method defined in Arvados class. -#' +#' #' @usage arv$api_clients.create(apiclient, #' ensure_unique_name = "false", cluster_id = NULL) #' @param apiClient ApiClient object. @@ -26,9 +26,9 @@ NULL NULL #' api_clients.update -#' +#' #' api_clients.update is a method defined in Arvados class. -#' +#' #' @usage arv$api_clients.update(apiclient, #' uuid) #' @param apiClient ApiClient object. @@ -38,9 +38,9 @@ NULL NULL #' api_clients.delete -#' +#' #' api_clients.delete is a method defined in Arvados class. -#' +#' #' @usage arv$api_clients.delete(uuid) #' @param uuid The UUID of the ApiClient in question. #' @return ApiClient object. @@ -48,21 +48,21 @@ NULL NULL #' api_clients.list -#' +#' #' api_clients.list is a method defined in Arvados class. -#' +#' #' @usage arv$api_clients.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return ApiClientList object. @@ -70,9 +70,9 @@ NULL NULL #' api_client_authorizations.get -#' +#' #' api_client_authorizations.get is a method defined in Arvados class. -#' +#' #' @usage arv$api_client_authorizations.get(uuid) #' @param uuid The UUID of the ApiClientAuthorization in question. #' @return ApiClientAuthorization object. @@ -80,9 +80,9 @@ NULL NULL #' api_client_authorizations.create -#' +#' #' api_client_authorizations.create is a method defined in Arvados class. -#' +#' #' @usage arv$api_client_authorizations.create(apiclientauthorization, #' ensure_unique_name = "false", cluster_id = NULL) #' @param apiClientAuthorization ApiClientAuthorization object. @@ -93,9 +93,9 @@ NULL NULL #' api_client_authorizations.update -#' +#' #' api_client_authorizations.update is a method defined in Arvados class. -#' +#' #' @usage arv$api_client_authorizations.update(apiclientauthorization, #' uuid) #' @param apiClientAuthorization ApiClientAuthorization object. @@ -105,9 +105,9 @@ NULL NULL #' api_client_authorizations.delete -#' +#' #' api_client_authorizations.delete is a method defined in Arvados class. -#' +#' #' @usage arv$api_client_authorizations.delete(uuid) #' @param uuid The UUID of the ApiClientAuthorization in question. #' @return ApiClientAuthorization object. @@ -115,42 +115,42 @@ NULL NULL #' api_client_authorizations.create_system_auth -#' +#' #' api_client_authorizations.create_system_auth is a method defined in Arvados class. -#' +#' #' @usage arv$api_client_authorizations.create_system_auth(api_client_id = NULL, #' scopes = NULL) -#' @param api_client_id -#' @param scopes +#' @param api_client_id +#' @param scopes #' @return ApiClientAuthorization object. #' @name api_client_authorizations.create_system_auth NULL #' api_client_authorizations.current -#' +#' #' api_client_authorizations.current is a method defined in Arvados class. -#' +#' #' @usage arv$api_client_authorizations.current(NULL) #' @return ApiClientAuthorization object. #' @name api_client_authorizations.current NULL #' api_client_authorizations.list -#' +#' #' api_client_authorizations.list is a method defined in Arvados class. -#' +#' #' @usage arv$api_client_authorizations.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return ApiClientAuthorizationList object. @@ -158,9 +158,9 @@ NULL NULL #' authorized_keys.get -#' +#' #' authorized_keys.get is a method defined in Arvados class. -#' +#' #' @usage arv$authorized_keys.get(uuid) #' @param uuid The UUID of the AuthorizedKey in question. #' @return AuthorizedKey object. @@ -168,9 +168,9 @@ NULL NULL #' authorized_keys.create -#' +#' #' authorized_keys.create is a method defined in Arvados class. -#' +#' #' @usage arv$authorized_keys.create(authorizedkey, #' ensure_unique_name = "false", cluster_id = NULL) #' @param authorizedKey AuthorizedKey object. @@ -181,9 +181,9 @@ NULL NULL #' authorized_keys.update -#' +#' #' authorized_keys.update is a method defined in Arvados class. -#' +#' #' @usage arv$authorized_keys.update(authorizedkey, #' uuid) #' @param authorizedKey AuthorizedKey object. @@ -193,9 +193,9 @@ NULL NULL #' authorized_keys.delete -#' +#' #' authorized_keys.delete is a method defined in Arvados class. -#' +#' #' @usage arv$authorized_keys.delete(uuid) #' @param uuid The UUID of the AuthorizedKey in question. #' @return AuthorizedKey object. @@ -203,21 +203,21 @@ NULL NULL #' authorized_keys.list -#' +#' #' authorized_keys.list is a method defined in Arvados class. -#' +#' #' @usage arv$authorized_keys.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return AuthorizedKeyList object. @@ -225,9 +225,9 @@ NULL NULL #' collections.get -#' +#' #' collections.get is a method defined in Arvados class. -#' +#' #' @usage arv$collections.get(uuid) #' @param uuid The UUID of the Collection in question. #' @return Collection object. @@ -235,9 +235,9 @@ NULL NULL #' collections.create -#' +#' #' collections.create is a method defined in Arvados class. -#' +#' #' @usage arv$collections.create(collection, #' ensure_unique_name = "false", cluster_id = NULL) #' @param collection Collection object. @@ -248,9 +248,9 @@ NULL NULL #' collections.update -#' +#' #' collections.update is a method defined in Arvados class. -#' +#' #' @usage arv$collections.update(collection, #' uuid) #' @param collection Collection object. @@ -260,9 +260,9 @@ NULL NULL #' collections.delete -#' +#' #' collections.delete is a method defined in Arvados class. -#' +#' #' @usage arv$collections.delete(uuid) #' @param uuid The UUID of the Collection in question. #' @return Collection object. @@ -270,62 +270,62 @@ NULL NULL #' collections.provenance -#' +#' #' collections.provenance is a method defined in Arvados class. -#' +#' #' @usage arv$collections.provenance(uuid) -#' @param uuid +#' @param uuid #' @return Collection object. #' @name collections.provenance NULL #' collections.used_by -#' +#' #' collections.used_by is a method defined in Arvados class. -#' +#' #' @usage arv$collections.used_by(uuid) -#' @param uuid +#' @param uuid #' @return Collection object. #' @name collections.used_by NULL #' collections.trash -#' +#' #' collections.trash is a method defined in Arvados class. -#' +#' #' @usage arv$collections.trash(uuid) -#' @param uuid +#' @param uuid #' @return Collection object. #' @name collections.trash NULL #' collections.untrash -#' +#' #' collections.untrash is a method defined in Arvados class. -#' +#' #' @usage arv$collections.untrash(uuid) -#' @param uuid +#' @param uuid #' @return Collection object. #' @name collections.untrash NULL #' collections.list -#' +#' #' collections.list is a method defined in Arvados class. -#' +#' #' @usage arv$collections.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL, #' include_trash = NULL, include_old_versions = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @param include_trash Include collections whose is_trashed attribute is true. @@ -335,9 +335,9 @@ NULL NULL #' containers.get -#' +#' #' containers.get is a method defined in Arvados class. -#' +#' #' @usage arv$containers.get(uuid) #' @param uuid The UUID of the Container in question. #' @return Container object. @@ -345,9 +345,9 @@ NULL NULL #' containers.create -#' +#' #' containers.create is a method defined in Arvados class. -#' +#' #' @usage arv$containers.create(container, #' ensure_unique_name = "false", cluster_id = NULL) #' @param container Container object. @@ -358,9 +358,9 @@ NULL NULL #' containers.update -#' +#' #' containers.update is a method defined in Arvados class. -#' +#' #' @usage arv$containers.update(container, #' uuid) #' @param container Container object. @@ -370,9 +370,9 @@ NULL NULL #' containers.delete -#' +#' #' containers.delete is a method defined in Arvados class. -#' +#' #' @usage arv$containers.delete(uuid) #' @param uuid The UUID of the Container in question. #' @return Container object. @@ -380,70 +380,70 @@ NULL NULL #' containers.auth -#' +#' #' containers.auth is a method defined in Arvados class. -#' +#' #' @usage arv$containers.auth(uuid) -#' @param uuid +#' @param uuid #' @return Container object. #' @name containers.auth NULL #' containers.lock -#' +#' #' containers.lock is a method defined in Arvados class. -#' +#' #' @usage arv$containers.lock(uuid) -#' @param uuid +#' @param uuid #' @return Container object. #' @name containers.lock NULL #' containers.unlock -#' +#' #' containers.unlock is a method defined in Arvados class. -#' +#' #' @usage arv$containers.unlock(uuid) -#' @param uuid +#' @param uuid #' @return Container object. #' @name containers.unlock NULL #' containers.secret_mounts -#' +#' #' containers.secret_mounts is a method defined in Arvados class. -#' +#' #' @usage arv$containers.secret_mounts(uuid) -#' @param uuid +#' @param uuid #' @return Container object. #' @name containers.secret_mounts NULL #' containers.current -#' +#' #' containers.current is a method defined in Arvados class. -#' +#' #' @usage arv$containers.current(NULL) #' @return Container object. #' @name containers.current NULL #' containers.list -#' +#' #' containers.list is a method defined in Arvados class. -#' +#' #' @usage arv$containers.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return ContainerList object. @@ -451,9 +451,9 @@ NULL NULL #' container_requests.get -#' +#' #' container_requests.get is a method defined in Arvados class. -#' +#' #' @usage arv$container_requests.get(uuid) #' @param uuid The UUID of the ContainerRequest in question. #' @return ContainerRequest object. @@ -461,9 +461,9 @@ NULL NULL #' container_requests.create -#' +#' #' container_requests.create is a method defined in Arvados class. -#' +#' #' @usage arv$container_requests.create(containerrequest, #' ensure_unique_name = "false", cluster_id = NULL) #' @param containerRequest ContainerRequest object. @@ -474,9 +474,9 @@ NULL NULL #' container_requests.update -#' +#' #' container_requests.update is a method defined in Arvados class. -#' +#' #' @usage arv$container_requests.update(containerrequest, #' uuid) #' @param containerRequest ContainerRequest object. @@ -486,9 +486,9 @@ NULL NULL #' container_requests.delete -#' +#' #' container_requests.delete is a method defined in Arvados class. -#' +#' #' @usage arv$container_requests.delete(uuid) #' @param uuid The UUID of the ContainerRequest in question. #' @return ContainerRequest object. @@ -496,22 +496,22 @@ NULL NULL #' container_requests.list -#' +#' #' container_requests.list is a method defined in Arvados class. -#' +#' #' @usage arv$container_requests.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL, #' include_trash = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @param include_trash Include container requests whose owner project is trashed. @@ -520,9 +520,9 @@ NULL NULL #' groups.get -#' +#' #' groups.get is a method defined in Arvados class. -#' +#' #' @usage arv$groups.get(uuid) #' @param uuid The UUID of the Group in question. #' @return Group object. @@ -530,9 +530,9 @@ NULL NULL #' groups.create -#' +#' #' groups.create is a method defined in Arvados class. -#' +#' #' @usage arv$groups.create(group, ensure_unique_name = "false", #' cluster_id = NULL, async = "false") #' @param group Group object. @@ -544,9 +544,9 @@ NULL NULL #' groups.update -#' +#' #' groups.update is a method defined in Arvados class. -#' +#' #' @usage arv$groups.update(group, uuid, #' async = "false") #' @param group Group object. @@ -557,9 +557,9 @@ NULL NULL #' groups.delete -#' +#' #' groups.delete is a method defined in Arvados class. -#' +#' #' @usage arv$groups.delete(uuid) #' @param uuid The UUID of the Group in question. #' @return Group object. @@ -567,26 +567,26 @@ NULL NULL #' groups.contents -#' +#' #' groups.contents is a method defined in Arvados class. -#' +#' #' @usage arv$groups.contents(filters = NULL, #' where = NULL, order = NULL, distinct = NULL, #' limit = "100", offset = "0", count = "exact", #' cluster_id = NULL, bypass_federation = NULL, #' include_trash = NULL, uuid = NULL, recursive = NULL, #' include = NULL) -#' @param filters -#' @param where -#' @param order -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @param include_trash Include items whose is_trashed attribute is true. -#' @param uuid +#' @param uuid #' @param recursive Include contents from child groups recursively. #' @param include Include objects referred to by listed field in "included" (only owner_uuid) #' @return Group object. @@ -594,67 +594,67 @@ NULL NULL #' groups.shared -#' +#' #' groups.shared is a method defined in Arvados class. -#' +#' #' @usage arv$groups.shared(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL, #' include_trash = NULL, include = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @param include_trash Include items whose is_trashed attribute is true. -#' @param include +#' @param include #' @return Group object. #' @name groups.shared NULL #' groups.trash -#' +#' #' groups.trash is a method defined in Arvados class. -#' +#' #' @usage arv$groups.trash(uuid) -#' @param uuid +#' @param uuid #' @return Group object. #' @name groups.trash NULL #' groups.untrash -#' +#' #' groups.untrash is a method defined in Arvados class. -#' +#' #' @usage arv$groups.untrash(uuid) -#' @param uuid +#' @param uuid #' @return Group object. #' @name groups.untrash NULL #' groups.list -#' +#' #' groups.list is a method defined in Arvados class. -#' +#' #' @usage arv$groups.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL, #' include_trash = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @param include_trash Include items whose is_trashed attribute is true. @@ -663,9 +663,9 @@ NULL NULL #' keep_services.get -#' +#' #' keep_services.get is a method defined in Arvados class. -#' +#' #' @usage arv$keep_services.get(uuid) #' @param uuid The UUID of the KeepService in question. #' @return KeepService object. @@ -673,9 +673,9 @@ NULL NULL #' keep_services.create -#' +#' #' keep_services.create is a method defined in Arvados class. -#' +#' #' @usage arv$keep_services.create(keepservice, #' ensure_unique_name = "false", cluster_id = NULL) #' @param keepService KeepService object. @@ -686,9 +686,9 @@ NULL NULL #' keep_services.update -#' +#' #' keep_services.update is a method defined in Arvados class. -#' +#' #' @usage arv$keep_services.update(keepservice, #' uuid) #' @param keepService KeepService object. @@ -698,9 +698,9 @@ NULL NULL #' keep_services.delete -#' +#' #' keep_services.delete is a method defined in Arvados class. -#' +#' #' @usage arv$keep_services.delete(uuid) #' @param uuid The UUID of the KeepService in question. #' @return KeepService object. @@ -708,30 +708,30 @@ NULL NULL #' keep_services.accessible -#' +#' #' keep_services.accessible is a method defined in Arvados class. -#' +#' #' @usage arv$keep_services.accessible(NULL) #' @return KeepService object. #' @name keep_services.accessible NULL #' keep_services.list -#' +#' #' keep_services.list is a method defined in Arvados class. -#' +#' #' @usage arv$keep_services.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return KeepServiceList object. @@ -739,9 +739,9 @@ NULL NULL #' links.get -#' +#' #' links.get is a method defined in Arvados class. -#' +#' #' @usage arv$links.get(uuid) #' @param uuid The UUID of the Link in question. #' @return Link object. @@ -749,9 +749,9 @@ NULL NULL #' links.create -#' +#' #' links.create is a method defined in Arvados class. -#' +#' #' @usage arv$links.create(link, ensure_unique_name = "false", #' cluster_id = NULL) #' @param link Link object. @@ -762,9 +762,9 @@ NULL NULL #' links.update -#' +#' #' links.update is a method defined in Arvados class. -#' +#' #' @usage arv$links.update(link, uuid) #' @param link Link object. #' @param uuid The UUID of the Link in question. @@ -773,9 +773,9 @@ NULL NULL #' links.delete -#' +#' #' links.delete is a method defined in Arvados class. -#' +#' #' @usage arv$links.delete(uuid) #' @param uuid The UUID of the Link in question. #' @return Link object. @@ -783,21 +783,21 @@ NULL NULL #' links.list -#' +#' #' links.list is a method defined in Arvados class. -#' +#' #' @usage arv$links.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return LinkList object. @@ -805,19 +805,19 @@ NULL NULL #' links.get_permissions -#' +#' #' links.get_permissions is a method defined in Arvados class. -#' +#' #' @usage arv$links.get_permissions(uuid) -#' @param uuid +#' @param uuid #' @return Link object. #' @name links.get_permissions NULL #' logs.get -#' +#' #' logs.get is a method defined in Arvados class. -#' +#' #' @usage arv$logs.get(uuid) #' @param uuid The UUID of the Log in question. #' @return Log object. @@ -825,9 +825,9 @@ NULL NULL #' logs.create -#' +#' #' logs.create is a method defined in Arvados class. -#' +#' #' @usage arv$logs.create(log, ensure_unique_name = "false", #' cluster_id = NULL) #' @param log Log object. @@ -838,9 +838,9 @@ NULL NULL #' logs.update -#' +#' #' logs.update is a method defined in Arvados class. -#' +#' #' @usage arv$logs.update(log, uuid) #' @param log Log object. #' @param uuid The UUID of the Log in question. @@ -849,9 +849,9 @@ NULL NULL #' logs.delete -#' +#' #' logs.delete is a method defined in Arvados class. -#' +#' #' @usage arv$logs.delete(uuid) #' @param uuid The UUID of the Log in question. #' @return Log object. @@ -859,21 +859,21 @@ NULL NULL #' logs.list -#' +#' #' logs.list is a method defined in Arvados class. -#' +#' #' @usage arv$logs.list(filters = NULL, where = NULL, #' order = NULL, select = NULL, distinct = NULL, #' limit = "100", offset = "0", count = "exact", #' cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return LogList object. @@ -881,9 +881,9 @@ NULL NULL #' users.get -#' +#' #' users.get is a method defined in Arvados class. -#' +#' #' @usage arv$users.get(uuid) #' @param uuid The UUID of the User in question. #' @return User object. @@ -891,9 +891,9 @@ NULL NULL #' users.create -#' +#' #' users.create is a method defined in Arvados class. -#' +#' #' @usage arv$users.create(user, ensure_unique_name = "false", #' cluster_id = NULL) #' @param user User object. @@ -904,21 +904,21 @@ NULL NULL #' users.update -#' +#' #' users.update is a method defined in Arvados class. -#' +#' #' @usage arv$users.update(user, uuid, bypass_federation = NULL) #' @param user User object. #' @param uuid The UUID of the User in question. -#' @param bypass_federation +#' @param bypass_federation #' @return User object. #' @name users.update NULL #' users.delete -#' +#' #' users.delete is a method defined in Arvados class. -#' +#' #' @usage arv$users.delete(uuid) #' @param uuid The UUID of the User in question. #' @return User object. @@ -926,101 +926,90 @@ NULL NULL #' users.current -#' +#' #' users.current is a method defined in Arvados class. -#' +#' #' @usage arv$users.current(NULL) #' @return User object. #' @name users.current NULL #' users.system -#' +#' #' users.system is a method defined in Arvados class. -#' +#' #' @usage arv$users.system(NULL) #' @return User object. #' @name users.system NULL #' users.activate -#' +#' #' users.activate is a method defined in Arvados class. -#' +#' #' @usage arv$users.activate(uuid) -#' @param uuid +#' @param uuid #' @return User object. #' @name users.activate NULL #' users.setup -#' +#' #' users.setup is a method defined in Arvados class. -#' +#' #' @usage arv$users.setup(uuid = NULL, user = NULL, #' repo_name = NULL, vm_uuid = NULL, send_notification_email = "false") -#' @param uuid -#' @param user -#' @param repo_name -#' @param vm_uuid -#' @param send_notification_email +#' @param uuid +#' @param user +#' @param repo_name +#' @param vm_uuid +#' @param send_notification_email #' @return User object. #' @name users.setup NULL #' users.unsetup -#' +#' #' users.unsetup is a method defined in Arvados class. -#' +#' #' @usage arv$users.unsetup(uuid) -#' @param uuid +#' @param uuid #' @return User object. #' @name users.unsetup NULL -#' users.update_uuid -#' -#' users.update_uuid is a method defined in Arvados class. -#' -#' @usage arv$users.update_uuid(uuid, new_uuid) -#' @param uuid -#' @param new_uuid -#' @return User object. -#' @name users.update_uuid -NULL - #' users.merge -#' +#' #' users.merge is a method defined in Arvados class. -#' +#' #' @usage arv$users.merge(new_owner_uuid, #' new_user_token = NULL, redirect_to_new_user = NULL, #' old_user_uuid = NULL, new_user_uuid = NULL) -#' @param new_owner_uuid -#' @param new_user_token -#' @param redirect_to_new_user -#' @param old_user_uuid -#' @param new_user_uuid +#' @param new_owner_uuid +#' @param new_user_token +#' @param redirect_to_new_user +#' @param old_user_uuid +#' @param new_user_uuid #' @return User object. #' @name users.merge NULL #' users.list -#' +#' #' users.list is a method defined in Arvados class. -#' +#' #' @usage arv$users.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return UserList object. @@ -1028,9 +1017,9 @@ NULL NULL #' repositories.get -#' +#' #' repositories.get is a method defined in Arvados class. -#' +#' #' @usage arv$repositories.get(uuid) #' @param uuid The UUID of the Repository in question. #' @return Repository object. @@ -1038,9 +1027,9 @@ NULL NULL #' repositories.create -#' +#' #' repositories.create is a method defined in Arvados class. -#' +#' #' @usage arv$repositories.create(repository, #' ensure_unique_name = "false", cluster_id = NULL) #' @param repository Repository object. @@ -1051,9 +1040,9 @@ NULL NULL #' repositories.update -#' +#' #' repositories.update is a method defined in Arvados class. -#' +#' #' @usage arv$repositories.update(repository, #' uuid) #' @param repository Repository object. @@ -1063,9 +1052,9 @@ NULL NULL #' repositories.delete -#' +#' #' repositories.delete is a method defined in Arvados class. -#' +#' #' @usage arv$repositories.delete(uuid) #' @param uuid The UUID of the Repository in question. #' @return Repository object. @@ -1073,30 +1062,30 @@ NULL NULL #' repositories.get_all_permissions -#' +#' #' repositories.get_all_permissions is a method defined in Arvados class. -#' +#' #' @usage arv$repositories.get_all_permissions(NULL) #' @return Repository object. #' @name repositories.get_all_permissions NULL #' repositories.list -#' +#' #' repositories.list is a method defined in Arvados class. -#' +#' #' @usage arv$repositories.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return RepositoryList object. @@ -1104,9 +1093,9 @@ NULL NULL #' virtual_machines.get -#' +#' #' virtual_machines.get is a method defined in Arvados class. -#' +#' #' @usage arv$virtual_machines.get(uuid) #' @param uuid The UUID of the VirtualMachine in question. #' @return VirtualMachine object. @@ -1114,9 +1103,9 @@ NULL NULL #' virtual_machines.create -#' +#' #' virtual_machines.create is a method defined in Arvados class. -#' +#' #' @usage arv$virtual_machines.create(virtualmachine, #' ensure_unique_name = "false", cluster_id = NULL) #' @param virtualMachine VirtualMachine object. @@ -1127,9 +1116,9 @@ NULL NULL #' virtual_machines.update -#' +#' #' virtual_machines.update is a method defined in Arvados class. -#' +#' #' @usage arv$virtual_machines.update(virtualmachine, #' uuid) #' @param virtualMachine VirtualMachine object. @@ -1139,9 +1128,9 @@ NULL NULL #' virtual_machines.delete -#' +#' #' virtual_machines.delete is a method defined in Arvados class. -#' +#' #' @usage arv$virtual_machines.delete(uuid) #' @param uuid The UUID of the VirtualMachine in question. #' @return VirtualMachine object. @@ -1149,40 +1138,40 @@ NULL NULL #' virtual_machines.logins -#' +#' #' virtual_machines.logins is a method defined in Arvados class. -#' +#' #' @usage arv$virtual_machines.logins(uuid) -#' @param uuid +#' @param uuid #' @return VirtualMachine object. #' @name virtual_machines.logins NULL #' virtual_machines.get_all_logins -#' +#' #' virtual_machines.get_all_logins is a method defined in Arvados class. -#' +#' #' @usage arv$virtual_machines.get_all_logins(NULL) #' @return VirtualMachine object. #' @name virtual_machines.get_all_logins NULL #' virtual_machines.list -#' +#' #' virtual_machines.list is a method defined in Arvados class. -#' +#' #' @usage arv$virtual_machines.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return VirtualMachineList object. @@ -1190,9 +1179,9 @@ NULL NULL #' workflows.get -#' +#' #' workflows.get is a method defined in Arvados class. -#' +#' #' @usage arv$workflows.get(uuid) #' @param uuid The UUID of the Workflow in question. #' @return Workflow object. @@ -1200,9 +1189,9 @@ NULL NULL #' workflows.create -#' +#' #' workflows.create is a method defined in Arvados class. -#' +#' #' @usage arv$workflows.create(workflow, #' ensure_unique_name = "false", cluster_id = NULL) #' @param workflow Workflow object. @@ -1213,9 +1202,9 @@ NULL NULL #' workflows.update -#' +#' #' workflows.update is a method defined in Arvados class. -#' +#' #' @usage arv$workflows.update(workflow, #' uuid) #' @param workflow Workflow object. @@ -1225,9 +1214,9 @@ NULL NULL #' workflows.delete -#' +#' #' workflows.delete is a method defined in Arvados class. -#' +#' #' @usage arv$workflows.delete(uuid) #' @param uuid The UUID of the Workflow in question. #' @return Workflow object. @@ -1235,21 +1224,21 @@ NULL NULL #' workflows.list -#' +#' #' workflows.list is a method defined in Arvados class. -#' +#' #' @usage arv$workflows.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return WorkflowList object. @@ -1257,9 +1246,9 @@ NULL NULL #' user_agreements.get -#' +#' #' user_agreements.get is a method defined in Arvados class. -#' +#' #' @usage arv$user_agreements.get(uuid) #' @param uuid The UUID of the UserAgreement in question. #' @return UserAgreement object. @@ -1267,9 +1256,9 @@ NULL NULL #' user_agreements.create -#' +#' #' user_agreements.create is a method defined in Arvados class. -#' +#' #' @usage arv$user_agreements.create(useragreement, #' ensure_unique_name = "false", cluster_id = NULL) #' @param userAgreement UserAgreement object. @@ -1280,9 +1269,9 @@ NULL NULL #' user_agreements.update -#' +#' #' user_agreements.update is a method defined in Arvados class. -#' +#' #' @usage arv$user_agreements.update(useragreement, #' uuid) #' @param userAgreement UserAgreement object. @@ -1292,9 +1281,9 @@ NULL NULL #' user_agreements.delete -#' +#' #' user_agreements.delete is a method defined in Arvados class. -#' +#' #' @usage arv$user_agreements.delete(uuid) #' @param uuid The UUID of the UserAgreement in question. #' @return UserAgreement object. @@ -1302,39 +1291,39 @@ NULL NULL #' user_agreements.signatures -#' +#' #' user_agreements.signatures is a method defined in Arvados class. -#' +#' #' @usage arv$user_agreements.signatures(NULL) #' @return UserAgreement object. #' @name user_agreements.signatures NULL #' user_agreements.sign -#' +#' #' user_agreements.sign is a method defined in Arvados class. -#' +#' #' @usage arv$user_agreements.sign(NULL) #' @return UserAgreement object. #' @name user_agreements.sign NULL #' user_agreements.list -#' +#' #' user_agreements.list is a method defined in Arvados class. -#' +#' #' @usage arv$user_agreements.list(filters = NULL, #' where = NULL, order = NULL, select = NULL, #' distinct = NULL, limit = "100", offset = "0", #' count = "exact", cluster_id = NULL, bypass_federation = NULL) -#' @param filters -#' @param where -#' @param order -#' @param select -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param select +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param cluster_id List objects on a remote federated cluster instead of the current one. #' @param bypass_federation bypass federation behavior, list items from local instance database only #' @return UserAgreementList object. @@ -1342,27 +1331,27 @@ NULL NULL #' user_agreements.new -#' +#' #' user_agreements.new is a method defined in Arvados class. -#' +#' #' @usage arv$user_agreements.new(NULL) #' @return UserAgreement object. #' @name user_agreements.new NULL #' configs.get -#' +#' #' configs.get is a method defined in Arvados class. -#' +#' #' @usage arv$configs.get(NULL) #' @return object. #' @name configs.get NULL #' project.get -#' +#' #' projects.get is equivalent to groups.get method. -#' +#' #' @usage arv$projects.get(uuid) #' @param uuid The UUID of the Group in question. #' @return Group object. @@ -1370,9 +1359,9 @@ NULL NULL #' project.create -#' +#' #' projects.create wrapps groups.create method by setting group_class attribute to "project". -#' +#' #' @usage arv$projects.create(group, ensure_unique_name = "false") #' @param group Group object. #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision. @@ -1381,9 +1370,9 @@ NULL NULL #' project.update -#' +#' #' projects.update wrapps groups.update method by setting group_class attribute to "project". -#' +#' #' @usage arv$projects.update(group, uuid) #' @param group Group object. #' @param uuid The UUID of the Group in question. @@ -1392,9 +1381,9 @@ NULL NULL #' project.delete -#' +#' #' projects.delete is equivalent to groups.delete method. -#' +#' #' @usage arv$project.delete(uuid) #' @param uuid The UUID of the Group in question. #' @return Group object. @@ -1402,22 +1391,22 @@ NULL NULL #' project.list -#' +#' #' projects.list wrapps groups.list method by setting group_class attribute to "project". -#' +#' #' @usage arv$projects.list(filters = NULL, #' where = NULL, order = NULL, distinct = NULL, #' limit = "100", offset = "0", count = "exact", #' include_trash = NULL, uuid = NULL, recursive = NULL) -#' @param filters -#' @param where -#' @param order -#' @param distinct -#' @param limit -#' @param offset -#' @param count +#' @param filters +#' @param where +#' @param order +#' @param distinct +#' @param limit +#' @param offset +#' @param count #' @param include_trash Include items whose is_trashed attribute is true. -#' @param uuid +#' @param uuid #' @param recursive Include contents from child groups recursively. #' @return Group object. #' @name projects.list @@ -1537,7 +1526,6 @@ NULL #' \item{}{\code{\link{users.system}}} #' \item{}{\code{\link{users.unsetup}}} #' \item{}{\code{\link{users.update}}} -#' \item{}{\code{\link{users.update_uuid}}} #' \item{}{\code{\link{virtual_machines.create}}} #' \item{}{\code{\link{virtual_machines.delete}}} #' \item{}{\code{\link{virtual_machines.get}}} @@ -1640,19 +1628,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_clients/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1661,24 +1649,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_clients") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(apiclient) > 0) - body <- jsonlite::toJSON(list(apiclient = apiclient), + body <- jsonlite::toJSON(list(apiclient = apiclient), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1686,23 +1674,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_clients/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(apiclient) > 0) - body <- jsonlite::toJSON(list(apiclient = apiclient), + body <- jsonlite::toJSON(list(apiclient = apiclient), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1710,19 +1698,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_clients/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1733,22 +1721,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_clients") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1756,19 +1744,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_client_authorizations/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1777,24 +1765,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_client_authorizations") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(apiclientauthorization) > 0) - body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization), + body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1802,23 +1790,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_client_authorizations/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(apiclientauthorization) > 0) - body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization), + body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1826,19 +1814,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_client_authorizations/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1846,20 +1834,20 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_client_authorizations/create_system_auth") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(api_client_id = api_client_id, scopes = scopes) - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1867,19 +1855,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_client_authorizations/current") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1890,22 +1878,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("api_client_authorizations") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1913,19 +1901,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("authorized_keys/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1934,24 +1922,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("authorized_keys") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(authorizedkey) > 0) - body <- jsonlite::toJSON(list(authorizedkey = authorizedkey), + body <- jsonlite::toJSON(list(authorizedkey = authorizedkey), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1959,23 +1947,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("authorized_keys/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(authorizedkey) > 0) - body <- jsonlite::toJSON(list(authorizedkey = authorizedkey), + body <- jsonlite::toJSON(list(authorizedkey = authorizedkey), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -1983,19 +1971,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("authorized_keys/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2006,22 +1994,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("authorized_keys") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2029,19 +2017,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2050,24 +2038,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(collection) > 0) - body <- jsonlite::toJSON(list(collection = collection), + body <- jsonlite::toJSON(list(collection = collection), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2075,23 +2063,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(collection) > 0) - body <- jsonlite::toJSON(list(collection = collection), + body <- jsonlite::toJSON(list(collection = collection), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2099,19 +2087,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2119,19 +2107,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections/${uuid}/provenance") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2139,19 +2127,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections/${uuid}/used_by") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2159,19 +2147,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections/${uuid}/trash") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2179,19 +2167,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections/${uuid}/untrash") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2203,23 +2191,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("collections") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation, include_trash = include_trash, include_old_versions = include_old_versions) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2227,19 +2215,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2248,24 +2236,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(container) > 0) - body <- jsonlite::toJSON(list(container = container), + body <- jsonlite::toJSON(list(container = container), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2273,23 +2261,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(container) > 0) - body <- jsonlite::toJSON(list(container = container), + body <- jsonlite::toJSON(list(container = container), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2297,19 +2285,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2317,19 +2305,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers/${uuid}/auth") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2337,19 +2325,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers/${uuid}/lock") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2357,19 +2345,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers/${uuid}/unlock") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2377,19 +2365,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers/${uuid}/secret_mounts") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2397,19 +2385,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers/current") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2420,22 +2408,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("containers") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2443,19 +2431,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("container_requests/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2464,24 +2452,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("container_requests") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(containerrequest) > 0) - body <- jsonlite::toJSON(list(containerrequest = containerrequest), + body <- jsonlite::toJSON(list(containerrequest = containerrequest), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2489,23 +2477,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("container_requests/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(containerrequest) > 0) - body <- jsonlite::toJSON(list(containerrequest = containerrequest), + body <- jsonlite::toJSON(list(containerrequest = containerrequest), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2513,19 +2501,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("container_requests/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2537,23 +2525,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("container_requests") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation, include_trash = include_trash) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2561,19 +2549,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2582,24 +2570,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id, async = async) - + if(length(group) > 0) - body <- jsonlite::toJSON(list(group = group), + body <- jsonlite::toJSON(list(group = group), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2607,23 +2595,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(async = async) - + if(length(group) > 0) - body <- jsonlite::toJSON(list(group = group), + body <- jsonlite::toJSON(list(group = group), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2631,19 +2619,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2656,23 +2644,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups/contents") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation, include_trash = include_trash, uuid = uuid, recursive = recursive, include = include) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2684,23 +2672,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups/shared") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation, include_trash = include_trash, include = include) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2708,19 +2696,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups/${uuid}/trash") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2728,19 +2716,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups/${uuid}/untrash") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2752,23 +2740,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("groups") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation, include_trash = include_trash) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2776,19 +2764,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("keep_services/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2797,24 +2785,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("keep_services") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(keepservice) > 0) - body <- jsonlite::toJSON(list(keepservice = keepservice), + body <- jsonlite::toJSON(list(keepservice = keepservice), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2822,23 +2810,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("keep_services/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(keepservice) > 0) - body <- jsonlite::toJSON(list(keepservice = keepservice), + body <- jsonlite::toJSON(list(keepservice = keepservice), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2846,19 +2834,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("keep_services/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2866,19 +2854,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("keep_services/accessible") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2889,22 +2877,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("keep_services") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2912,19 +2900,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("links/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2933,24 +2921,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("links") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(link) > 0) - body <- jsonlite::toJSON(list(link = link), + body <- jsonlite::toJSON(list(link = link), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2958,23 +2946,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("links/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(link) > 0) - body <- jsonlite::toJSON(list(link = link), + body <- jsonlite::toJSON(list(link = link), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -2982,19 +2970,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("links/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3005,22 +2993,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("links") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3028,19 +3016,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("permissions/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3048,19 +3036,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("logs/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3069,24 +3057,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("logs") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(log) > 0) - body <- jsonlite::toJSON(list(log = log), + body <- jsonlite::toJSON(list(log = log), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3094,23 +3082,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("logs/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(log) > 0) - body <- jsonlite::toJSON(list(log = log), + body <- jsonlite::toJSON(list(log = log), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3118,19 +3106,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("logs/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3141,22 +3129,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("logs") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3164,19 +3152,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3185,24 +3173,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(user) > 0) - body <- jsonlite::toJSON(list(user = user), + body <- jsonlite::toJSON(list(user = user), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3210,23 +3198,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(bypass_federation = bypass_federation) - + if(length(user) > 0) - body <- jsonlite::toJSON(list(user = user), + body <- jsonlite::toJSON(list(user = user), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3234,19 +3222,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3254,19 +3242,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/current") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3274,19 +3262,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/system") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3294,19 +3282,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/${uuid}/activate") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3315,21 +3303,21 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/setup") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(uuid = uuid, user = user, repo_name = repo_name, vm_uuid = vm_uuid, send_notification_email = send_notification_email) - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3337,39 +3325,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/${uuid}/unsetup") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - - body <- NULL - - response <- private$REST$http$exec("POST", url, headers, body, - queryArgs, private$numRetries) - resource <- private$REST$httpParser$parseJSONResponse(response) - - if(!is.null(resource$errors)) - stop(resource$errors) - - resource - }, - users.update_uuid = function(uuid, new_uuid) - { - endPoint <- stringr::str_interp("users/${uuid}/update_uuid") - url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), - "Content-Type" = "application/json") - queryArgs <- list(new_uuid = new_uuid) - body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3379,21 +3347,21 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users/merge") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(new_owner_uuid = new_owner_uuid, new_user_token = new_user_token, redirect_to_new_user = redirect_to_new_user, old_user_uuid = old_user_uuid, new_user_uuid = new_user_uuid) - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3404,22 +3372,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("users") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3427,19 +3395,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("repositories/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3448,24 +3416,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("repositories") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(repository) > 0) - body <- jsonlite::toJSON(list(repository = repository), + body <- jsonlite::toJSON(list(repository = repository), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3473,23 +3441,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("repositories/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(repository) > 0) - body <- jsonlite::toJSON(list(repository = repository), + body <- jsonlite::toJSON(list(repository = repository), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3497,19 +3465,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("repositories/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3517,19 +3485,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("repositories/get_all_permissions") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3540,22 +3508,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("repositories") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3563,19 +3531,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("virtual_machines/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3584,24 +3552,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("virtual_machines") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(virtualmachine) > 0) - body <- jsonlite::toJSON(list(virtualmachine = virtualmachine), + body <- jsonlite::toJSON(list(virtualmachine = virtualmachine), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3609,23 +3577,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("virtual_machines/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(virtualmachine) > 0) - body <- jsonlite::toJSON(list(virtualmachine = virtualmachine), + body <- jsonlite::toJSON(list(virtualmachine = virtualmachine), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3633,19 +3601,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("virtual_machines/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3653,19 +3621,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("virtual_machines/${uuid}/logins") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3673,19 +3641,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("virtual_machines/get_all_logins") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3696,22 +3664,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("virtual_machines") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3719,19 +3687,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("workflows/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3740,24 +3708,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("workflows") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(workflow) > 0) - body <- jsonlite::toJSON(list(workflow = workflow), + body <- jsonlite::toJSON(list(workflow = workflow), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3765,23 +3733,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("workflows/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(workflow) > 0) - body <- jsonlite::toJSON(list(workflow = workflow), + body <- jsonlite::toJSON(list(workflow = workflow), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3789,19 +3757,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("workflows/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3812,22 +3780,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("workflows") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3835,19 +3803,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("user_agreements/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3856,24 +3824,24 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("user_agreements") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(ensure_unique_name = ensure_unique_name, cluster_id = cluster_id) - + if(length(useragreement) > 0) - body <- jsonlite::toJSON(list(useragreement = useragreement), + body <- jsonlite::toJSON(list(useragreement = useragreement), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3881,23 +3849,23 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("user_agreements/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + if(length(useragreement) > 0) - body <- jsonlite::toJSON(list(useragreement = useragreement), + body <- jsonlite::toJSON(list(useragreement = useragreement), auto_unbox = TRUE) else body <- NULL - + response <- private$REST$http$exec("PUT", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3905,19 +3873,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("user_agreements/${uuid}") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("DELETE", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3925,19 +3893,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("user_agreements/signatures") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3945,19 +3913,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("user_agreements/sign") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("POST", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3968,22 +3936,22 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("user_agreements") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- list(filters = filters, where = where, order = order, select = select, distinct = distinct, limit = limit, offset = offset, count = count, cluster_id = cluster_id, bypass_federation = bypass_federation) - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -3991,19 +3959,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("user_agreements/new") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, @@ -4011,19 +3979,19 @@ Arvados <- R6::R6Class( { endPoint <- stringr::str_interp("config") url <- paste0(private$host, endPoint) - headers <- list(Authorization = paste("Bearer", private$token), + headers <- list(Authorization = paste("Bearer", private$token), "Content-Type" = "application/json") queryArgs <- NULL - + body <- NULL - + response <- private$REST$http$exec("GET", url, headers, body, queryArgs, private$numRetries) resource <- private$REST$httpParser$parseJSONResponse(response) - + if(!is.null(resource$errors)) stop(resource$errors) - + resource }, diff --git a/sdk/R/man/Arvados.Rd b/sdk/R/man/Arvados.Rd index 51f98d81dc..b55dd00dc5 100644 --- a/sdk/R/man/Arvados.Rd +++ b/sdk/R/man/Arvados.Rd @@ -171,7 +171,6 @@ Arvados class gives users ability to access Arvados REST API. \item{}{\code{\link{users.system}}} \item{}{\code{\link{users.unsetup}}} \item{}{\code{\link{users.update}}} - \item{}{\code{\link{users.update_uuid}}} \item{}{\code{\link{virtual_machines.create}}} \item{}{\code{\link{virtual_machines.delete}}} \item{}{\code{\link{virtual_machines.get}}} diff --git a/sdk/R/man/users.update_uuid.Rd b/sdk/R/man/users.update_uuid.Rd deleted file mode 100644 index af62c2c825..0000000000 --- a/sdk/R/man/users.update_uuid.Rd +++ /dev/null @@ -1,19 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/Arvados.R -\name{users.update_uuid} -\alias{users.update_uuid} -\title{users.update_uuid} -\usage{ -arv$users.update_uuid(uuid, new_uuid) -} -\arguments{ -\item{uuid}{} - -\item{new_uuid}{} -} -\value{ -User object. -} -\description{ -users.update_uuid is a method defined in Arvados class. -} -- 2.30.2