3 #' users.get is a method defined in Arvados class.
5 #' @usage arv$users.get(uuid)
6 #' @param uuid The UUID of the User in question.
7 #' @return User object.
13 #' users.create is a method defined in Arvados class.
15 #' @usage arv$users.create(user, ensure_unique_name = "false")
16 #' @param user User object.
17 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
18 #' @return User object.
24 #' users.update is a method defined in Arvados class.
26 #' @usage arv$users.update(user, uuid)
27 #' @param user User object.
28 #' @param uuid The UUID of the User in question.
29 #' @return User object.
35 #' users.delete is a method defined in Arvados class.
37 #' @usage arv$users.delete(uuid)
38 #' @param uuid The UUID of the User in question.
39 #' @return User object.
45 #' users.current is a method defined in Arvados class.
47 #' @usage arv$users.current(NULL)
48 #' @return User object.
49 #' @name users.current
54 #' users.system is a method defined in Arvados class.
56 #' @usage arv$users.system(NULL)
57 #' @return User object.
63 #' users.activate is a method defined in Arvados class.
65 #' @usage arv$users.activate(uuid)
67 #' @return User object.
68 #' @name users.activate
73 #' users.setup is a method defined in Arvados class.
75 #' @usage arv$users.setup(user = NULL, openid_prefix = NULL,
76 #' repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
78 #' @param openid_prefix
81 #' @param send_notification_email
82 #' @return User object.
88 #' users.unsetup is a method defined in Arvados class.
90 #' @usage arv$users.unsetup(uuid)
92 #' @return User object.
93 #' @name users.unsetup
98 #' users.update_uuid is a method defined in Arvados class.
100 #' @usage arv$users.update_uuid(uuid, new_uuid)
103 #' @return User object.
104 #' @name users.update_uuid
109 #' users.merge is a method defined in Arvados class.
111 #' @usage arv$users.merge(new_owner_uuid,
112 #' new_user_token, redirect_to_new_user = NULL)
113 #' @param new_owner_uuid
114 #' @param new_user_token
115 #' @param redirect_to_new_user
116 #' @return User object.
122 #' users.list is a method defined in Arvados class.
124 #' @usage arv$users.list(filters = NULL,
125 #' where = NULL, order = NULL, select = NULL,
126 #' distinct = NULL, limit = "100", offset = "0",
136 #' @return UserList object.
140 #' api_client_authorizations.get
142 #' api_client_authorizations.get is a method defined in Arvados class.
144 #' @usage arv$api_client_authorizations.get(uuid)
145 #' @param uuid The UUID of the ApiClientAuthorization in question.
146 #' @return ApiClientAuthorization object.
147 #' @name api_client_authorizations.get
150 #' api_client_authorizations.create
152 #' api_client_authorizations.create is a method defined in Arvados class.
154 #' @usage arv$api_client_authorizations.create(apiclientauthorization,
155 #' ensure_unique_name = "false")
156 #' @param apiClientAuthorization ApiClientAuthorization object.
157 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
158 #' @return ApiClientAuthorization object.
159 #' @name api_client_authorizations.create
162 #' api_client_authorizations.update
164 #' api_client_authorizations.update is a method defined in Arvados class.
166 #' @usage arv$api_client_authorizations.update(apiclientauthorization,
168 #' @param apiClientAuthorization ApiClientAuthorization object.
169 #' @param uuid The UUID of the ApiClientAuthorization in question.
170 #' @return ApiClientAuthorization object.
171 #' @name api_client_authorizations.update
174 #' api_client_authorizations.delete
176 #' api_client_authorizations.delete is a method defined in Arvados class.
178 #' @usage arv$api_client_authorizations.delete(uuid)
179 #' @param uuid The UUID of the ApiClientAuthorization in question.
180 #' @return ApiClientAuthorization object.
181 #' @name api_client_authorizations.delete
184 #' api_client_authorizations.create_system_auth
186 #' api_client_authorizations.create_system_auth is a method defined in Arvados class.
188 #' @usage arv$api_client_authorizations.create_system_auth(api_client_id = NULL,
190 #' @param api_client_id
192 #' @return ApiClientAuthorization object.
193 #' @name api_client_authorizations.create_system_auth
196 #' api_client_authorizations.current
198 #' api_client_authorizations.current is a method defined in Arvados class.
200 #' @usage arv$api_client_authorizations.current(NULL)
201 #' @return ApiClientAuthorization object.
202 #' @name api_client_authorizations.current
205 #' api_client_authorizations.list
207 #' api_client_authorizations.list is a method defined in Arvados class.
209 #' @usage arv$api_client_authorizations.list(filters = NULL,
210 #' where = NULL, order = NULL, select = NULL,
211 #' distinct = NULL, limit = "100", offset = "0",
221 #' @return ApiClientAuthorizationList object.
222 #' @name api_client_authorizations.list
227 #' containers.get is a method defined in Arvados class.
229 #' @usage arv$containers.get(uuid)
230 #' @param uuid The UUID of the Container in question.
231 #' @return Container object.
232 #' @name containers.get
237 #' containers.create is a method defined in Arvados class.
239 #' @usage arv$containers.create(container,
240 #' ensure_unique_name = "false")
241 #' @param container Container object.
242 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
243 #' @return Container object.
244 #' @name containers.create
249 #' containers.update is a method defined in Arvados class.
251 #' @usage arv$containers.update(container,
253 #' @param container Container object.
254 #' @param uuid The UUID of the Container in question.
255 #' @return Container object.
256 #' @name containers.update
261 #' containers.delete is a method defined in Arvados class.
263 #' @usage arv$containers.delete(uuid)
264 #' @param uuid The UUID of the Container in question.
265 #' @return Container object.
266 #' @name containers.delete
271 #' containers.auth is a method defined in Arvados class.
273 #' @usage arv$containers.auth(uuid)
275 #' @return Container object.
276 #' @name containers.auth
281 #' containers.lock is a method defined in Arvados class.
283 #' @usage arv$containers.lock(uuid)
285 #' @return Container object.
286 #' @name containers.lock
291 #' containers.unlock is a method defined in Arvados class.
293 #' @usage arv$containers.unlock(uuid)
295 #' @return Container object.
296 #' @name containers.unlock
299 #' containers.secret_mounts
301 #' containers.secret_mounts is a method defined in Arvados class.
303 #' @usage arv$containers.secret_mounts(uuid)
305 #' @return Container object.
306 #' @name containers.secret_mounts
309 #' containers.current
311 #' containers.current is a method defined in Arvados class.
313 #' @usage arv$containers.current(NULL)
314 #' @return Container object.
315 #' @name containers.current
320 #' containers.list is a method defined in Arvados class.
322 #' @usage arv$containers.list(filters = NULL,
323 #' where = NULL, order = NULL, select = NULL,
324 #' distinct = NULL, limit = "100", offset = "0",
334 #' @return ContainerList object.
335 #' @name containers.list
340 #' api_clients.get is a method defined in Arvados class.
342 #' @usage arv$api_clients.get(uuid)
343 #' @param uuid The UUID of the ApiClient in question.
344 #' @return ApiClient object.
345 #' @name api_clients.get
348 #' api_clients.create
350 #' api_clients.create is a method defined in Arvados class.
352 #' @usage arv$api_clients.create(apiclient,
353 #' ensure_unique_name = "false")
354 #' @param apiClient ApiClient object.
355 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
356 #' @return ApiClient object.
357 #' @name api_clients.create
360 #' api_clients.update
362 #' api_clients.update is a method defined in Arvados class.
364 #' @usage arv$api_clients.update(apiclient,
366 #' @param apiClient ApiClient object.
367 #' @param uuid The UUID of the ApiClient in question.
368 #' @return ApiClient object.
369 #' @name api_clients.update
372 #' api_clients.delete
374 #' api_clients.delete is a method defined in Arvados class.
376 #' @usage arv$api_clients.delete(uuid)
377 #' @param uuid The UUID of the ApiClient in question.
378 #' @return ApiClient object.
379 #' @name api_clients.delete
384 #' api_clients.list is a method defined in Arvados class.
386 #' @usage arv$api_clients.list(filters = NULL,
387 #' where = NULL, order = NULL, select = NULL,
388 #' distinct = NULL, limit = "100", offset = "0",
398 #' @return ApiClientList object.
399 #' @name api_clients.list
402 #' container_requests.get
404 #' container_requests.get is a method defined in Arvados class.
406 #' @usage arv$container_requests.get(uuid)
407 #' @param uuid The UUID of the ContainerRequest in question.
408 #' @return ContainerRequest object.
409 #' @name container_requests.get
412 #' container_requests.create
414 #' container_requests.create is a method defined in Arvados class.
416 #' @usage arv$container_requests.create(containerrequest,
417 #' ensure_unique_name = "false")
418 #' @param containerRequest ContainerRequest object.
419 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
420 #' @return ContainerRequest object.
421 #' @name container_requests.create
424 #' container_requests.update
426 #' container_requests.update is a method defined in Arvados class.
428 #' @usage arv$container_requests.update(containerrequest,
430 #' @param containerRequest ContainerRequest object.
431 #' @param uuid The UUID of the ContainerRequest in question.
432 #' @return ContainerRequest object.
433 #' @name container_requests.update
436 #' container_requests.delete
438 #' container_requests.delete is a method defined in Arvados class.
440 #' @usage arv$container_requests.delete(uuid)
441 #' @param uuid The UUID of the ContainerRequest in question.
442 #' @return ContainerRequest object.
443 #' @name container_requests.delete
446 #' container_requests.list
448 #' container_requests.list is a method defined in Arvados class.
450 #' @usage arv$container_requests.list(filters = NULL,
451 #' where = NULL, order = NULL, select = NULL,
452 #' distinct = NULL, limit = "100", offset = "0",
462 #' @return ContainerRequestList object.
463 #' @name container_requests.list
466 #' authorized_keys.get
468 #' authorized_keys.get is a method defined in Arvados class.
470 #' @usage arv$authorized_keys.get(uuid)
471 #' @param uuid The UUID of the AuthorizedKey in question.
472 #' @return AuthorizedKey object.
473 #' @name authorized_keys.get
476 #' authorized_keys.create
478 #' authorized_keys.create is a method defined in Arvados class.
480 #' @usage arv$authorized_keys.create(authorizedkey,
481 #' ensure_unique_name = "false")
482 #' @param authorizedKey AuthorizedKey object.
483 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
484 #' @return AuthorizedKey object.
485 #' @name authorized_keys.create
488 #' authorized_keys.update
490 #' authorized_keys.update is a method defined in Arvados class.
492 #' @usage arv$authorized_keys.update(authorizedkey,
494 #' @param authorizedKey AuthorizedKey object.
495 #' @param uuid The UUID of the AuthorizedKey in question.
496 #' @return AuthorizedKey object.
497 #' @name authorized_keys.update
500 #' authorized_keys.delete
502 #' authorized_keys.delete is a method defined in Arvados class.
504 #' @usage arv$authorized_keys.delete(uuid)
505 #' @param uuid The UUID of the AuthorizedKey in question.
506 #' @return AuthorizedKey object.
507 #' @name authorized_keys.delete
510 #' authorized_keys.list
512 #' authorized_keys.list is a method defined in Arvados class.
514 #' @usage arv$authorized_keys.list(filters = NULL,
515 #' where = NULL, order = NULL, select = NULL,
516 #' distinct = NULL, limit = "100", offset = "0",
526 #' @return AuthorizedKeyList object.
527 #' @name authorized_keys.list
532 #' collections.get is a method defined in Arvados class.
534 #' @usage arv$collections.get(uuid)
535 #' @param uuid The UUID of the Collection in question.
536 #' @return Collection object.
537 #' @name collections.get
540 #' collections.create
542 #' collections.create is a method defined in Arvados class.
544 #' @usage arv$collections.create(collection,
545 #' ensure_unique_name = "false")
546 #' @param collection Collection object.
547 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
548 #' @return Collection object.
549 #' @name collections.create
552 #' collections.update
554 #' collections.update is a method defined in Arvados class.
556 #' @usage arv$collections.update(collection,
558 #' @param collection Collection object.
559 #' @param uuid The UUID of the Collection in question.
560 #' @return Collection object.
561 #' @name collections.update
564 #' collections.delete
566 #' collections.delete is a method defined in Arvados class.
568 #' @usage arv$collections.delete(uuid)
569 #' @param uuid The UUID of the Collection in question.
570 #' @return Collection object.
571 #' @name collections.delete
574 #' collections.provenance
576 #' collections.provenance is a method defined in Arvados class.
578 #' @usage arv$collections.provenance(uuid)
580 #' @return Collection object.
581 #' @name collections.provenance
584 #' collections.used_by
586 #' collections.used_by is a method defined in Arvados class.
588 #' @usage arv$collections.used_by(uuid)
590 #' @return Collection object.
591 #' @name collections.used_by
596 #' collections.trash is a method defined in Arvados class.
598 #' @usage arv$collections.trash(uuid)
600 #' @return Collection object.
601 #' @name collections.trash
604 #' collections.untrash
606 #' collections.untrash is a method defined in Arvados class.
608 #' @usage arv$collections.untrash(uuid)
610 #' @return Collection object.
611 #' @name collections.untrash
616 #' collections.list is a method defined in Arvados class.
618 #' @usage arv$collections.list(filters = NULL,
619 #' where = NULL, order = NULL, select = NULL,
620 #' distinct = NULL, limit = "100", offset = "0",
621 #' count = "exact", include_trash = NULL)
630 #' @param include_trash Include collections whose is_trashed attribute is true.
631 #' @return CollectionList object.
632 #' @name collections.list
637 #' humans.get is a method defined in Arvados class.
639 #' @usage arv$humans.get(uuid)
640 #' @param uuid The UUID of the Human in question.
641 #' @return Human object.
647 #' humans.create is a method defined in Arvados class.
649 #' @usage arv$humans.create(human, ensure_unique_name = "false")
650 #' @param human Human object.
651 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
652 #' @return Human object.
653 #' @name humans.create
658 #' humans.update is a method defined in Arvados class.
660 #' @usage arv$humans.update(human, uuid)
661 #' @param human Human object.
662 #' @param uuid The UUID of the Human in question.
663 #' @return Human object.
664 #' @name humans.update
669 #' humans.delete is a method defined in Arvados class.
671 #' @usage arv$humans.delete(uuid)
672 #' @param uuid The UUID of the Human in question.
673 #' @return Human object.
674 #' @name humans.delete
679 #' humans.list is a method defined in Arvados class.
681 #' @usage arv$humans.list(filters = NULL,
682 #' where = NULL, order = NULL, select = NULL,
683 #' distinct = NULL, limit = "100", offset = "0",
693 #' @return HumanList object.
699 #' job_tasks.get is a method defined in Arvados class.
701 #' @usage arv$job_tasks.get(uuid)
702 #' @param uuid The UUID of the JobTask in question.
703 #' @return JobTask object.
704 #' @name job_tasks.get
709 #' job_tasks.create is a method defined in Arvados class.
711 #' @usage arv$job_tasks.create(jobtask, ensure_unique_name = "false")
712 #' @param jobTask JobTask object.
713 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
714 #' @return JobTask object.
715 #' @name job_tasks.create
720 #' job_tasks.update is a method defined in Arvados class.
722 #' @usage arv$job_tasks.update(jobtask, uuid)
723 #' @param jobTask JobTask object.
724 #' @param uuid The UUID of the JobTask in question.
725 #' @return JobTask object.
726 #' @name job_tasks.update
731 #' job_tasks.delete is a method defined in Arvados class.
733 #' @usage arv$job_tasks.delete(uuid)
734 #' @param uuid The UUID of the JobTask in question.
735 #' @return JobTask object.
736 #' @name job_tasks.delete
741 #' job_tasks.list is a method defined in Arvados class.
743 #' @usage arv$job_tasks.list(filters = NULL,
744 #' where = NULL, order = NULL, select = NULL,
745 #' distinct = NULL, limit = "100", offset = "0",
755 #' @return JobTaskList object.
756 #' @name job_tasks.list
761 #' jobs.get is a method defined in Arvados class.
763 #' @usage arv$jobs.get(uuid)
764 #' @param uuid The UUID of the Job in question.
765 #' @return Job object.
771 #' jobs.create is a method defined in Arvados class.
773 #' @usage arv$jobs.create(job, ensure_unique_name = "false",
774 #' find_or_create = "false", filters = NULL,
775 #' minimum_script_version = NULL, exclude_script_versions = NULL)
776 #' @param job Job object.
777 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
778 #' @param find_or_create
780 #' @param minimum_script_version
781 #' @param exclude_script_versions
782 #' @return Job object.
788 #' jobs.update is a method defined in Arvados class.
790 #' @usage arv$jobs.update(job, uuid)
791 #' @param job Job object.
792 #' @param uuid The UUID of the Job in question.
793 #' @return Job object.
799 #' jobs.delete is a method defined in Arvados class.
801 #' @usage arv$jobs.delete(uuid)
802 #' @param uuid The UUID of the Job in question.
803 #' @return Job object.
809 #' jobs.queue is a method defined in Arvados class.
811 #' @usage arv$jobs.queue(filters = NULL,
812 #' where = NULL, order = NULL, select = NULL,
813 #' distinct = NULL, limit = "100", offset = "0",
823 #' @return Job object.
829 #' jobs.queue_size is a method defined in Arvados class.
831 #' @usage arv$jobs.queue_size(NULL)
832 #' @return Job object.
833 #' @name jobs.queue_size
838 #' jobs.cancel is a method defined in Arvados class.
840 #' @usage arv$jobs.cancel(uuid)
842 #' @return Job object.
848 #' jobs.lock is a method defined in Arvados class.
850 #' @usage arv$jobs.lock(uuid)
852 #' @return Job object.
858 #' jobs.list is a method defined in Arvados class.
860 #' @usage arv$jobs.list(filters = NULL, where = NULL,
861 #' order = NULL, select = NULL, distinct = NULL,
862 #' limit = "100", offset = "0", count = "exact")
871 #' @return JobList object.
877 #' keep_disks.get is a method defined in Arvados class.
879 #' @usage arv$keep_disks.get(uuid)
880 #' @param uuid The UUID of the KeepDisk in question.
881 #' @return KeepDisk object.
882 #' @name keep_disks.get
887 #' keep_disks.create is a method defined in Arvados class.
889 #' @usage arv$keep_disks.create(keepdisk,
890 #' ensure_unique_name = "false")
891 #' @param keepDisk KeepDisk object.
892 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
893 #' @return KeepDisk object.
894 #' @name keep_disks.create
899 #' keep_disks.update is a method defined in Arvados class.
901 #' @usage arv$keep_disks.update(keepdisk,
903 #' @param keepDisk KeepDisk object.
904 #' @param uuid The UUID of the KeepDisk in question.
905 #' @return KeepDisk object.
906 #' @name keep_disks.update
911 #' keep_disks.delete is a method defined in Arvados class.
913 #' @usage arv$keep_disks.delete(uuid)
914 #' @param uuid The UUID of the KeepDisk in question.
915 #' @return KeepDisk object.
916 #' @name keep_disks.delete
921 #' keep_disks.ping is a method defined in Arvados class.
923 #' @usage arv$keep_disks.ping(uuid = NULL,
924 #' ping_secret, node_uuid = NULL, filesystem_uuid = NULL,
925 #' service_host = NULL, service_port, service_ssl_flag)
927 #' @param ping_secret
929 #' @param filesystem_uuid
930 #' @param service_host
931 #' @param service_port
932 #' @param service_ssl_flag
933 #' @return KeepDisk object.
934 #' @name keep_disks.ping
939 #' keep_disks.list is a method defined in Arvados class.
941 #' @usage arv$keep_disks.list(filters = NULL,
942 #' where = NULL, order = NULL, select = NULL,
943 #' distinct = NULL, limit = "100", offset = "0",
953 #' @return KeepDiskList object.
954 #' @name keep_disks.list
959 #' nodes.get is a method defined in Arvados class.
961 #' @usage arv$nodes.get(uuid)
962 #' @param uuid The UUID of the Node in question.
963 #' @return Node object.
969 #' nodes.create is a method defined in Arvados class.
971 #' @usage arv$nodes.create(node, ensure_unique_name = "false",
972 #' assign_slot = NULL)
973 #' @param node Node object.
974 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
975 #' @param assign_slot assign slot and hostname
976 #' @return Node object.
977 #' @name nodes.create
982 #' nodes.update is a method defined in Arvados class.
984 #' @usage arv$nodes.update(node, uuid, assign_slot = NULL)
985 #' @param node Node object.
986 #' @param uuid The UUID of the Node in question.
987 #' @param assign_slot assign slot and hostname
988 #' @return Node object.
989 #' @name nodes.update
994 #' nodes.delete is a method defined in Arvados class.
996 #' @usage arv$nodes.delete(uuid)
997 #' @param uuid The UUID of the Node in question.
998 #' @return Node object.
999 #' @name nodes.delete
1004 #' nodes.ping is a method defined in Arvados class.
1006 #' @usage arv$nodes.ping(uuid, ping_secret)
1008 #' @param ping_secret
1009 #' @return Node object.
1015 #' nodes.list is a method defined in Arvados class.
1017 #' @usage arv$nodes.list(filters = NULL,
1018 #' where = NULL, order = NULL, select = NULL,
1019 #' distinct = NULL, limit = "100", offset = "0",
1029 #' @return NodeList object.
1035 #' links.get is a method defined in Arvados class.
1037 #' @usage arv$links.get(uuid)
1038 #' @param uuid The UUID of the Link in question.
1039 #' @return Link object.
1045 #' links.create is a method defined in Arvados class.
1047 #' @usage arv$links.create(link, ensure_unique_name = "false")
1048 #' @param link Link object.
1049 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1050 #' @return Link object.
1051 #' @name links.create
1056 #' links.update is a method defined in Arvados class.
1058 #' @usage arv$links.update(link, uuid)
1059 #' @param link Link object.
1060 #' @param uuid The UUID of the Link in question.
1061 #' @return Link object.
1062 #' @name links.update
1067 #' links.delete is a method defined in Arvados class.
1069 #' @usage arv$links.delete(uuid)
1070 #' @param uuid The UUID of the Link in question.
1071 #' @return Link object.
1072 #' @name links.delete
1077 #' links.list is a method defined in Arvados class.
1079 #' @usage arv$links.list(filters = NULL,
1080 #' where = NULL, order = NULL, select = NULL,
1081 #' distinct = NULL, limit = "100", offset = "0",
1091 #' @return LinkList object.
1095 #' links.get_permissions
1097 #' links.get_permissions is a method defined in Arvados class.
1099 #' @usage arv$links.get_permissions(uuid)
1101 #' @return Link object.
1102 #' @name links.get_permissions
1105 #' keep_services.get
1107 #' keep_services.get is a method defined in Arvados class.
1109 #' @usage arv$keep_services.get(uuid)
1110 #' @param uuid The UUID of the KeepService in question.
1111 #' @return KeepService object.
1112 #' @name keep_services.get
1115 #' keep_services.create
1117 #' keep_services.create is a method defined in Arvados class.
1119 #' @usage arv$keep_services.create(keepservice,
1120 #' ensure_unique_name = "false")
1121 #' @param keepService KeepService object.
1122 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1123 #' @return KeepService object.
1124 #' @name keep_services.create
1127 #' keep_services.update
1129 #' keep_services.update is a method defined in Arvados class.
1131 #' @usage arv$keep_services.update(keepservice,
1133 #' @param keepService KeepService object.
1134 #' @param uuid The UUID of the KeepService in question.
1135 #' @return KeepService object.
1136 #' @name keep_services.update
1139 #' keep_services.delete
1141 #' keep_services.delete is a method defined in Arvados class.
1143 #' @usage arv$keep_services.delete(uuid)
1144 #' @param uuid The UUID of the KeepService in question.
1145 #' @return KeepService object.
1146 #' @name keep_services.delete
1149 #' keep_services.accessible
1151 #' keep_services.accessible is a method defined in Arvados class.
1153 #' @usage arv$keep_services.accessible(NULL)
1154 #' @return KeepService object.
1155 #' @name keep_services.accessible
1158 #' keep_services.list
1160 #' keep_services.list is a method defined in Arvados class.
1162 #' @usage arv$keep_services.list(filters = NULL,
1163 #' where = NULL, order = NULL, select = NULL,
1164 #' distinct = NULL, limit = "100", offset = "0",
1174 #' @return KeepServiceList object.
1175 #' @name keep_services.list
1178 #' pipeline_templates.get
1180 #' pipeline_templates.get is a method defined in Arvados class.
1182 #' @usage arv$pipeline_templates.get(uuid)
1183 #' @param uuid The UUID of the PipelineTemplate in question.
1184 #' @return PipelineTemplate object.
1185 #' @name pipeline_templates.get
1188 #' pipeline_templates.create
1190 #' pipeline_templates.create is a method defined in Arvados class.
1192 #' @usage arv$pipeline_templates.create(pipelinetemplate,
1193 #' ensure_unique_name = "false")
1194 #' @param pipelineTemplate PipelineTemplate object.
1195 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1196 #' @return PipelineTemplate object.
1197 #' @name pipeline_templates.create
1200 #' pipeline_templates.update
1202 #' pipeline_templates.update is a method defined in Arvados class.
1204 #' @usage arv$pipeline_templates.update(pipelinetemplate,
1206 #' @param pipelineTemplate PipelineTemplate object.
1207 #' @param uuid The UUID of the PipelineTemplate in question.
1208 #' @return PipelineTemplate object.
1209 #' @name pipeline_templates.update
1212 #' pipeline_templates.delete
1214 #' pipeline_templates.delete is a method defined in Arvados class.
1216 #' @usage arv$pipeline_templates.delete(uuid)
1217 #' @param uuid The UUID of the PipelineTemplate in question.
1218 #' @return PipelineTemplate object.
1219 #' @name pipeline_templates.delete
1222 #' pipeline_templates.list
1224 #' pipeline_templates.list is a method defined in Arvados class.
1226 #' @usage arv$pipeline_templates.list(filters = NULL,
1227 #' where = NULL, order = NULL, select = NULL,
1228 #' distinct = NULL, limit = "100", offset = "0",
1238 #' @return PipelineTemplateList object.
1239 #' @name pipeline_templates.list
1242 #' pipeline_instances.get
1244 #' pipeline_instances.get is a method defined in Arvados class.
1246 #' @usage arv$pipeline_instances.get(uuid)
1247 #' @param uuid The UUID of the PipelineInstance in question.
1248 #' @return PipelineInstance object.
1249 #' @name pipeline_instances.get
1252 #' pipeline_instances.create
1254 #' pipeline_instances.create is a method defined in Arvados class.
1256 #' @usage arv$pipeline_instances.create(pipelineinstance,
1257 #' ensure_unique_name = "false")
1258 #' @param pipelineInstance PipelineInstance object.
1259 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1260 #' @return PipelineInstance object.
1261 #' @name pipeline_instances.create
1264 #' pipeline_instances.update
1266 #' pipeline_instances.update is a method defined in Arvados class.
1268 #' @usage arv$pipeline_instances.update(pipelineinstance,
1270 #' @param pipelineInstance PipelineInstance object.
1271 #' @param uuid The UUID of the PipelineInstance in question.
1272 #' @return PipelineInstance object.
1273 #' @name pipeline_instances.update
1276 #' pipeline_instances.delete
1278 #' pipeline_instances.delete is a method defined in Arvados class.
1280 #' @usage arv$pipeline_instances.delete(uuid)
1281 #' @param uuid The UUID of the PipelineInstance in question.
1282 #' @return PipelineInstance object.
1283 #' @name pipeline_instances.delete
1286 #' pipeline_instances.cancel
1288 #' pipeline_instances.cancel is a method defined in Arvados class.
1290 #' @usage arv$pipeline_instances.cancel(uuid)
1292 #' @return PipelineInstance object.
1293 #' @name pipeline_instances.cancel
1296 #' pipeline_instances.list
1298 #' pipeline_instances.list is a method defined in Arvados class.
1300 #' @usage arv$pipeline_instances.list(filters = NULL,
1301 #' where = NULL, order = NULL, select = NULL,
1302 #' distinct = NULL, limit = "100", offset = "0",
1312 #' @return PipelineInstanceList object.
1313 #' @name pipeline_instances.list
1318 #' repositories.get is a method defined in Arvados class.
1320 #' @usage arv$repositories.get(uuid)
1321 #' @param uuid The UUID of the Repository in question.
1322 #' @return Repository object.
1323 #' @name repositories.get
1326 #' repositories.create
1328 #' repositories.create is a method defined in Arvados class.
1330 #' @usage arv$repositories.create(repository,
1331 #' ensure_unique_name = "false")
1332 #' @param repository Repository object.
1333 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1334 #' @return Repository object.
1335 #' @name repositories.create
1338 #' repositories.update
1340 #' repositories.update is a method defined in Arvados class.
1342 #' @usage arv$repositories.update(repository,
1344 #' @param repository Repository object.
1345 #' @param uuid The UUID of the Repository in question.
1346 #' @return Repository object.
1347 #' @name repositories.update
1350 #' repositories.delete
1352 #' repositories.delete is a method defined in Arvados class.
1354 #' @usage arv$repositories.delete(uuid)
1355 #' @param uuid The UUID of the Repository in question.
1356 #' @return Repository object.
1357 #' @name repositories.delete
1360 #' repositories.get_all_permissions
1362 #' repositories.get_all_permissions is a method defined in Arvados class.
1364 #' @usage arv$repositories.get_all_permissions(NULL)
1365 #' @return Repository object.
1366 #' @name repositories.get_all_permissions
1369 #' repositories.list
1371 #' repositories.list is a method defined in Arvados class.
1373 #' @usage arv$repositories.list(filters = NULL,
1374 #' where = NULL, order = NULL, select = NULL,
1375 #' distinct = NULL, limit = "100", offset = "0",
1385 #' @return RepositoryList object.
1386 #' @name repositories.list
1391 #' specimens.get is a method defined in Arvados class.
1393 #' @usage arv$specimens.get(uuid)
1394 #' @param uuid The UUID of the Specimen in question.
1395 #' @return Specimen object.
1396 #' @name specimens.get
1401 #' specimens.create is a method defined in Arvados class.
1403 #' @usage arv$specimens.create(specimen,
1404 #' ensure_unique_name = "false")
1405 #' @param specimen Specimen object.
1406 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1407 #' @return Specimen object.
1408 #' @name specimens.create
1413 #' specimens.update is a method defined in Arvados class.
1415 #' @usage arv$specimens.update(specimen,
1417 #' @param specimen Specimen object.
1418 #' @param uuid The UUID of the Specimen in question.
1419 #' @return Specimen object.
1420 #' @name specimens.update
1425 #' specimens.delete is a method defined in Arvados class.
1427 #' @usage arv$specimens.delete(uuid)
1428 #' @param uuid The UUID of the Specimen in question.
1429 #' @return Specimen object.
1430 #' @name specimens.delete
1435 #' specimens.list is a method defined in Arvados class.
1437 #' @usage arv$specimens.list(filters = NULL,
1438 #' where = NULL, order = NULL, select = NULL,
1439 #' distinct = NULL, limit = "100", offset = "0",
1449 #' @return SpecimenList object.
1450 #' @name specimens.list
1455 #' logs.get is a method defined in Arvados class.
1457 #' @usage arv$logs.get(uuid)
1458 #' @param uuid The UUID of the Log in question.
1459 #' @return Log object.
1465 #' logs.create is a method defined in Arvados class.
1467 #' @usage arv$logs.create(log, ensure_unique_name = "false")
1468 #' @param log Log object.
1469 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1470 #' @return Log object.
1471 #' @name logs.create
1476 #' logs.update is a method defined in Arvados class.
1478 #' @usage arv$logs.update(log, uuid)
1479 #' @param log Log object.
1480 #' @param uuid The UUID of the Log in question.
1481 #' @return Log object.
1482 #' @name logs.update
1487 #' logs.delete is a method defined in Arvados class.
1489 #' @usage arv$logs.delete(uuid)
1490 #' @param uuid The UUID of the Log in question.
1491 #' @return Log object.
1492 #' @name logs.delete
1497 #' logs.list is a method defined in Arvados class.
1499 #' @usage arv$logs.list(filters = NULL, where = NULL,
1500 #' order = NULL, select = NULL, distinct = NULL,
1501 #' limit = "100", offset = "0", count = "exact")
1510 #' @return LogList object.
1516 #' traits.get is a method defined in Arvados class.
1518 #' @usage arv$traits.get(uuid)
1519 #' @param uuid The UUID of the Trait in question.
1520 #' @return Trait object.
1526 #' traits.create is a method defined in Arvados class.
1528 #' @usage arv$traits.create(trait, ensure_unique_name = "false")
1529 #' @param trait Trait object.
1530 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1531 #' @return Trait object.
1532 #' @name traits.create
1537 #' traits.update is a method defined in Arvados class.
1539 #' @usage arv$traits.update(trait, uuid)
1540 #' @param trait Trait object.
1541 #' @param uuid The UUID of the Trait in question.
1542 #' @return Trait object.
1543 #' @name traits.update
1548 #' traits.delete is a method defined in Arvados class.
1550 #' @usage arv$traits.delete(uuid)
1551 #' @param uuid The UUID of the Trait in question.
1552 #' @return Trait object.
1553 #' @name traits.delete
1558 #' traits.list is a method defined in Arvados class.
1560 #' @usage arv$traits.list(filters = NULL,
1561 #' where = NULL, order = NULL, select = NULL,
1562 #' distinct = NULL, limit = "100", offset = "0",
1572 #' @return TraitList object.
1573 #' @name traits.list
1576 #' virtual_machines.get
1578 #' virtual_machines.get is a method defined in Arvados class.
1580 #' @usage arv$virtual_machines.get(uuid)
1581 #' @param uuid The UUID of the VirtualMachine in question.
1582 #' @return VirtualMachine object.
1583 #' @name virtual_machines.get
1586 #' virtual_machines.create
1588 #' virtual_machines.create is a method defined in Arvados class.
1590 #' @usage arv$virtual_machines.create(virtualmachine,
1591 #' ensure_unique_name = "false")
1592 #' @param virtualMachine VirtualMachine object.
1593 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1594 #' @return VirtualMachine object.
1595 #' @name virtual_machines.create
1598 #' virtual_machines.update
1600 #' virtual_machines.update is a method defined in Arvados class.
1602 #' @usage arv$virtual_machines.update(virtualmachine,
1604 #' @param virtualMachine VirtualMachine object.
1605 #' @param uuid The UUID of the VirtualMachine in question.
1606 #' @return VirtualMachine object.
1607 #' @name virtual_machines.update
1610 #' virtual_machines.delete
1612 #' virtual_machines.delete is a method defined in Arvados class.
1614 #' @usage arv$virtual_machines.delete(uuid)
1615 #' @param uuid The UUID of the VirtualMachine in question.
1616 #' @return VirtualMachine object.
1617 #' @name virtual_machines.delete
1620 #' virtual_machines.logins
1622 #' virtual_machines.logins is a method defined in Arvados class.
1624 #' @usage arv$virtual_machines.logins(uuid)
1626 #' @return VirtualMachine object.
1627 #' @name virtual_machines.logins
1630 #' virtual_machines.get_all_logins
1632 #' virtual_machines.get_all_logins is a method defined in Arvados class.
1634 #' @usage arv$virtual_machines.get_all_logins(NULL)
1635 #' @return VirtualMachine object.
1636 #' @name virtual_machines.get_all_logins
1639 #' virtual_machines.list
1641 #' virtual_machines.list is a method defined in Arvados class.
1643 #' @usage arv$virtual_machines.list(filters = NULL,
1644 #' where = NULL, order = NULL, select = NULL,
1645 #' distinct = NULL, limit = "100", offset = "0",
1655 #' @return VirtualMachineList object.
1656 #' @name virtual_machines.list
1661 #' workflows.get is a method defined in Arvados class.
1663 #' @usage arv$workflows.get(uuid)
1664 #' @param uuid The UUID of the Workflow in question.
1665 #' @return Workflow object.
1666 #' @name workflows.get
1671 #' workflows.create is a method defined in Arvados class.
1673 #' @usage arv$workflows.create(workflow,
1674 #' ensure_unique_name = "false")
1675 #' @param workflow Workflow object.
1676 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1677 #' @return Workflow object.
1678 #' @name workflows.create
1683 #' workflows.update is a method defined in Arvados class.
1685 #' @usage arv$workflows.update(workflow,
1687 #' @param workflow Workflow object.
1688 #' @param uuid The UUID of the Workflow in question.
1689 #' @return Workflow object.
1690 #' @name workflows.update
1695 #' workflows.delete is a method defined in Arvados class.
1697 #' @usage arv$workflows.delete(uuid)
1698 #' @param uuid The UUID of the Workflow in question.
1699 #' @return Workflow object.
1700 #' @name workflows.delete
1705 #' workflows.list is a method defined in Arvados class.
1707 #' @usage arv$workflows.list(filters = NULL,
1708 #' where = NULL, order = NULL, select = NULL,
1709 #' distinct = NULL, limit = "100", offset = "0",
1719 #' @return WorkflowList object.
1720 #' @name workflows.list
1725 #' groups.get is a method defined in Arvados class.
1727 #' @usage arv$groups.get(uuid)
1728 #' @param uuid The UUID of the Group in question.
1729 #' @return Group object.
1735 #' groups.create is a method defined in Arvados class.
1737 #' @usage arv$groups.create(group, ensure_unique_name = "false")
1738 #' @param group Group object.
1739 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1740 #' @return Group object.
1741 #' @name groups.create
1746 #' groups.update is a method defined in Arvados class.
1748 #' @usage arv$groups.update(group, uuid)
1749 #' @param group Group object.
1750 #' @param uuid The UUID of the Group in question.
1751 #' @return Group object.
1752 #' @name groups.update
1757 #' groups.delete is a method defined in Arvados class.
1759 #' @usage arv$groups.delete(uuid)
1760 #' @param uuid The UUID of the Group in question.
1761 #' @return Group object.
1762 #' @name groups.delete
1767 #' groups.contents is a method defined in Arvados class.
1769 #' @usage arv$groups.contents(filters = NULL,
1770 #' where = NULL, order = NULL, distinct = NULL,
1771 #' limit = "100", offset = "0", count = "exact",
1772 #' include_trash = NULL, uuid = NULL, recursive = NULL)
1780 #' @param include_trash Include items whose is_trashed attribute is true.
1782 #' @param recursive Include contents from child groups recursively.
1783 #' @return Group object.
1784 #' @name groups.contents
1789 #' groups.trash is a method defined in Arvados class.
1791 #' @usage arv$groups.trash(uuid)
1793 #' @return Group object.
1794 #' @name groups.trash
1799 #' groups.untrash is a method defined in Arvados class.
1801 #' @usage arv$groups.untrash(uuid)
1803 #' @return Group object.
1804 #' @name groups.untrash
1809 #' groups.list is a method defined in Arvados class.
1811 #' @usage arv$groups.list(filters = NULL,
1812 #' where = NULL, order = NULL, select = NULL,
1813 #' distinct = NULL, limit = "100", offset = "0",
1814 #' count = "exact", include_trash = NULL)
1823 #' @param include_trash Include items whose is_trashed attribute is true.
1824 #' @return GroupList object.
1825 #' @name groups.list
1828 #' user_agreements.get
1830 #' user_agreements.get is a method defined in Arvados class.
1832 #' @usage arv$user_agreements.get(uuid)
1833 #' @param uuid The UUID of the UserAgreement in question.
1834 #' @return UserAgreement object.
1835 #' @name user_agreements.get
1838 #' user_agreements.create
1840 #' user_agreements.create is a method defined in Arvados class.
1842 #' @usage arv$user_agreements.create(useragreement,
1843 #' ensure_unique_name = "false")
1844 #' @param userAgreement UserAgreement object.
1845 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1846 #' @return UserAgreement object.
1847 #' @name user_agreements.create
1850 #' user_agreements.update
1852 #' user_agreements.update is a method defined in Arvados class.
1854 #' @usage arv$user_agreements.update(useragreement,
1856 #' @param userAgreement UserAgreement object.
1857 #' @param uuid The UUID of the UserAgreement in question.
1858 #' @return UserAgreement object.
1859 #' @name user_agreements.update
1862 #' user_agreements.delete
1864 #' user_agreements.delete is a method defined in Arvados class.
1866 #' @usage arv$user_agreements.delete(uuid)
1867 #' @param uuid The UUID of the UserAgreement in question.
1868 #' @return UserAgreement object.
1869 #' @name user_agreements.delete
1872 #' user_agreements.signatures
1874 #' user_agreements.signatures is a method defined in Arvados class.
1876 #' @usage arv$user_agreements.signatures(NULL)
1877 #' @return UserAgreement object.
1878 #' @name user_agreements.signatures
1881 #' user_agreements.sign
1883 #' user_agreements.sign is a method defined in Arvados class.
1885 #' @usage arv$user_agreements.sign(NULL)
1886 #' @return UserAgreement object.
1887 #' @name user_agreements.sign
1890 #' user_agreements.list
1892 #' user_agreements.list is a method defined in Arvados class.
1894 #' @usage arv$user_agreements.list(filters = NULL,
1895 #' where = NULL, order = NULL, select = NULL,
1896 #' distinct = NULL, limit = "100", offset = "0",
1906 #' @return UserAgreementList object.
1907 #' @name user_agreements.list
1910 #' user_agreements.new
1912 #' user_agreements.new is a method defined in Arvados class.
1914 #' @usage arv$user_agreements.new(NULL)
1915 #' @return UserAgreement object.
1916 #' @name user_agreements.new
1921 #' projects.get is equivalent to groups.get method.
1923 #' @usage arv$projects.get(uuid)
1924 #' @param uuid The UUID of the Group in question.
1925 #' @return Group object.
1926 #' @name projects.get
1931 #' projects.create wrapps groups.create method by setting group_class attribute to "project".
1933 #' @usage arv$projects.create(group, ensure_unique_name = "false")
1934 #' @param group Group object.
1935 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1936 #' @return Group object.
1937 #' @name projects.create
1942 #' projects.update wrapps groups.update method by setting group_class attribute to "project".
1944 #' @usage arv$projects.update(group, uuid)
1945 #' @param group Group object.
1946 #' @param uuid The UUID of the Group in question.
1947 #' @return Group object.
1948 #' @name projects.update
1953 #' projects.delete is equivalent to groups.delete method.
1955 #' @usage arv$project.delete(uuid)
1956 #' @param uuid The UUID of the Group in question.
1957 #' @return Group object.
1958 #' @name projects.delete
1963 #' projects.list wrapps groups.list method by setting group_class attribute to "project".
1965 #' @usage arv$projects.list(filters = NULL,
1966 #' where = NULL, order = NULL, distinct = NULL,
1967 #' limit = "100", offset = "0", count = "exact",
1968 #' include_trash = NULL, uuid = NULL, recursive = NULL)
1976 #' @param include_trash Include items whose is_trashed attribute is true.
1978 #' @param recursive Include contents from child groups recursively.
1979 #' @return Group object.
1980 #' @name projects.list
1985 #' Arvados class gives users ability to access Arvados REST API.
1988 #' \preformatted{arv = Arvados$new(authToken = NULL, hostName = NULL, numRetries = 0)}
1990 #' @section Arguments:
1992 #' \item{authToken}{Authentification token. If not specified ARVADOS_API_TOKEN environment variable will be used.}
1993 #' \item{hostName}{Host name. If not specified ARVADOS_API_HOST environment variable will be used.}
1994 #' \item{numRetries}{Number which specifies how many times to retry failed service requests.}
1997 #' @section Methods:
1999 #' \item{}{\code{\link{api_client_authorizations.create}}}
2000 #' \item{}{\code{\link{api_client_authorizations.create_system_auth}}}
2001 #' \item{}{\code{\link{api_client_authorizations.current}}}
2002 #' \item{}{\code{\link{api_client_authorizations.delete}}}
2003 #' \item{}{\code{\link{api_client_authorizations.get}}}
2004 #' \item{}{\code{\link{api_client_authorizations.list}}}
2005 #' \item{}{\code{\link{api_client_authorizations.update}}}
2006 #' \item{}{\code{\link{api_clients.create}}}
2007 #' \item{}{\code{\link{api_clients.delete}}}
2008 #' \item{}{\code{\link{api_clients.get}}}
2009 #' \item{}{\code{\link{api_clients.list}}}
2010 #' \item{}{\code{\link{api_clients.update}}}
2011 #' \item{}{\code{\link{authorized_keys.create}}}
2012 #' \item{}{\code{\link{authorized_keys.delete}}}
2013 #' \item{}{\code{\link{authorized_keys.get}}}
2014 #' \item{}{\code{\link{authorized_keys.list}}}
2015 #' \item{}{\code{\link{authorized_keys.update}}}
2016 #' \item{}{\code{\link{collections.create}}}
2017 #' \item{}{\code{\link{collections.delete}}}
2018 #' \item{}{\code{\link{collections.get}}}
2019 #' \item{}{\code{\link{collections.list}}}
2020 #' \item{}{\code{\link{collections.provenance}}}
2021 #' \item{}{\code{\link{collections.trash}}}
2022 #' \item{}{\code{\link{collections.untrash}}}
2023 #' \item{}{\code{\link{collections.update}}}
2024 #' \item{}{\code{\link{collections.used_by}}}
2025 #' \item{}{\code{\link{container_requests.create}}}
2026 #' \item{}{\code{\link{container_requests.delete}}}
2027 #' \item{}{\code{\link{container_requests.get}}}
2028 #' \item{}{\code{\link{container_requests.list}}}
2029 #' \item{}{\code{\link{container_requests.update}}}
2030 #' \item{}{\code{\link{containers.auth}}}
2031 #' \item{}{\code{\link{containers.create}}}
2032 #' \item{}{\code{\link{containers.current}}}
2033 #' \item{}{\code{\link{containers.delete}}}
2034 #' \item{}{\code{\link{containers.get}}}
2035 #' \item{}{\code{\link{containers.list}}}
2036 #' \item{}{\code{\link{containers.lock}}}
2037 #' \item{}{\code{\link{containers.secret_mounts}}}
2038 #' \item{}{\code{\link{containers.unlock}}}
2039 #' \item{}{\code{\link{containers.update}}}
2040 #' \item{}{\code{\link{groups.contents}}}
2041 #' \item{}{\code{\link{groups.create}}}
2042 #' \item{}{\code{\link{groups.delete}}}
2043 #' \item{}{\code{\link{groups.get}}}
2044 #' \item{}{\code{\link{groups.list}}}
2045 #' \item{}{\code{\link{groups.trash}}}
2046 #' \item{}{\code{\link{groups.untrash}}}
2047 #' \item{}{\code{\link{groups.update}}}
2048 #' \item{}{\code{\link{humans.create}}}
2049 #' \item{}{\code{\link{humans.delete}}}
2050 #' \item{}{\code{\link{humans.get}}}
2051 #' \item{}{\code{\link{humans.list}}}
2052 #' \item{}{\code{\link{humans.update}}}
2053 #' \item{}{\code{\link{jobs.cancel}}}
2054 #' \item{}{\code{\link{jobs.create}}}
2055 #' \item{}{\code{\link{jobs.delete}}}
2056 #' \item{}{\code{\link{jobs.get}}}
2057 #' \item{}{\code{\link{jobs.list}}}
2058 #' \item{}{\code{\link{jobs.lock}}}
2059 #' \item{}{\code{\link{jobs.queue}}}
2060 #' \item{}{\code{\link{jobs.queue_size}}}
2061 #' \item{}{\code{\link{jobs.update}}}
2062 #' \item{}{\code{\link{job_tasks.create}}}
2063 #' \item{}{\code{\link{job_tasks.delete}}}
2064 #' \item{}{\code{\link{job_tasks.get}}}
2065 #' \item{}{\code{\link{job_tasks.list}}}
2066 #' \item{}{\code{\link{job_tasks.update}}}
2067 #' \item{}{\code{\link{keep_disks.create}}}
2068 #' \item{}{\code{\link{keep_disks.delete}}}
2069 #' \item{}{\code{\link{keep_disks.get}}}
2070 #' \item{}{\code{\link{keep_disks.list}}}
2071 #' \item{}{\code{\link{keep_disks.ping}}}
2072 #' \item{}{\code{\link{keep_disks.update}}}
2073 #' \item{}{\code{\link{keep_services.accessible}}}
2074 #' \item{}{\code{\link{keep_services.create}}}
2075 #' \item{}{\code{\link{keep_services.delete}}}
2076 #' \item{}{\code{\link{keep_services.get}}}
2077 #' \item{}{\code{\link{keep_services.list}}}
2078 #' \item{}{\code{\link{keep_services.update}}}
2079 #' \item{}{\code{\link{links.create}}}
2080 #' \item{}{\code{\link{links.delete}}}
2081 #' \item{}{\code{\link{links.get}}}
2082 #' \item{}{\code{\link{links.get_permissions}}}
2083 #' \item{}{\code{\link{links.list}}}
2084 #' \item{}{\code{\link{links.update}}}
2085 #' \item{}{\code{\link{logs.create}}}
2086 #' \item{}{\code{\link{logs.delete}}}
2087 #' \item{}{\code{\link{logs.get}}}
2088 #' \item{}{\code{\link{logs.list}}}
2089 #' \item{}{\code{\link{logs.update}}}
2090 #' \item{}{\code{\link{nodes.create}}}
2091 #' \item{}{\code{\link{nodes.delete}}}
2092 #' \item{}{\code{\link{nodes.get}}}
2093 #' \item{}{\code{\link{nodes.list}}}
2094 #' \item{}{\code{\link{nodes.ping}}}
2095 #' \item{}{\code{\link{nodes.update}}}
2096 #' \item{}{\code{\link{pipeline_instances.cancel}}}
2097 #' \item{}{\code{\link{pipeline_instances.create}}}
2098 #' \item{}{\code{\link{pipeline_instances.delete}}}
2099 #' \item{}{\code{\link{pipeline_instances.get}}}
2100 #' \item{}{\code{\link{pipeline_instances.list}}}
2101 #' \item{}{\code{\link{pipeline_instances.update}}}
2102 #' \item{}{\code{\link{pipeline_templates.create}}}
2103 #' \item{}{\code{\link{pipeline_templates.delete}}}
2104 #' \item{}{\code{\link{pipeline_templates.get}}}
2105 #' \item{}{\code{\link{pipeline_templates.list}}}
2106 #' \item{}{\code{\link{pipeline_templates.update}}}
2107 #' \item{}{\code{\link{projects.create}}}
2108 #' \item{}{\code{\link{projects.delete}}}
2109 #' \item{}{\code{\link{projects.get}}}
2110 #' \item{}{\code{\link{projects.list}}}
2111 #' \item{}{\code{\link{projects.update}}}
2112 #' \item{}{\code{\link{repositories.create}}}
2113 #' \item{}{\code{\link{repositories.delete}}}
2114 #' \item{}{\code{\link{repositories.get}}}
2115 #' \item{}{\code{\link{repositories.get_all_permissions}}}
2116 #' \item{}{\code{\link{repositories.list}}}
2117 #' \item{}{\code{\link{repositories.update}}}
2118 #' \item{}{\code{\link{specimens.create}}}
2119 #' \item{}{\code{\link{specimens.delete}}}
2120 #' \item{}{\code{\link{specimens.get}}}
2121 #' \item{}{\code{\link{specimens.list}}}
2122 #' \item{}{\code{\link{specimens.update}}}
2123 #' \item{}{\code{\link{traits.create}}}
2124 #' \item{}{\code{\link{traits.delete}}}
2125 #' \item{}{\code{\link{traits.get}}}
2126 #' \item{}{\code{\link{traits.list}}}
2127 #' \item{}{\code{\link{traits.update}}}
2128 #' \item{}{\code{\link{user_agreements.create}}}
2129 #' \item{}{\code{\link{user_agreements.delete}}}
2130 #' \item{}{\code{\link{user_agreements.get}}}
2131 #' \item{}{\code{\link{user_agreements.list}}}
2132 #' \item{}{\code{\link{user_agreements.new}}}
2133 #' \item{}{\code{\link{user_agreements.sign}}}
2134 #' \item{}{\code{\link{user_agreements.signatures}}}
2135 #' \item{}{\code{\link{user_agreements.update}}}
2136 #' \item{}{\code{\link{users.activate}}}
2137 #' \item{}{\code{\link{users.create}}}
2138 #' \item{}{\code{\link{users.current}}}
2139 #' \item{}{\code{\link{users.delete}}}
2140 #' \item{}{\code{\link{users.get}}}
2141 #' \item{}{\code{\link{users.list}}}
2142 #' \item{}{\code{\link{users.merge}}}
2143 #' \item{}{\code{\link{users.setup}}}
2144 #' \item{}{\code{\link{users.system}}}
2145 #' \item{}{\code{\link{users.unsetup}}}
2146 #' \item{}{\code{\link{users.update}}}
2147 #' \item{}{\code{\link{users.update_uuid}}}
2148 #' \item{}{\code{\link{virtual_machines.create}}}
2149 #' \item{}{\code{\link{virtual_machines.delete}}}
2150 #' \item{}{\code{\link{virtual_machines.get}}}
2151 #' \item{}{\code{\link{virtual_machines.get_all_logins}}}
2152 #' \item{}{\code{\link{virtual_machines.list}}}
2153 #' \item{}{\code{\link{virtual_machines.logins}}}
2154 #' \item{}{\code{\link{virtual_machines.update}}}
2155 #' \item{}{\code{\link{workflows.create}}}
2156 #' \item{}{\code{\link{workflows.delete}}}
2157 #' \item{}{\code{\link{workflows.get}}}
2158 #' \item{}{\code{\link{workflows.list}}}
2159 #' \item{}{\code{\link{workflows.update}}}
2165 #' arv <- Arvados$new("your Arvados token", "example.arvadosapi.com")
2167 #' collection <- arv$collections.get("uuid")
2169 #' collectionList <- arv$collections.list(list(list("name", "like", "Test%")))
2170 #' collectionList <- listAll(arv$collections.list, list(list("name", "like", "Test%")))
2172 #' deletedCollection <- arv$collections.delete("uuid")
2174 #' updatedCollection <- arv$collections.update(list(name = "New name", description = "New description"),
2177 #' createdCollection <- arv$collections.create(list(name = "Example",
2178 #' description = "This is a test collection"))
2183 Arvados <- R6::R6Class(
2189 initialize = function(authToken = NULL, hostName = NULL, numRetries = 0)
2191 if(!is.null(hostName))
2192 Sys.setenv(ARVADOS_API_HOST = hostName)
2194 if(!is.null(authToken))
2195 Sys.setenv(ARVADOS_API_TOKEN = authToken)
2197 hostName <- Sys.getenv("ARVADOS_API_HOST")
2198 token <- Sys.getenv("ARVADOS_API_TOKEN")
2200 if(hostName == "" | token == "")
2201 stop(paste("Please provide host name and authentification token",
2202 "or set ARVADOS_API_HOST and ARVADOS_API_TOKEN",
2203 "environment variables."))
2205 private$token <- token
2206 private$host <- paste0("https://", hostName, "/arvados/v1/")
2207 private$numRetries <- numRetries
2208 private$REST <- RESTService$new(token, hostName,
2209 HttpRequest$new(), HttpParser$new(),
2214 projects.get = function(uuid)
2216 self$groups.get(uuid)
2219 projects.create = function(group, ensure_unique_name = "false")
2221 group <- c("group_class" = "project", group)
2222 self$groups.create(group, ensure_unique_name)
2225 projects.update = function(group, uuid)
2227 group <- c("group_class" = "project", group)
2228 self$groups.update(group, uuid)
2231 projects.list = function(filters = NULL, where = NULL,
2232 order = NULL, select = NULL, distinct = NULL,
2233 limit = "100", offset = "0", count = "exact",
2234 include_trash = NULL)
2236 filters[[length(filters) + 1]] <- list("group_class", "=", "project")
2237 self$groups.list(filters, where, order, select, distinct,
2238 limit, offset, count, include_trash)
2241 projects.delete = function(uuid)
2243 self$groups.delete(uuid)
2246 users.get = function(uuid)
2248 endPoint <- stringr::str_interp("users/${uuid}")
2249 url <- paste0(private$host, endPoint)
2250 headers <- list(Authorization = paste("OAuth2", private$token),
2251 "Content-Type" = "application/json")
2256 response <- private$REST$http$exec("GET", url, headers, body,
2257 queryArgs, private$numRetries)
2258 resource <- private$REST$httpParser$parseJSONResponse(response)
2260 if(!is.null(resource$errors))
2261 stop(resource$errors)
2266 users.create = function(user, ensure_unique_name = "false")
2268 endPoint <- stringr::str_interp("users")
2269 url <- paste0(private$host, endPoint)
2270 headers <- list(Authorization = paste("OAuth2", private$token),
2271 "Content-Type" = "application/json")
2272 queryArgs <- list(ensure_unique_name = ensure_unique_name)
2274 if(length(user) > 0)
2275 body <- jsonlite::toJSON(list(user = user),
2280 response <- private$REST$http$exec("POST", url, headers, body,
2281 queryArgs, private$numRetries)
2282 resource <- private$REST$httpParser$parseJSONResponse(response)
2284 if(!is.null(resource$errors))
2285 stop(resource$errors)
2290 users.update = function(user, uuid)
2292 endPoint <- stringr::str_interp("users/${uuid}")
2293 url <- paste0(private$host, endPoint)
2294 headers <- list(Authorization = paste("OAuth2", private$token),
2295 "Content-Type" = "application/json")
2298 if(length(user) > 0)
2299 body <- jsonlite::toJSON(list(user = user),
2304 response <- private$REST$http$exec("PUT", url, headers, body,
2305 queryArgs, private$numRetries)
2306 resource <- private$REST$httpParser$parseJSONResponse(response)
2308 if(!is.null(resource$errors))
2309 stop(resource$errors)
2314 users.delete = function(uuid)
2316 endPoint <- stringr::str_interp("users/${uuid}")
2317 url <- paste0(private$host, endPoint)
2318 headers <- list(Authorization = paste("OAuth2", private$token),
2319 "Content-Type" = "application/json")
2324 response <- private$REST$http$exec("DELETE", url, headers, body,
2325 queryArgs, private$numRetries)
2326 resource <- private$REST$httpParser$parseJSONResponse(response)
2328 if(!is.null(resource$errors))
2329 stop(resource$errors)
2334 users.current = function()
2336 endPoint <- stringr::str_interp("users/current")
2337 url <- paste0(private$host, endPoint)
2338 headers <- list(Authorization = paste("OAuth2", private$token),
2339 "Content-Type" = "application/json")
2344 response <- private$REST$http$exec("GET", url, headers, body,
2345 queryArgs, private$numRetries)
2346 resource <- private$REST$httpParser$parseJSONResponse(response)
2348 if(!is.null(resource$errors))
2349 stop(resource$errors)
2354 users.system = function()
2356 endPoint <- stringr::str_interp("users/system")
2357 url <- paste0(private$host, endPoint)
2358 headers <- list(Authorization = paste("OAuth2", private$token),
2359 "Content-Type" = "application/json")
2364 response <- private$REST$http$exec("GET", url, headers, body,
2365 queryArgs, private$numRetries)
2366 resource <- private$REST$httpParser$parseJSONResponse(response)
2368 if(!is.null(resource$errors))
2369 stop(resource$errors)
2374 users.activate = function(uuid)
2376 endPoint <- stringr::str_interp("users/${uuid}/activate")
2377 url <- paste0(private$host, endPoint)
2378 headers <- list(Authorization = paste("OAuth2", private$token),
2379 "Content-Type" = "application/json")
2384 response <- private$REST$http$exec("POST", url, headers, body,
2385 queryArgs, private$numRetries)
2386 resource <- private$REST$httpParser$parseJSONResponse(response)
2388 if(!is.null(resource$errors))
2389 stop(resource$errors)
2394 users.setup = function(user = NULL, openid_prefix = NULL,
2395 repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
2397 endPoint <- stringr::str_interp("users/setup")
2398 url <- paste0(private$host, endPoint)
2399 headers <- list(Authorization = paste("OAuth2", private$token),
2400 "Content-Type" = "application/json")
2401 queryArgs <- list(user = user, openid_prefix = openid_prefix,
2402 repo_name = repo_name, vm_uuid = vm_uuid,
2403 send_notification_email = send_notification_email)
2407 response <- private$REST$http$exec("POST", url, headers, body,
2408 queryArgs, private$numRetries)
2409 resource <- private$REST$httpParser$parseJSONResponse(response)
2411 if(!is.null(resource$errors))
2412 stop(resource$errors)
2417 users.unsetup = function(uuid)
2419 endPoint <- stringr::str_interp("users/${uuid}/unsetup")
2420 url <- paste0(private$host, endPoint)
2421 headers <- list(Authorization = paste("OAuth2", private$token),
2422 "Content-Type" = "application/json")
2427 response <- private$REST$http$exec("POST", url, headers, body,
2428 queryArgs, private$numRetries)
2429 resource <- private$REST$httpParser$parseJSONResponse(response)
2431 if(!is.null(resource$errors))
2432 stop(resource$errors)
2437 users.update_uuid = function(uuid, new_uuid)
2439 endPoint <- stringr::str_interp("users/${uuid}/update_uuid")
2440 url <- paste0(private$host, endPoint)
2441 headers <- list(Authorization = paste("OAuth2", private$token),
2442 "Content-Type" = "application/json")
2443 queryArgs <- list(new_uuid = new_uuid)
2447 response <- private$REST$http$exec("POST", url, headers, body,
2448 queryArgs, private$numRetries)
2449 resource <- private$REST$httpParser$parseJSONResponse(response)
2451 if(!is.null(resource$errors))
2452 stop(resource$errors)
2457 users.merge = function(new_owner_uuid, new_user_token,
2458 redirect_to_new_user = NULL)
2460 endPoint <- stringr::str_interp("users/merge")
2461 url <- paste0(private$host, endPoint)
2462 headers <- list(Authorization = paste("OAuth2", private$token),
2463 "Content-Type" = "application/json")
2464 queryArgs <- list(new_owner_uuid = new_owner_uuid,
2465 new_user_token = new_user_token, redirect_to_new_user = redirect_to_new_user)
2469 response <- private$REST$http$exec("POST", url, headers, body,
2470 queryArgs, private$numRetries)
2471 resource <- private$REST$httpParser$parseJSONResponse(response)
2473 if(!is.null(resource$errors))
2474 stop(resource$errors)
2479 users.list = function(filters = NULL, where = NULL,
2480 order = NULL, select = NULL, distinct = NULL,
2481 limit = "100", offset = "0", count = "exact")
2483 endPoint <- stringr::str_interp("users")
2484 url <- paste0(private$host, endPoint)
2485 headers <- list(Authorization = paste("OAuth2", private$token),
2486 "Content-Type" = "application/json")
2487 queryArgs <- list(filters = filters, where = where,
2488 order = order, select = select, distinct = distinct,
2489 limit = limit, offset = offset, count = count)
2493 response <- private$REST$http$exec("GET", url, headers, body,
2494 queryArgs, private$numRetries)
2495 resource <- private$REST$httpParser$parseJSONResponse(response)
2497 if(!is.null(resource$errors))
2498 stop(resource$errors)
2503 api_client_authorizations.get = function(uuid)
2505 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2506 url <- paste0(private$host, endPoint)
2507 headers <- list(Authorization = paste("OAuth2", private$token),
2508 "Content-Type" = "application/json")
2513 response <- private$REST$http$exec("GET", url, headers, body,
2514 queryArgs, private$numRetries)
2515 resource <- private$REST$httpParser$parseJSONResponse(response)
2517 if(!is.null(resource$errors))
2518 stop(resource$errors)
2523 api_client_authorizations.create = function(apiclientauthorization,
2524 ensure_unique_name = "false")
2526 endPoint <- stringr::str_interp("api_client_authorizations")
2527 url <- paste0(private$host, endPoint)
2528 headers <- list(Authorization = paste("OAuth2", private$token),
2529 "Content-Type" = "application/json")
2530 queryArgs <- list(ensure_unique_name = ensure_unique_name)
2532 if(length(apiclientauthorization) > 0)
2533 body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization),
2538 response <- private$REST$http$exec("POST", url, headers, body,
2539 queryArgs, private$numRetries)
2540 resource <- private$REST$httpParser$parseJSONResponse(response)
2542 if(!is.null(resource$errors))
2543 stop(resource$errors)
2548 api_client_authorizations.update = function(apiclientauthorization, uuid)
2550 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2551 url <- paste0(private$host, endPoint)
2552 headers <- list(Authorization = paste("OAuth2", private$token),
2553 "Content-Type" = "application/json")
2556 if(length(apiclientauthorization) > 0)
2557 body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization),
2562 response <- private$REST$http$exec("PUT", url, headers, body,
2563 queryArgs, private$numRetries)
2564 resource <- private$REST$httpParser$parseJSONResponse(response)
2566 if(!is.null(resource$errors))
2567 stop(resource$errors)
2572 api_client_authorizations.delete = function(uuid)
2574 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2575 url <- paste0(private$host, endPoint)
2576 headers <- list(Authorization = paste("OAuth2", private$token),
2577 "Content-Type" = "application/json")
2582 response <- private$REST$http$exec("DELETE", url, headers, body,
2583 queryArgs, private$numRetries)
2584 resource <- private$REST$httpParser$parseJSONResponse(response)
2586 if(!is.null(resource$errors))
2587 stop(resource$errors)
2592 api_client_authorizations.create_system_auth = function(api_client_id = NULL, scopes = NULL)
2594 endPoint <- stringr::str_interp("api_client_authorizations/create_system_auth")
2595 url <- paste0(private$host, endPoint)
2596 headers <- list(Authorization = paste("OAuth2", private$token),
2597 "Content-Type" = "application/json")
2598 queryArgs <- list(api_client_id = api_client_id,
2603 response <- private$REST$http$exec("POST", url, headers, body,
2604 queryArgs, private$numRetries)
2605 resource <- private$REST$httpParser$parseJSONResponse(response)
2607 if(!is.null(resource$errors))
2608 stop(resource$errors)
2613 api_client_authorizations.current = function()
2615 endPoint <- stringr::str_interp("api_client_authorizations/current")
2616 url <- paste0(private$host, endPoint)
2617 headers <- list(Authorization = paste("OAuth2", private$token),
2618 "Content-Type" = "application/json")
2623 response <- private$REST$http$exec("GET", url, headers, body,
2624 queryArgs, private$numRetries)
2625 resource <- private$REST$httpParser$parseJSONResponse(response)
2627 if(!is.null(resource$errors))
2628 stop(resource$errors)
2633 api_client_authorizations.list = function(filters = NULL,
2634 where = NULL, order = NULL, select = NULL,
2635 distinct = NULL, limit = "100", offset = "0",
2638 endPoint <- stringr::str_interp("api_client_authorizations")
2639 url <- paste0(private$host, endPoint)
2640 headers <- list(Authorization = paste("OAuth2", private$token),
2641 "Content-Type" = "application/json")
2642 queryArgs <- list(filters = filters, where = where,
2643 order = order, select = select, distinct = distinct,
2644 limit = limit, offset = offset, count = count)
2648 response <- private$REST$http$exec("GET", url, headers, body,
2649 queryArgs, private$numRetries)
2650 resource <- private$REST$httpParser$parseJSONResponse(response)
2652 if(!is.null(resource$errors))
2653 stop(resource$errors)
2658 containers.get = function(uuid)
2660 endPoint <- stringr::str_interp("containers/${uuid}")
2661 url <- paste0(private$host, endPoint)
2662 headers <- list(Authorization = paste("OAuth2", private$token),
2663 "Content-Type" = "application/json")
2668 response <- private$REST$http$exec("GET", url, headers, body,
2669 queryArgs, private$numRetries)
2670 resource <- private$REST$httpParser$parseJSONResponse(response)
2672 if(!is.null(resource$errors))
2673 stop(resource$errors)
2678 containers.create = function(container, ensure_unique_name = "false")
2680 endPoint <- stringr::str_interp("containers")
2681 url <- paste0(private$host, endPoint)
2682 headers <- list(Authorization = paste("OAuth2", private$token),
2683 "Content-Type" = "application/json")
2684 queryArgs <- list(ensure_unique_name = ensure_unique_name)
2686 if(length(container) > 0)
2687 body <- jsonlite::toJSON(list(container = container),
2692 response <- private$REST$http$exec("POST", url, headers, body,
2693 queryArgs, private$numRetries)
2694 resource <- private$REST$httpParser$parseJSONResponse(response)
2696 if(!is.null(resource$errors))
2697 stop(resource$errors)
2702 containers.update = function(container, uuid)
2704 endPoint <- stringr::str_interp("containers/${uuid}")
2705 url <- paste0(private$host, endPoint)
2706 headers <- list(Authorization = paste("OAuth2", private$token),
2707 "Content-Type" = "application/json")
2710 if(length(container) > 0)
2711 body <- jsonlite::toJSON(list(container = container),
2716 response <- private$REST$http$exec("PUT", url, headers, body,
2717 queryArgs, private$numRetries)
2718 resource <- private$REST$httpParser$parseJSONResponse(response)
2720 if(!is.null(resource$errors))
2721 stop(resource$errors)
2726 containers.delete = function(uuid)
2728 endPoint <- stringr::str_interp("containers/${uuid}")
2729 url <- paste0(private$host, endPoint)
2730 headers <- list(Authorization = paste("OAuth2", private$token),
2731 "Content-Type" = "application/json")
2736 response <- private$REST$http$exec("DELETE", url, headers, body,
2737 queryArgs, private$numRetries)
2738 resource <- private$REST$httpParser$parseJSONResponse(response)
2740 if(!is.null(resource$errors))
2741 stop(resource$errors)
2746 containers.auth = function(uuid)
2748 endPoint <- stringr::str_interp("containers/${uuid}/auth")
2749 url <- paste0(private$host, endPoint)
2750 headers <- list(Authorization = paste("OAuth2", private$token),
2751 "Content-Type" = "application/json")
2756 response <- private$REST$http$exec("GET", url, headers, body,
2757 queryArgs, private$numRetries)
2758 resource <- private$REST$httpParser$parseJSONResponse(response)
2760 if(!is.null(resource$errors))
2761 stop(resource$errors)
2766 containers.lock = function(uuid)
2768 endPoint <- stringr::str_interp("containers/${uuid}/lock")
2769 url <- paste0(private$host, endPoint)
2770 headers <- list(Authorization = paste("OAuth2", private$token),
2771 "Content-Type" = "application/json")
2776 response <- private$REST$http$exec("POST", url, headers, body,
2777 queryArgs, private$numRetries)
2778 resource <- private$REST$httpParser$parseJSONResponse(response)
2780 if(!is.null(resource$errors))
2781 stop(resource$errors)
2786 containers.unlock = function(uuid)
2788 endPoint <- stringr::str_interp("containers/${uuid}/unlock")
2789 url <- paste0(private$host, endPoint)
2790 headers <- list(Authorization = paste("OAuth2", private$token),
2791 "Content-Type" = "application/json")
2796 response <- private$REST$http$exec("POST", url, headers, body,
2797 queryArgs, private$numRetries)
2798 resource <- private$REST$httpParser$parseJSONResponse(response)
2800 if(!is.null(resource$errors))
2801 stop(resource$errors)
2806 containers.secret_mounts = function(uuid)
2808 endPoint <- stringr::str_interp("containers/${uuid}/secret_mounts")
2809 url <- paste0(private$host, endPoint)
2810 headers <- list(Authorization = paste("OAuth2", private$token),
2811 "Content-Type" = "application/json")
2816 response <- private$REST$http$exec("GET", url, headers, body,
2817 queryArgs, private$numRetries)
2818 resource <- private$REST$httpParser$parseJSONResponse(response)
2820 if(!is.null(resource$errors))
2821 stop(resource$errors)
2826 containers.current = function()
2828 endPoint <- stringr::str_interp("containers/current")
2829 url <- paste0(private$host, endPoint)
2830 headers <- list(Authorization = paste("OAuth2", private$token),
2831 "Content-Type" = "application/json")
2836 response <- private$REST$http$exec("GET", url, headers, body,
2837 queryArgs, private$numRetries)
2838 resource <- private$REST$httpParser$parseJSONResponse(response)
2840 if(!is.null(resource$errors))
2841 stop(resource$errors)
2846 containers.list = function(filters = NULL,
2847 where = NULL, order = NULL, select = NULL,
2848 distinct = NULL, limit = "100", offset = "0",
2851 endPoint <- stringr::str_interp("containers")
2852 url <- paste0(private$host, endPoint)
2853 headers <- list(Authorization = paste("OAuth2", private$token),
2854 "Content-Type" = "application/json")
2855 queryArgs <- list(filters = filters, where = where,
2856 order = order, select = select, distinct = distinct,
2857 limit = limit, offset = offset, count = count)
2861 response <- private$REST$http$exec("GET", url, headers, body,
2862 queryArgs, private$numRetries)
2863 resource <- private$REST$httpParser$parseJSONResponse(response)
2865 if(!is.null(resource$errors))
2866 stop(resource$errors)
2871 api_clients.get = function(uuid)
2873 endPoint <- stringr::str_interp("api_clients/${uuid}")
2874 url <- paste0(private$host, endPoint)
2875 headers <- list(Authorization = paste("OAuth2", private$token),
2876 "Content-Type" = "application/json")
2881 response <- private$REST$http$exec("GET", url, headers, body,
2882 queryArgs, private$numRetries)
2883 resource <- private$REST$httpParser$parseJSONResponse(response)
2885 if(!is.null(resource$errors))
2886 stop(resource$errors)
2891 api_clients.create = function(apiclient, ensure_unique_name = "false")
2893 endPoint <- stringr::str_interp("api_clients")
2894 url <- paste0(private$host, endPoint)
2895 headers <- list(Authorization = paste("OAuth2", private$token),
2896 "Content-Type" = "application/json")
2897 queryArgs <- list(ensure_unique_name = ensure_unique_name)
2899 if(length(apiclient) > 0)
2900 body <- jsonlite::toJSON(list(apiclient = apiclient),
2905 response <- private$REST$http$exec("POST", url, headers, body,
2906 queryArgs, private$numRetries)
2907 resource <- private$REST$httpParser$parseJSONResponse(response)
2909 if(!is.null(resource$errors))
2910 stop(resource$errors)
2915 api_clients.update = function(apiclient, uuid)
2917 endPoint <- stringr::str_interp("api_clients/${uuid}")
2918 url <- paste0(private$host, endPoint)
2919 headers <- list(Authorization = paste("OAuth2", private$token),
2920 "Content-Type" = "application/json")
2923 if(length(apiclient) > 0)
2924 body <- jsonlite::toJSON(list(apiclient = apiclient),
2929 response <- private$REST$http$exec("PUT", url, headers, body,
2930 queryArgs, private$numRetries)
2931 resource <- private$REST$httpParser$parseJSONResponse(response)
2933 if(!is.null(resource$errors))
2934 stop(resource$errors)
2939 api_clients.delete = function(uuid)
2941 endPoint <- stringr::str_interp("api_clients/${uuid}")
2942 url <- paste0(private$host, endPoint)
2943 headers <- list(Authorization = paste("OAuth2", private$token),
2944 "Content-Type" = "application/json")
2949 response <- private$REST$http$exec("DELETE", url, headers, body,
2950 queryArgs, private$numRetries)
2951 resource <- private$REST$httpParser$parseJSONResponse(response)
2953 if(!is.null(resource$errors))
2954 stop(resource$errors)
2959 api_clients.list = function(filters = NULL,
2960 where = NULL, order = NULL, select = NULL,
2961 distinct = NULL, limit = "100", offset = "0",
2964 endPoint <- stringr::str_interp("api_clients")
2965 url <- paste0(private$host, endPoint)
2966 headers <- list(Authorization = paste("OAuth2", private$token),
2967 "Content-Type" = "application/json")
2968 queryArgs <- list(filters = filters, where = where,
2969 order = order, select = select, distinct = distinct,
2970 limit = limit, offset = offset, count = count)
2974 response <- private$REST$http$exec("GET", url, headers, body,
2975 queryArgs, private$numRetries)
2976 resource <- private$REST$httpParser$parseJSONResponse(response)
2978 if(!is.null(resource$errors))
2979 stop(resource$errors)
2984 container_requests.get = function(uuid)
2986 endPoint <- stringr::str_interp("container_requests/${uuid}")
2987 url <- paste0(private$host, endPoint)
2988 headers <- list(Authorization = paste("OAuth2", private$token),
2989 "Content-Type" = "application/json")
2994 response <- private$REST$http$exec("GET", url, headers, body,
2995 queryArgs, private$numRetries)
2996 resource <- private$REST$httpParser$parseJSONResponse(response)
2998 if(!is.null(resource$errors))
2999 stop(resource$errors)
3004 container_requests.create = function(containerrequest,
3005 ensure_unique_name = "false")
3007 endPoint <- stringr::str_interp("container_requests")
3008 url <- paste0(private$host, endPoint)
3009 headers <- list(Authorization = paste("OAuth2", private$token),
3010 "Content-Type" = "application/json")
3011 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3013 if(length(containerrequest) > 0)
3014 body <- jsonlite::toJSON(list(containerrequest = containerrequest),
3019 response <- private$REST$http$exec("POST", url, headers, body,
3020 queryArgs, private$numRetries)
3021 resource <- private$REST$httpParser$parseJSONResponse(response)
3023 if(!is.null(resource$errors))
3024 stop(resource$errors)
3029 container_requests.update = function(containerrequest, uuid)
3031 endPoint <- stringr::str_interp("container_requests/${uuid}")
3032 url <- paste0(private$host, endPoint)
3033 headers <- list(Authorization = paste("OAuth2", private$token),
3034 "Content-Type" = "application/json")
3037 if(length(containerrequest) > 0)
3038 body <- jsonlite::toJSON(list(containerrequest = containerrequest),
3043 response <- private$REST$http$exec("PUT", url, headers, body,
3044 queryArgs, private$numRetries)
3045 resource <- private$REST$httpParser$parseJSONResponse(response)
3047 if(!is.null(resource$errors))
3048 stop(resource$errors)
3053 container_requests.delete = function(uuid)
3055 endPoint <- stringr::str_interp("container_requests/${uuid}")
3056 url <- paste0(private$host, endPoint)
3057 headers <- list(Authorization = paste("OAuth2", private$token),
3058 "Content-Type" = "application/json")
3063 response <- private$REST$http$exec("DELETE", url, headers, body,
3064 queryArgs, private$numRetries)
3065 resource <- private$REST$httpParser$parseJSONResponse(response)
3067 if(!is.null(resource$errors))
3068 stop(resource$errors)
3073 container_requests.list = function(filters = NULL,
3074 where = NULL, order = NULL, select = NULL,
3075 distinct = NULL, limit = "100", offset = "0",
3078 endPoint <- stringr::str_interp("container_requests")
3079 url <- paste0(private$host, endPoint)
3080 headers <- list(Authorization = paste("OAuth2", private$token),
3081 "Content-Type" = "application/json")
3082 queryArgs <- list(filters = filters, where = where,
3083 order = order, select = select, distinct = distinct,
3084 limit = limit, offset = offset, count = count)
3088 response <- private$REST$http$exec("GET", url, headers, body,
3089 queryArgs, private$numRetries)
3090 resource <- private$REST$httpParser$parseJSONResponse(response)
3092 if(!is.null(resource$errors))
3093 stop(resource$errors)
3098 authorized_keys.get = function(uuid)
3100 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3101 url <- paste0(private$host, endPoint)
3102 headers <- list(Authorization = paste("OAuth2", private$token),
3103 "Content-Type" = "application/json")
3108 response <- private$REST$http$exec("GET", url, headers, body,
3109 queryArgs, private$numRetries)
3110 resource <- private$REST$httpParser$parseJSONResponse(response)
3112 if(!is.null(resource$errors))
3113 stop(resource$errors)
3118 authorized_keys.create = function(authorizedkey,
3119 ensure_unique_name = "false")
3121 endPoint <- stringr::str_interp("authorized_keys")
3122 url <- paste0(private$host, endPoint)
3123 headers <- list(Authorization = paste("OAuth2", private$token),
3124 "Content-Type" = "application/json")
3125 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3127 if(length(authorizedkey) > 0)
3128 body <- jsonlite::toJSON(list(authorizedkey = authorizedkey),
3133 response <- private$REST$http$exec("POST", url, headers, body,
3134 queryArgs, private$numRetries)
3135 resource <- private$REST$httpParser$parseJSONResponse(response)
3137 if(!is.null(resource$errors))
3138 stop(resource$errors)
3143 authorized_keys.update = function(authorizedkey, uuid)
3145 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3146 url <- paste0(private$host, endPoint)
3147 headers <- list(Authorization = paste("OAuth2", private$token),
3148 "Content-Type" = "application/json")
3151 if(length(authorizedkey) > 0)
3152 body <- jsonlite::toJSON(list(authorizedkey = authorizedkey),
3157 response <- private$REST$http$exec("PUT", url, headers, body,
3158 queryArgs, private$numRetries)
3159 resource <- private$REST$httpParser$parseJSONResponse(response)
3161 if(!is.null(resource$errors))
3162 stop(resource$errors)
3167 authorized_keys.delete = function(uuid)
3169 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3170 url <- paste0(private$host, endPoint)
3171 headers <- list(Authorization = paste("OAuth2", private$token),
3172 "Content-Type" = "application/json")
3177 response <- private$REST$http$exec("DELETE", url, headers, body,
3178 queryArgs, private$numRetries)
3179 resource <- private$REST$httpParser$parseJSONResponse(response)
3181 if(!is.null(resource$errors))
3182 stop(resource$errors)
3187 authorized_keys.list = function(filters = NULL,
3188 where = NULL, order = NULL, select = NULL,
3189 distinct = NULL, limit = "100", offset = "0",
3192 endPoint <- stringr::str_interp("authorized_keys")
3193 url <- paste0(private$host, endPoint)
3194 headers <- list(Authorization = paste("OAuth2", private$token),
3195 "Content-Type" = "application/json")
3196 queryArgs <- list(filters = filters, where = where,
3197 order = order, select = select, distinct = distinct,
3198 limit = limit, offset = offset, count = count)
3202 response <- private$REST$http$exec("GET", url, headers, body,
3203 queryArgs, private$numRetries)
3204 resource <- private$REST$httpParser$parseJSONResponse(response)
3206 if(!is.null(resource$errors))
3207 stop(resource$errors)
3212 collections.get = function(uuid)
3214 endPoint <- stringr::str_interp("collections/${uuid}")
3215 url <- paste0(private$host, endPoint)
3216 headers <- list(Authorization = paste("OAuth2", private$token),
3217 "Content-Type" = "application/json")
3222 response <- private$REST$http$exec("GET", url, headers, body,
3223 queryArgs, private$numRetries)
3224 resource <- private$REST$httpParser$parseJSONResponse(response)
3226 if(!is.null(resource$errors))
3227 stop(resource$errors)
3232 collections.create = function(collection, ensure_unique_name = "false")
3234 endPoint <- stringr::str_interp("collections")
3235 url <- paste0(private$host, endPoint)
3236 headers <- list(Authorization = paste("OAuth2", private$token),
3237 "Content-Type" = "application/json")
3238 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3240 if(length(collection) > 0)
3241 body <- jsonlite::toJSON(list(collection = collection),
3246 response <- private$REST$http$exec("POST", url, headers, body,
3247 queryArgs, private$numRetries)
3248 resource <- private$REST$httpParser$parseJSONResponse(response)
3250 if(!is.null(resource$errors))
3251 stop(resource$errors)
3256 collections.update = function(collection, uuid)
3258 endPoint <- stringr::str_interp("collections/${uuid}")
3259 url <- paste0(private$host, endPoint)
3260 headers <- list(Authorization = paste("OAuth2", private$token),
3261 "Content-Type" = "application/json")
3264 if(length(collection) > 0)
3265 body <- jsonlite::toJSON(list(collection = collection),
3270 response <- private$REST$http$exec("PUT", url, headers, body,
3271 queryArgs, private$numRetries)
3272 resource <- private$REST$httpParser$parseJSONResponse(response)
3274 if(!is.null(resource$errors))
3275 stop(resource$errors)
3280 collections.delete = function(uuid)
3282 endPoint <- stringr::str_interp("collections/${uuid}")
3283 url <- paste0(private$host, endPoint)
3284 headers <- list(Authorization = paste("OAuth2", private$token),
3285 "Content-Type" = "application/json")
3290 response <- private$REST$http$exec("DELETE", url, headers, body,
3291 queryArgs, private$numRetries)
3292 resource <- private$REST$httpParser$parseJSONResponse(response)
3294 if(!is.null(resource$errors))
3295 stop(resource$errors)
3300 collections.provenance = function(uuid)
3302 endPoint <- stringr::str_interp("collections/${uuid}/provenance")
3303 url <- paste0(private$host, endPoint)
3304 headers <- list(Authorization = paste("OAuth2", private$token),
3305 "Content-Type" = "application/json")
3310 response <- private$REST$http$exec("GET", url, headers, body,
3311 queryArgs, private$numRetries)
3312 resource <- private$REST$httpParser$parseJSONResponse(response)
3314 if(!is.null(resource$errors))
3315 stop(resource$errors)
3320 collections.used_by = function(uuid)
3322 endPoint <- stringr::str_interp("collections/${uuid}/used_by")
3323 url <- paste0(private$host, endPoint)
3324 headers <- list(Authorization = paste("OAuth2", private$token),
3325 "Content-Type" = "application/json")
3330 response <- private$REST$http$exec("GET", url, headers, body,
3331 queryArgs, private$numRetries)
3332 resource <- private$REST$httpParser$parseJSONResponse(response)
3334 if(!is.null(resource$errors))
3335 stop(resource$errors)
3340 collections.trash = function(uuid)
3342 endPoint <- stringr::str_interp("collections/${uuid}/trash")
3343 url <- paste0(private$host, endPoint)
3344 headers <- list(Authorization = paste("OAuth2", private$token),
3345 "Content-Type" = "application/json")
3350 response <- private$REST$http$exec("POST", url, headers, body,
3351 queryArgs, private$numRetries)
3352 resource <- private$REST$httpParser$parseJSONResponse(response)
3354 if(!is.null(resource$errors))
3355 stop(resource$errors)
3360 collections.untrash = function(uuid)
3362 endPoint <- stringr::str_interp("collections/${uuid}/untrash")
3363 url <- paste0(private$host, endPoint)
3364 headers <- list(Authorization = paste("OAuth2", private$token),
3365 "Content-Type" = "application/json")
3370 response <- private$REST$http$exec("POST", url, headers, body,
3371 queryArgs, private$numRetries)
3372 resource <- private$REST$httpParser$parseJSONResponse(response)
3374 if(!is.null(resource$errors))
3375 stop(resource$errors)
3380 collections.list = function(filters = NULL,
3381 where = NULL, order = NULL, select = NULL,
3382 distinct = NULL, limit = "100", offset = "0",
3383 count = "exact", include_trash = NULL)
3385 endPoint <- stringr::str_interp("collections")
3386 url <- paste0(private$host, endPoint)
3387 headers <- list(Authorization = paste("OAuth2", private$token),
3388 "Content-Type" = "application/json")
3389 queryArgs <- list(filters = filters, where = where,
3390 order = order, select = select, distinct = distinct,
3391 limit = limit, offset = offset, count = count,
3392 include_trash = include_trash)
3396 response <- private$REST$http$exec("GET", url, headers, body,
3397 queryArgs, private$numRetries)
3398 resource <- private$REST$httpParser$parseJSONResponse(response)
3400 if(!is.null(resource$errors))
3401 stop(resource$errors)
3406 humans.get = function(uuid)
3408 endPoint <- stringr::str_interp("humans/${uuid}")
3409 url <- paste0(private$host, endPoint)
3410 headers <- list(Authorization = paste("OAuth2", private$token),
3411 "Content-Type" = "application/json")
3416 response <- private$REST$http$exec("GET", url, headers, body,
3417 queryArgs, private$numRetries)
3418 resource <- private$REST$httpParser$parseJSONResponse(response)
3420 if(!is.null(resource$errors))
3421 stop(resource$errors)
3426 humans.create = function(human, ensure_unique_name = "false")
3428 endPoint <- stringr::str_interp("humans")
3429 url <- paste0(private$host, endPoint)
3430 headers <- list(Authorization = paste("OAuth2", private$token),
3431 "Content-Type" = "application/json")
3432 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3434 if(length(human) > 0)
3435 body <- jsonlite::toJSON(list(human = human),
3440 response <- private$REST$http$exec("POST", url, headers, body,
3441 queryArgs, private$numRetries)
3442 resource <- private$REST$httpParser$parseJSONResponse(response)
3444 if(!is.null(resource$errors))
3445 stop(resource$errors)
3450 humans.update = function(human, uuid)
3452 endPoint <- stringr::str_interp("humans/${uuid}")
3453 url <- paste0(private$host, endPoint)
3454 headers <- list(Authorization = paste("OAuth2", private$token),
3455 "Content-Type" = "application/json")
3458 if(length(human) > 0)
3459 body <- jsonlite::toJSON(list(human = human),
3464 response <- private$REST$http$exec("PUT", url, headers, body,
3465 queryArgs, private$numRetries)
3466 resource <- private$REST$httpParser$parseJSONResponse(response)
3468 if(!is.null(resource$errors))
3469 stop(resource$errors)
3474 humans.delete = function(uuid)
3476 endPoint <- stringr::str_interp("humans/${uuid}")
3477 url <- paste0(private$host, endPoint)
3478 headers <- list(Authorization = paste("OAuth2", private$token),
3479 "Content-Type" = "application/json")
3484 response <- private$REST$http$exec("DELETE", url, headers, body,
3485 queryArgs, private$numRetries)
3486 resource <- private$REST$httpParser$parseJSONResponse(response)
3488 if(!is.null(resource$errors))
3489 stop(resource$errors)
3494 humans.list = function(filters = NULL, where = NULL,
3495 order = NULL, select = NULL, distinct = NULL,
3496 limit = "100", offset = "0", count = "exact")
3498 endPoint <- stringr::str_interp("humans")
3499 url <- paste0(private$host, endPoint)
3500 headers <- list(Authorization = paste("OAuth2", private$token),
3501 "Content-Type" = "application/json")
3502 queryArgs <- list(filters = filters, where = where,
3503 order = order, select = select, distinct = distinct,
3504 limit = limit, offset = offset, count = count)
3508 response <- private$REST$http$exec("GET", url, headers, body,
3509 queryArgs, private$numRetries)
3510 resource <- private$REST$httpParser$parseJSONResponse(response)
3512 if(!is.null(resource$errors))
3513 stop(resource$errors)
3518 job_tasks.get = function(uuid)
3520 endPoint <- stringr::str_interp("job_tasks/${uuid}")
3521 url <- paste0(private$host, endPoint)
3522 headers <- list(Authorization = paste("OAuth2", private$token),
3523 "Content-Type" = "application/json")
3528 response <- private$REST$http$exec("GET", url, headers, body,
3529 queryArgs, private$numRetries)
3530 resource <- private$REST$httpParser$parseJSONResponse(response)
3532 if(!is.null(resource$errors))
3533 stop(resource$errors)
3538 job_tasks.create = function(jobtask, ensure_unique_name = "false")
3540 endPoint <- stringr::str_interp("job_tasks")
3541 url <- paste0(private$host, endPoint)
3542 headers <- list(Authorization = paste("OAuth2", private$token),
3543 "Content-Type" = "application/json")
3544 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3546 if(length(jobtask) > 0)
3547 body <- jsonlite::toJSON(list(jobtask = jobtask),
3552 response <- private$REST$http$exec("POST", url, headers, body,
3553 queryArgs, private$numRetries)
3554 resource <- private$REST$httpParser$parseJSONResponse(response)
3556 if(!is.null(resource$errors))
3557 stop(resource$errors)
3562 job_tasks.update = function(jobtask, uuid)
3564 endPoint <- stringr::str_interp("job_tasks/${uuid}")
3565 url <- paste0(private$host, endPoint)
3566 headers <- list(Authorization = paste("OAuth2", private$token),
3567 "Content-Type" = "application/json")
3570 if(length(jobtask) > 0)
3571 body <- jsonlite::toJSON(list(jobtask = jobtask),
3576 response <- private$REST$http$exec("PUT", url, headers, body,
3577 queryArgs, private$numRetries)
3578 resource <- private$REST$httpParser$parseJSONResponse(response)
3580 if(!is.null(resource$errors))
3581 stop(resource$errors)
3586 job_tasks.delete = function(uuid)
3588 endPoint <- stringr::str_interp("job_tasks/${uuid}")
3589 url <- paste0(private$host, endPoint)
3590 headers <- list(Authorization = paste("OAuth2", private$token),
3591 "Content-Type" = "application/json")
3596 response <- private$REST$http$exec("DELETE", url, headers, body,
3597 queryArgs, private$numRetries)
3598 resource <- private$REST$httpParser$parseJSONResponse(response)
3600 if(!is.null(resource$errors))
3601 stop(resource$errors)
3606 job_tasks.list = function(filters = NULL,
3607 where = NULL, order = NULL, select = NULL,
3608 distinct = NULL, limit = "100", offset = "0",
3611 endPoint <- stringr::str_interp("job_tasks")
3612 url <- paste0(private$host, endPoint)
3613 headers <- list(Authorization = paste("OAuth2", private$token),
3614 "Content-Type" = "application/json")
3615 queryArgs <- list(filters = filters, where = where,
3616 order = order, select = select, distinct = distinct,
3617 limit = limit, offset = offset, count = count)
3621 response <- private$REST$http$exec("GET", url, headers, body,
3622 queryArgs, private$numRetries)
3623 resource <- private$REST$httpParser$parseJSONResponse(response)
3625 if(!is.null(resource$errors))
3626 stop(resource$errors)
3631 jobs.get = function(uuid)
3633 endPoint <- stringr::str_interp("jobs/${uuid}")
3634 url <- paste0(private$host, endPoint)
3635 headers <- list(Authorization = paste("OAuth2", private$token),
3636 "Content-Type" = "application/json")
3641 response <- private$REST$http$exec("GET", url, headers, body,
3642 queryArgs, private$numRetries)
3643 resource <- private$REST$httpParser$parseJSONResponse(response)
3645 if(!is.null(resource$errors))
3646 stop(resource$errors)
3651 jobs.create = function(job, ensure_unique_name = "false",
3652 find_or_create = "false", filters = NULL,
3653 minimum_script_version = NULL, exclude_script_versions = NULL)
3655 endPoint <- stringr::str_interp("jobs")
3656 url <- paste0(private$host, endPoint)
3657 headers <- list(Authorization = paste("OAuth2", private$token),
3658 "Content-Type" = "application/json")
3659 queryArgs <- list(ensure_unique_name = ensure_unique_name,
3660 find_or_create = find_or_create, filters = filters,
3661 minimum_script_version = minimum_script_version,
3662 exclude_script_versions = exclude_script_versions)
3665 body <- jsonlite::toJSON(list(job = job),
3670 response <- private$REST$http$exec("POST", url, headers, body,
3671 queryArgs, private$numRetries)
3672 resource <- private$REST$httpParser$parseJSONResponse(response)
3674 if(!is.null(resource$errors))
3675 stop(resource$errors)
3680 jobs.update = function(job, uuid)
3682 endPoint <- stringr::str_interp("jobs/${uuid}")
3683 url <- paste0(private$host, endPoint)
3684 headers <- list(Authorization = paste("OAuth2", private$token),
3685 "Content-Type" = "application/json")
3689 body <- jsonlite::toJSON(list(job = job),
3694 response <- private$REST$http$exec("PUT", url, headers, body,
3695 queryArgs, private$numRetries)
3696 resource <- private$REST$httpParser$parseJSONResponse(response)
3698 if(!is.null(resource$errors))
3699 stop(resource$errors)
3704 jobs.delete = function(uuid)
3706 endPoint <- stringr::str_interp("jobs/${uuid}")
3707 url <- paste0(private$host, endPoint)
3708 headers <- list(Authorization = paste("OAuth2", private$token),
3709 "Content-Type" = "application/json")
3714 response <- private$REST$http$exec("DELETE", url, headers, body,
3715 queryArgs, private$numRetries)
3716 resource <- private$REST$httpParser$parseJSONResponse(response)
3718 if(!is.null(resource$errors))
3719 stop(resource$errors)
3724 jobs.queue = function(filters = NULL, where = NULL,
3725 order = NULL, select = NULL, distinct = NULL,
3726 limit = "100", offset = "0", count = "exact")
3728 endPoint <- stringr::str_interp("jobs/queue")
3729 url <- paste0(private$host, endPoint)
3730 headers <- list(Authorization = paste("OAuth2", private$token),
3731 "Content-Type" = "application/json")
3732 queryArgs <- list(filters = filters, where = where,
3733 order = order, select = select, distinct = distinct,
3734 limit = limit, offset = offset, count = count)
3738 response <- private$REST$http$exec("GET", url, headers, body,
3739 queryArgs, private$numRetries)
3740 resource <- private$REST$httpParser$parseJSONResponse(response)
3742 if(!is.null(resource$errors))
3743 stop(resource$errors)
3748 jobs.queue_size = function()
3750 endPoint <- stringr::str_interp("jobs/queue_size")
3751 url <- paste0(private$host, endPoint)
3752 headers <- list(Authorization = paste("OAuth2", private$token),
3753 "Content-Type" = "application/json")
3758 response <- private$REST$http$exec("GET", url, headers, body,
3759 queryArgs, private$numRetries)
3760 resource <- private$REST$httpParser$parseJSONResponse(response)
3762 if(!is.null(resource$errors))
3763 stop(resource$errors)
3768 jobs.cancel = function(uuid)
3770 endPoint <- stringr::str_interp("jobs/${uuid}/cancel")
3771 url <- paste0(private$host, endPoint)
3772 headers <- list(Authorization = paste("OAuth2", private$token),
3773 "Content-Type" = "application/json")
3778 response <- private$REST$http$exec("POST", url, headers, body,
3779 queryArgs, private$numRetries)
3780 resource <- private$REST$httpParser$parseJSONResponse(response)
3782 if(!is.null(resource$errors))
3783 stop(resource$errors)
3788 jobs.lock = function(uuid)
3790 endPoint <- stringr::str_interp("jobs/${uuid}/lock")
3791 url <- paste0(private$host, endPoint)
3792 headers <- list(Authorization = paste("OAuth2", private$token),
3793 "Content-Type" = "application/json")
3798 response <- private$REST$http$exec("POST", url, headers, body,
3799 queryArgs, private$numRetries)
3800 resource <- private$REST$httpParser$parseJSONResponse(response)
3802 if(!is.null(resource$errors))
3803 stop(resource$errors)
3808 jobs.list = function(filters = NULL, where = NULL,
3809 order = NULL, select = NULL, distinct = NULL,
3810 limit = "100", offset = "0", count = "exact")
3812 endPoint <- stringr::str_interp("jobs")
3813 url <- paste0(private$host, endPoint)
3814 headers <- list(Authorization = paste("OAuth2", private$token),
3815 "Content-Type" = "application/json")
3816 queryArgs <- list(filters = filters, where = where,
3817 order = order, select = select, distinct = distinct,
3818 limit = limit, offset = offset, count = count)
3822 response <- private$REST$http$exec("GET", url, headers, body,
3823 queryArgs, private$numRetries)
3824 resource <- private$REST$httpParser$parseJSONResponse(response)
3826 if(!is.null(resource$errors))
3827 stop(resource$errors)
3832 keep_disks.get = function(uuid)
3834 endPoint <- stringr::str_interp("keep_disks/${uuid}")
3835 url <- paste0(private$host, endPoint)
3836 headers <- list(Authorization = paste("OAuth2", private$token),
3837 "Content-Type" = "application/json")
3842 response <- private$REST$http$exec("GET", url, headers, body,
3843 queryArgs, private$numRetries)
3844 resource <- private$REST$httpParser$parseJSONResponse(response)
3846 if(!is.null(resource$errors))
3847 stop(resource$errors)
3852 keep_disks.create = function(keepdisk, ensure_unique_name = "false")
3854 endPoint <- stringr::str_interp("keep_disks")
3855 url <- paste0(private$host, endPoint)
3856 headers <- list(Authorization = paste("OAuth2", private$token),
3857 "Content-Type" = "application/json")
3858 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3860 if(length(keepdisk) > 0)
3861 body <- jsonlite::toJSON(list(keepdisk = keepdisk),
3866 response <- private$REST$http$exec("POST", url, headers, body,
3867 queryArgs, private$numRetries)
3868 resource <- private$REST$httpParser$parseJSONResponse(response)
3870 if(!is.null(resource$errors))
3871 stop(resource$errors)
3876 keep_disks.update = function(keepdisk, uuid)
3878 endPoint <- stringr::str_interp("keep_disks/${uuid}")
3879 url <- paste0(private$host, endPoint)
3880 headers <- list(Authorization = paste("OAuth2", private$token),
3881 "Content-Type" = "application/json")
3884 if(length(keepdisk) > 0)
3885 body <- jsonlite::toJSON(list(keepdisk = keepdisk),
3890 response <- private$REST$http$exec("PUT", url, headers, body,
3891 queryArgs, private$numRetries)
3892 resource <- private$REST$httpParser$parseJSONResponse(response)
3894 if(!is.null(resource$errors))
3895 stop(resource$errors)
3900 keep_disks.delete = function(uuid)
3902 endPoint <- stringr::str_interp("keep_disks/${uuid}")
3903 url <- paste0(private$host, endPoint)
3904 headers <- list(Authorization = paste("OAuth2", private$token),
3905 "Content-Type" = "application/json")
3910 response <- private$REST$http$exec("DELETE", url, headers, body,
3911 queryArgs, private$numRetries)
3912 resource <- private$REST$httpParser$parseJSONResponse(response)
3914 if(!is.null(resource$errors))
3915 stop(resource$errors)
3920 keep_disks.ping = function(uuid = NULL, ping_secret,
3921 node_uuid = NULL, filesystem_uuid = NULL,
3922 service_host = NULL, service_port, service_ssl_flag)
3924 endPoint <- stringr::str_interp("keep_disks/ping")
3925 url <- paste0(private$host, endPoint)
3926 headers <- list(Authorization = paste("OAuth2", private$token),
3927 "Content-Type" = "application/json")
3928 queryArgs <- list(uuid = uuid, ping_secret = ping_secret,
3929 node_uuid = node_uuid, filesystem_uuid = filesystem_uuid,
3930 service_host = service_host, service_port = service_port,
3931 service_ssl_flag = service_ssl_flag)
3935 response <- private$REST$http$exec("POST", url, headers, body,
3936 queryArgs, private$numRetries)
3937 resource <- private$REST$httpParser$parseJSONResponse(response)
3939 if(!is.null(resource$errors))
3940 stop(resource$errors)
3945 keep_disks.list = function(filters = NULL,
3946 where = NULL, order = NULL, select = NULL,
3947 distinct = NULL, limit = "100", offset = "0",
3950 endPoint <- stringr::str_interp("keep_disks")
3951 url <- paste0(private$host, endPoint)
3952 headers <- list(Authorization = paste("OAuth2", private$token),
3953 "Content-Type" = "application/json")
3954 queryArgs <- list(filters = filters, where = where,
3955 order = order, select = select, distinct = distinct,
3956 limit = limit, offset = offset, count = count)
3960 response <- private$REST$http$exec("GET", url, headers, body,
3961 queryArgs, private$numRetries)
3962 resource <- private$REST$httpParser$parseJSONResponse(response)
3964 if(!is.null(resource$errors))
3965 stop(resource$errors)
3970 nodes.get = function(uuid)
3972 endPoint <- stringr::str_interp("nodes/${uuid}")
3973 url <- paste0(private$host, endPoint)
3974 headers <- list(Authorization = paste("OAuth2", private$token),
3975 "Content-Type" = "application/json")
3980 response <- private$REST$http$exec("GET", url, headers, body,
3981 queryArgs, private$numRetries)
3982 resource <- private$REST$httpParser$parseJSONResponse(response)
3984 if(!is.null(resource$errors))
3985 stop(resource$errors)
3990 nodes.create = function(node, ensure_unique_name = "false",
3993 endPoint <- stringr::str_interp("nodes")
3994 url <- paste0(private$host, endPoint)
3995 headers <- list(Authorization = paste("OAuth2", private$token),
3996 "Content-Type" = "application/json")
3997 queryArgs <- list(ensure_unique_name = ensure_unique_name,
3998 assign_slot = assign_slot)
4000 if(length(node) > 0)
4001 body <- jsonlite::toJSON(list(node = node),
4006 response <- private$REST$http$exec("POST", url, headers, body,
4007 queryArgs, private$numRetries)
4008 resource <- private$REST$httpParser$parseJSONResponse(response)
4010 if(!is.null(resource$errors))
4011 stop(resource$errors)
4016 nodes.update = function(node, uuid, assign_slot = NULL)
4018 endPoint <- stringr::str_interp("nodes/${uuid}")
4019 url <- paste0(private$host, endPoint)
4020 headers <- list(Authorization = paste("OAuth2", private$token),
4021 "Content-Type" = "application/json")
4022 queryArgs <- list(assign_slot = assign_slot)
4024 if(length(node) > 0)
4025 body <- jsonlite::toJSON(list(node = node),
4030 response <- private$REST$http$exec("PUT", url, headers, body,
4031 queryArgs, private$numRetries)
4032 resource <- private$REST$httpParser$parseJSONResponse(response)
4034 if(!is.null(resource$errors))
4035 stop(resource$errors)
4040 nodes.delete = function(uuid)
4042 endPoint <- stringr::str_interp("nodes/${uuid}")
4043 url <- paste0(private$host, endPoint)
4044 headers <- list(Authorization = paste("OAuth2", private$token),
4045 "Content-Type" = "application/json")
4050 response <- private$REST$http$exec("DELETE", url, headers, body,
4051 queryArgs, private$numRetries)
4052 resource <- private$REST$httpParser$parseJSONResponse(response)
4054 if(!is.null(resource$errors))
4055 stop(resource$errors)
4060 nodes.ping = function(uuid, ping_secret)
4062 endPoint <- stringr::str_interp("nodes/${uuid}/ping")
4063 url <- paste0(private$host, endPoint)
4064 headers <- list(Authorization = paste("OAuth2", private$token),
4065 "Content-Type" = "application/json")
4066 queryArgs <- list(ping_secret = ping_secret)
4070 response <- private$REST$http$exec("POST", url, headers, body,
4071 queryArgs, private$numRetries)
4072 resource <- private$REST$httpParser$parseJSONResponse(response)
4074 if(!is.null(resource$errors))
4075 stop(resource$errors)
4080 nodes.list = function(filters = NULL, where = NULL,
4081 order = NULL, select = NULL, distinct = NULL,
4082 limit = "100", offset = "0", count = "exact")
4084 endPoint <- stringr::str_interp("nodes")
4085 url <- paste0(private$host, endPoint)
4086 headers <- list(Authorization = paste("OAuth2", private$token),
4087 "Content-Type" = "application/json")
4088 queryArgs <- list(filters = filters, where = where,
4089 order = order, select = select, distinct = distinct,
4090 limit = limit, offset = offset, count = count)
4094 response <- private$REST$http$exec("GET", url, headers, body,
4095 queryArgs, private$numRetries)
4096 resource <- private$REST$httpParser$parseJSONResponse(response)
4098 if(!is.null(resource$errors))
4099 stop(resource$errors)
4104 links.get = function(uuid)
4106 endPoint <- stringr::str_interp("links/${uuid}")
4107 url <- paste0(private$host, endPoint)
4108 headers <- list(Authorization = paste("OAuth2", private$token),
4109 "Content-Type" = "application/json")
4114 response <- private$REST$http$exec("GET", url, headers, body,
4115 queryArgs, private$numRetries)
4116 resource <- private$REST$httpParser$parseJSONResponse(response)
4118 if(!is.null(resource$errors))
4119 stop(resource$errors)
4124 links.create = function(link, ensure_unique_name = "false")
4126 endPoint <- stringr::str_interp("links")
4127 url <- paste0(private$host, endPoint)
4128 headers <- list(Authorization = paste("OAuth2", private$token),
4129 "Content-Type" = "application/json")
4130 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4132 if(length(link) > 0)
4133 body <- jsonlite::toJSON(list(link = link),
4138 response <- private$REST$http$exec("POST", url, headers, body,
4139 queryArgs, private$numRetries)
4140 resource <- private$REST$httpParser$parseJSONResponse(response)
4142 if(!is.null(resource$errors))
4143 stop(resource$errors)
4148 links.update = function(link, uuid)
4150 endPoint <- stringr::str_interp("links/${uuid}")
4151 url <- paste0(private$host, endPoint)
4152 headers <- list(Authorization = paste("OAuth2", private$token),
4153 "Content-Type" = "application/json")
4156 if(length(link) > 0)
4157 body <- jsonlite::toJSON(list(link = link),
4162 response <- private$REST$http$exec("PUT", url, headers, body,
4163 queryArgs, private$numRetries)
4164 resource <- private$REST$httpParser$parseJSONResponse(response)
4166 if(!is.null(resource$errors))
4167 stop(resource$errors)
4172 links.delete = function(uuid)
4174 endPoint <- stringr::str_interp("links/${uuid}")
4175 url <- paste0(private$host, endPoint)
4176 headers <- list(Authorization = paste("OAuth2", private$token),
4177 "Content-Type" = "application/json")
4182 response <- private$REST$http$exec("DELETE", url, headers, body,
4183 queryArgs, private$numRetries)
4184 resource <- private$REST$httpParser$parseJSONResponse(response)
4186 if(!is.null(resource$errors))
4187 stop(resource$errors)
4192 links.list = function(filters = NULL, where = NULL,
4193 order = NULL, select = NULL, distinct = NULL,
4194 limit = "100", offset = "0", count = "exact")
4196 endPoint <- stringr::str_interp("links")
4197 url <- paste0(private$host, endPoint)
4198 headers <- list(Authorization = paste("OAuth2", private$token),
4199 "Content-Type" = "application/json")
4200 queryArgs <- list(filters = filters, where = where,
4201 order = order, select = select, distinct = distinct,
4202 limit = limit, offset = offset, count = count)
4206 response <- private$REST$http$exec("GET", url, headers, body,
4207 queryArgs, private$numRetries)
4208 resource <- private$REST$httpParser$parseJSONResponse(response)
4210 if(!is.null(resource$errors))
4211 stop(resource$errors)
4216 links.get_permissions = function(uuid)
4218 endPoint <- stringr::str_interp("permissions/${uuid}")
4219 url <- paste0(private$host, endPoint)
4220 headers <- list(Authorization = paste("OAuth2", private$token),
4221 "Content-Type" = "application/json")
4226 response <- private$REST$http$exec("GET", url, headers, body,
4227 queryArgs, private$numRetries)
4228 resource <- private$REST$httpParser$parseJSONResponse(response)
4230 if(!is.null(resource$errors))
4231 stop(resource$errors)
4236 keep_services.get = function(uuid)
4238 endPoint <- stringr::str_interp("keep_services/${uuid}")
4239 url <- paste0(private$host, endPoint)
4240 headers <- list(Authorization = paste("OAuth2", private$token),
4241 "Content-Type" = "application/json")
4246 response <- private$REST$http$exec("GET", url, headers, body,
4247 queryArgs, private$numRetries)
4248 resource <- private$REST$httpParser$parseJSONResponse(response)
4250 if(!is.null(resource$errors))
4251 stop(resource$errors)
4256 keep_services.create = function(keepservice,
4257 ensure_unique_name = "false")
4259 endPoint <- stringr::str_interp("keep_services")
4260 url <- paste0(private$host, endPoint)
4261 headers <- list(Authorization = paste("OAuth2", private$token),
4262 "Content-Type" = "application/json")
4263 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4265 if(length(keepservice) > 0)
4266 body <- jsonlite::toJSON(list(keepservice = keepservice),
4271 response <- private$REST$http$exec("POST", url, headers, body,
4272 queryArgs, private$numRetries)
4273 resource <- private$REST$httpParser$parseJSONResponse(response)
4275 if(!is.null(resource$errors))
4276 stop(resource$errors)
4281 keep_services.update = function(keepservice, uuid)
4283 endPoint <- stringr::str_interp("keep_services/${uuid}")
4284 url <- paste0(private$host, endPoint)
4285 headers <- list(Authorization = paste("OAuth2", private$token),
4286 "Content-Type" = "application/json")
4289 if(length(keepservice) > 0)
4290 body <- jsonlite::toJSON(list(keepservice = keepservice),
4295 response <- private$REST$http$exec("PUT", url, headers, body,
4296 queryArgs, private$numRetries)
4297 resource <- private$REST$httpParser$parseJSONResponse(response)
4299 if(!is.null(resource$errors))
4300 stop(resource$errors)
4305 keep_services.delete = function(uuid)
4307 endPoint <- stringr::str_interp("keep_services/${uuid}")
4308 url <- paste0(private$host, endPoint)
4309 headers <- list(Authorization = paste("OAuth2", private$token),
4310 "Content-Type" = "application/json")
4315 response <- private$REST$http$exec("DELETE", url, headers, body,
4316 queryArgs, private$numRetries)
4317 resource <- private$REST$httpParser$parseJSONResponse(response)
4319 if(!is.null(resource$errors))
4320 stop(resource$errors)
4325 keep_services.accessible = function()
4327 endPoint <- stringr::str_interp("keep_services/accessible")
4328 url <- paste0(private$host, endPoint)
4329 headers <- list(Authorization = paste("OAuth2", private$token),
4330 "Content-Type" = "application/json")
4335 response <- private$REST$http$exec("GET", url, headers, body,
4336 queryArgs, private$numRetries)
4337 resource <- private$REST$httpParser$parseJSONResponse(response)
4339 if(!is.null(resource$errors))
4340 stop(resource$errors)
4345 keep_services.list = function(filters = NULL,
4346 where = NULL, order = NULL, select = NULL,
4347 distinct = NULL, limit = "100", offset = "0",
4350 endPoint <- stringr::str_interp("keep_services")
4351 url <- paste0(private$host, endPoint)
4352 headers <- list(Authorization = paste("OAuth2", private$token),
4353 "Content-Type" = "application/json")
4354 queryArgs <- list(filters = filters, where = where,
4355 order = order, select = select, distinct = distinct,
4356 limit = limit, offset = offset, count = count)
4360 response <- private$REST$http$exec("GET", url, headers, body,
4361 queryArgs, private$numRetries)
4362 resource <- private$REST$httpParser$parseJSONResponse(response)
4364 if(!is.null(resource$errors))
4365 stop(resource$errors)
4370 pipeline_templates.get = function(uuid)
4372 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
4373 url <- paste0(private$host, endPoint)
4374 headers <- list(Authorization = paste("OAuth2", private$token),
4375 "Content-Type" = "application/json")
4380 response <- private$REST$http$exec("GET", url, headers, body,
4381 queryArgs, private$numRetries)
4382 resource <- private$REST$httpParser$parseJSONResponse(response)
4384 if(!is.null(resource$errors))
4385 stop(resource$errors)
4390 pipeline_templates.create = function(pipelinetemplate,
4391 ensure_unique_name = "false")
4393 endPoint <- stringr::str_interp("pipeline_templates")
4394 url <- paste0(private$host, endPoint)
4395 headers <- list(Authorization = paste("OAuth2", private$token),
4396 "Content-Type" = "application/json")
4397 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4399 if(length(pipelinetemplate) > 0)
4400 body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate),
4405 response <- private$REST$http$exec("POST", url, headers, body,
4406 queryArgs, private$numRetries)
4407 resource <- private$REST$httpParser$parseJSONResponse(response)
4409 if(!is.null(resource$errors))
4410 stop(resource$errors)
4415 pipeline_templates.update = function(pipelinetemplate, uuid)
4417 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
4418 url <- paste0(private$host, endPoint)
4419 headers <- list(Authorization = paste("OAuth2", private$token),
4420 "Content-Type" = "application/json")
4423 if(length(pipelinetemplate) > 0)
4424 body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate),
4429 response <- private$REST$http$exec("PUT", url, headers, body,
4430 queryArgs, private$numRetries)
4431 resource <- private$REST$httpParser$parseJSONResponse(response)
4433 if(!is.null(resource$errors))
4434 stop(resource$errors)
4439 pipeline_templates.delete = function(uuid)
4441 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
4442 url <- paste0(private$host, endPoint)
4443 headers <- list(Authorization = paste("OAuth2", private$token),
4444 "Content-Type" = "application/json")
4449 response <- private$REST$http$exec("DELETE", url, headers, body,
4450 queryArgs, private$numRetries)
4451 resource <- private$REST$httpParser$parseJSONResponse(response)
4453 if(!is.null(resource$errors))
4454 stop(resource$errors)
4459 pipeline_templates.list = function(filters = NULL,
4460 where = NULL, order = NULL, select = NULL,
4461 distinct = NULL, limit = "100", offset = "0",
4464 endPoint <- stringr::str_interp("pipeline_templates")
4465 url <- paste0(private$host, endPoint)
4466 headers <- list(Authorization = paste("OAuth2", private$token),
4467 "Content-Type" = "application/json")
4468 queryArgs <- list(filters = filters, where = where,
4469 order = order, select = select, distinct = distinct,
4470 limit = limit, offset = offset, count = count)
4474 response <- private$REST$http$exec("GET", url, headers, body,
4475 queryArgs, private$numRetries)
4476 resource <- private$REST$httpParser$parseJSONResponse(response)
4478 if(!is.null(resource$errors))
4479 stop(resource$errors)
4484 pipeline_instances.get = function(uuid)
4486 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
4487 url <- paste0(private$host, endPoint)
4488 headers <- list(Authorization = paste("OAuth2", private$token),
4489 "Content-Type" = "application/json")
4494 response <- private$REST$http$exec("GET", url, headers, body,
4495 queryArgs, private$numRetries)
4496 resource <- private$REST$httpParser$parseJSONResponse(response)
4498 if(!is.null(resource$errors))
4499 stop(resource$errors)
4504 pipeline_instances.create = function(pipelineinstance,
4505 ensure_unique_name = "false")
4507 endPoint <- stringr::str_interp("pipeline_instances")
4508 url <- paste0(private$host, endPoint)
4509 headers <- list(Authorization = paste("OAuth2", private$token),
4510 "Content-Type" = "application/json")
4511 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4513 if(length(pipelineinstance) > 0)
4514 body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance),
4519 response <- private$REST$http$exec("POST", url, headers, body,
4520 queryArgs, private$numRetries)
4521 resource <- private$REST$httpParser$parseJSONResponse(response)
4523 if(!is.null(resource$errors))
4524 stop(resource$errors)
4529 pipeline_instances.update = function(pipelineinstance, uuid)
4531 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
4532 url <- paste0(private$host, endPoint)
4533 headers <- list(Authorization = paste("OAuth2", private$token),
4534 "Content-Type" = "application/json")
4537 if(length(pipelineinstance) > 0)
4538 body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance),
4543 response <- private$REST$http$exec("PUT", url, headers, body,
4544 queryArgs, private$numRetries)
4545 resource <- private$REST$httpParser$parseJSONResponse(response)
4547 if(!is.null(resource$errors))
4548 stop(resource$errors)
4553 pipeline_instances.delete = function(uuid)
4555 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
4556 url <- paste0(private$host, endPoint)
4557 headers <- list(Authorization = paste("OAuth2", private$token),
4558 "Content-Type" = "application/json")
4563 response <- private$REST$http$exec("DELETE", url, headers, body,
4564 queryArgs, private$numRetries)
4565 resource <- private$REST$httpParser$parseJSONResponse(response)
4567 if(!is.null(resource$errors))
4568 stop(resource$errors)
4573 pipeline_instances.cancel = function(uuid)
4575 endPoint <- stringr::str_interp("pipeline_instances/${uuid}/cancel")
4576 url <- paste0(private$host, endPoint)
4577 headers <- list(Authorization = paste("OAuth2", private$token),
4578 "Content-Type" = "application/json")
4583 response <- private$REST$http$exec("POST", url, headers, body,
4584 queryArgs, private$numRetries)
4585 resource <- private$REST$httpParser$parseJSONResponse(response)
4587 if(!is.null(resource$errors))
4588 stop(resource$errors)
4593 pipeline_instances.list = function(filters = NULL,
4594 where = NULL, order = NULL, select = NULL,
4595 distinct = NULL, limit = "100", offset = "0",
4598 endPoint <- stringr::str_interp("pipeline_instances")
4599 url <- paste0(private$host, endPoint)
4600 headers <- list(Authorization = paste("OAuth2", private$token),
4601 "Content-Type" = "application/json")
4602 queryArgs <- list(filters = filters, where = where,
4603 order = order, select = select, distinct = distinct,
4604 limit = limit, offset = offset, count = count)
4608 response <- private$REST$http$exec("GET", url, headers, body,
4609 queryArgs, private$numRetries)
4610 resource <- private$REST$httpParser$parseJSONResponse(response)
4612 if(!is.null(resource$errors))
4613 stop(resource$errors)
4618 repositories.get = function(uuid)
4620 endPoint <- stringr::str_interp("repositories/${uuid}")
4621 url <- paste0(private$host, endPoint)
4622 headers <- list(Authorization = paste("OAuth2", private$token),
4623 "Content-Type" = "application/json")
4628 response <- private$REST$http$exec("GET", url, headers, body,
4629 queryArgs, private$numRetries)
4630 resource <- private$REST$httpParser$parseJSONResponse(response)
4632 if(!is.null(resource$errors))
4633 stop(resource$errors)
4638 repositories.create = function(repository, ensure_unique_name = "false")
4640 endPoint <- stringr::str_interp("repositories")
4641 url <- paste0(private$host, endPoint)
4642 headers <- list(Authorization = paste("OAuth2", private$token),
4643 "Content-Type" = "application/json")
4644 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4646 if(length(repository) > 0)
4647 body <- jsonlite::toJSON(list(repository = repository),
4652 response <- private$REST$http$exec("POST", url, headers, body,
4653 queryArgs, private$numRetries)
4654 resource <- private$REST$httpParser$parseJSONResponse(response)
4656 if(!is.null(resource$errors))
4657 stop(resource$errors)
4662 repositories.update = function(repository, uuid)
4664 endPoint <- stringr::str_interp("repositories/${uuid}")
4665 url <- paste0(private$host, endPoint)
4666 headers <- list(Authorization = paste("OAuth2", private$token),
4667 "Content-Type" = "application/json")
4670 if(length(repository) > 0)
4671 body <- jsonlite::toJSON(list(repository = repository),
4676 response <- private$REST$http$exec("PUT", url, headers, body,
4677 queryArgs, private$numRetries)
4678 resource <- private$REST$httpParser$parseJSONResponse(response)
4680 if(!is.null(resource$errors))
4681 stop(resource$errors)
4686 repositories.delete = function(uuid)
4688 endPoint <- stringr::str_interp("repositories/${uuid}")
4689 url <- paste0(private$host, endPoint)
4690 headers <- list(Authorization = paste("OAuth2", private$token),
4691 "Content-Type" = "application/json")
4696 response <- private$REST$http$exec("DELETE", url, headers, body,
4697 queryArgs, private$numRetries)
4698 resource <- private$REST$httpParser$parseJSONResponse(response)
4700 if(!is.null(resource$errors))
4701 stop(resource$errors)
4706 repositories.get_all_permissions = function()
4708 endPoint <- stringr::str_interp("repositories/get_all_permissions")
4709 url <- paste0(private$host, endPoint)
4710 headers <- list(Authorization = paste("OAuth2", private$token),
4711 "Content-Type" = "application/json")
4716 response <- private$REST$http$exec("GET", url, headers, body,
4717 queryArgs, private$numRetries)
4718 resource <- private$REST$httpParser$parseJSONResponse(response)
4720 if(!is.null(resource$errors))
4721 stop(resource$errors)
4726 repositories.list = function(filters = NULL,
4727 where = NULL, order = NULL, select = NULL,
4728 distinct = NULL, limit = "100", offset = "0",
4731 endPoint <- stringr::str_interp("repositories")
4732 url <- paste0(private$host, endPoint)
4733 headers <- list(Authorization = paste("OAuth2", private$token),
4734 "Content-Type" = "application/json")
4735 queryArgs <- list(filters = filters, where = where,
4736 order = order, select = select, distinct = distinct,
4737 limit = limit, offset = offset, count = count)
4741 response <- private$REST$http$exec("GET", url, headers, body,
4742 queryArgs, private$numRetries)
4743 resource <- private$REST$httpParser$parseJSONResponse(response)
4745 if(!is.null(resource$errors))
4746 stop(resource$errors)
4751 specimens.get = function(uuid)
4753 endPoint <- stringr::str_interp("specimens/${uuid}")
4754 url <- paste0(private$host, endPoint)
4755 headers <- list(Authorization = paste("OAuth2", private$token),
4756 "Content-Type" = "application/json")
4761 response <- private$REST$http$exec("GET", url, headers, body,
4762 queryArgs, private$numRetries)
4763 resource <- private$REST$httpParser$parseJSONResponse(response)
4765 if(!is.null(resource$errors))
4766 stop(resource$errors)
4771 specimens.create = function(specimen, ensure_unique_name = "false")
4773 endPoint <- stringr::str_interp("specimens")
4774 url <- paste0(private$host, endPoint)
4775 headers <- list(Authorization = paste("OAuth2", private$token),
4776 "Content-Type" = "application/json")
4777 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4779 if(length(specimen) > 0)
4780 body <- jsonlite::toJSON(list(specimen = specimen),
4785 response <- private$REST$http$exec("POST", url, headers, body,
4786 queryArgs, private$numRetries)
4787 resource <- private$REST$httpParser$parseJSONResponse(response)
4789 if(!is.null(resource$errors))
4790 stop(resource$errors)
4795 specimens.update = function(specimen, uuid)
4797 endPoint <- stringr::str_interp("specimens/${uuid}")
4798 url <- paste0(private$host, endPoint)
4799 headers <- list(Authorization = paste("OAuth2", private$token),
4800 "Content-Type" = "application/json")
4803 if(length(specimen) > 0)
4804 body <- jsonlite::toJSON(list(specimen = specimen),
4809 response <- private$REST$http$exec("PUT", url, headers, body,
4810 queryArgs, private$numRetries)
4811 resource <- private$REST$httpParser$parseJSONResponse(response)
4813 if(!is.null(resource$errors))
4814 stop(resource$errors)
4819 specimens.delete = function(uuid)
4821 endPoint <- stringr::str_interp("specimens/${uuid}")
4822 url <- paste0(private$host, endPoint)
4823 headers <- list(Authorization = paste("OAuth2", private$token),
4824 "Content-Type" = "application/json")
4829 response <- private$REST$http$exec("DELETE", url, headers, body,
4830 queryArgs, private$numRetries)
4831 resource <- private$REST$httpParser$parseJSONResponse(response)
4833 if(!is.null(resource$errors))
4834 stop(resource$errors)
4839 specimens.list = function(filters = NULL,
4840 where = NULL, order = NULL, select = NULL,
4841 distinct = NULL, limit = "100", offset = "0",
4844 endPoint <- stringr::str_interp("specimens")
4845 url <- paste0(private$host, endPoint)
4846 headers <- list(Authorization = paste("OAuth2", private$token),
4847 "Content-Type" = "application/json")
4848 queryArgs <- list(filters = filters, where = where,
4849 order = order, select = select, distinct = distinct,
4850 limit = limit, offset = offset, count = count)
4854 response <- private$REST$http$exec("GET", url, headers, body,
4855 queryArgs, private$numRetries)
4856 resource <- private$REST$httpParser$parseJSONResponse(response)
4858 if(!is.null(resource$errors))
4859 stop(resource$errors)
4864 logs.get = function(uuid)
4866 endPoint <- stringr::str_interp("logs/${uuid}")
4867 url <- paste0(private$host, endPoint)
4868 headers <- list(Authorization = paste("OAuth2", private$token),
4869 "Content-Type" = "application/json")
4874 response <- private$REST$http$exec("GET", url, headers, body,
4875 queryArgs, private$numRetries)
4876 resource <- private$REST$httpParser$parseJSONResponse(response)
4878 if(!is.null(resource$errors))
4879 stop(resource$errors)
4884 logs.create = function(log, ensure_unique_name = "false")
4886 endPoint <- stringr::str_interp("logs")
4887 url <- paste0(private$host, endPoint)
4888 headers <- list(Authorization = paste("OAuth2", private$token),
4889 "Content-Type" = "application/json")
4890 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4893 body <- jsonlite::toJSON(list(log = log),
4898 response <- private$REST$http$exec("POST", url, headers, body,
4899 queryArgs, private$numRetries)
4900 resource <- private$REST$httpParser$parseJSONResponse(response)
4902 if(!is.null(resource$errors))
4903 stop(resource$errors)
4908 logs.update = function(log, uuid)
4910 endPoint <- stringr::str_interp("logs/${uuid}")
4911 url <- paste0(private$host, endPoint)
4912 headers <- list(Authorization = paste("OAuth2", private$token),
4913 "Content-Type" = "application/json")
4917 body <- jsonlite::toJSON(list(log = log),
4922 response <- private$REST$http$exec("PUT", url, headers, body,
4923 queryArgs, private$numRetries)
4924 resource <- private$REST$httpParser$parseJSONResponse(response)
4926 if(!is.null(resource$errors))
4927 stop(resource$errors)
4932 logs.delete = function(uuid)
4934 endPoint <- stringr::str_interp("logs/${uuid}")
4935 url <- paste0(private$host, endPoint)
4936 headers <- list(Authorization = paste("OAuth2", private$token),
4937 "Content-Type" = "application/json")
4942 response <- private$REST$http$exec("DELETE", url, headers, body,
4943 queryArgs, private$numRetries)
4944 resource <- private$REST$httpParser$parseJSONResponse(response)
4946 if(!is.null(resource$errors))
4947 stop(resource$errors)
4952 logs.list = function(filters = NULL, where = NULL,
4953 order = NULL, select = NULL, distinct = NULL,
4954 limit = "100", offset = "0", count = "exact")
4956 endPoint <- stringr::str_interp("logs")
4957 url <- paste0(private$host, endPoint)
4958 headers <- list(Authorization = paste("OAuth2", private$token),
4959 "Content-Type" = "application/json")
4960 queryArgs <- list(filters = filters, where = where,
4961 order = order, select = select, distinct = distinct,
4962 limit = limit, offset = offset, count = count)
4966 response <- private$REST$http$exec("GET", url, headers, body,
4967 queryArgs, private$numRetries)
4968 resource <- private$REST$httpParser$parseJSONResponse(response)
4970 if(!is.null(resource$errors))
4971 stop(resource$errors)
4976 traits.get = function(uuid)
4978 endPoint <- stringr::str_interp("traits/${uuid}")
4979 url <- paste0(private$host, endPoint)
4980 headers <- list(Authorization = paste("OAuth2", private$token),
4981 "Content-Type" = "application/json")
4986 response <- private$REST$http$exec("GET", url, headers, body,
4987 queryArgs, private$numRetries)
4988 resource <- private$REST$httpParser$parseJSONResponse(response)
4990 if(!is.null(resource$errors))
4991 stop(resource$errors)
4996 traits.create = function(trait, ensure_unique_name = "false")
4998 endPoint <- stringr::str_interp("traits")
4999 url <- paste0(private$host, endPoint)
5000 headers <- list(Authorization = paste("OAuth2", private$token),
5001 "Content-Type" = "application/json")
5002 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5004 if(length(trait) > 0)
5005 body <- jsonlite::toJSON(list(trait = trait),
5010 response <- private$REST$http$exec("POST", url, headers, body,
5011 queryArgs, private$numRetries)
5012 resource <- private$REST$httpParser$parseJSONResponse(response)
5014 if(!is.null(resource$errors))
5015 stop(resource$errors)
5020 traits.update = function(trait, uuid)
5022 endPoint <- stringr::str_interp("traits/${uuid}")
5023 url <- paste0(private$host, endPoint)
5024 headers <- list(Authorization = paste("OAuth2", private$token),
5025 "Content-Type" = "application/json")
5028 if(length(trait) > 0)
5029 body <- jsonlite::toJSON(list(trait = trait),
5034 response <- private$REST$http$exec("PUT", url, headers, body,
5035 queryArgs, private$numRetries)
5036 resource <- private$REST$httpParser$parseJSONResponse(response)
5038 if(!is.null(resource$errors))
5039 stop(resource$errors)
5044 traits.delete = function(uuid)
5046 endPoint <- stringr::str_interp("traits/${uuid}")
5047 url <- paste0(private$host, endPoint)
5048 headers <- list(Authorization = paste("OAuth2", private$token),
5049 "Content-Type" = "application/json")
5054 response <- private$REST$http$exec("DELETE", url, headers, body,
5055 queryArgs, private$numRetries)
5056 resource <- private$REST$httpParser$parseJSONResponse(response)
5058 if(!is.null(resource$errors))
5059 stop(resource$errors)
5064 traits.list = function(filters = NULL, where = NULL,
5065 order = NULL, select = NULL, distinct = NULL,
5066 limit = "100", offset = "0", count = "exact")
5068 endPoint <- stringr::str_interp("traits")
5069 url <- paste0(private$host, endPoint)
5070 headers <- list(Authorization = paste("OAuth2", private$token),
5071 "Content-Type" = "application/json")
5072 queryArgs <- list(filters = filters, where = where,
5073 order = order, select = select, distinct = distinct,
5074 limit = limit, offset = offset, count = count)
5078 response <- private$REST$http$exec("GET", url, headers, body,
5079 queryArgs, private$numRetries)
5080 resource <- private$REST$httpParser$parseJSONResponse(response)
5082 if(!is.null(resource$errors))
5083 stop(resource$errors)
5088 virtual_machines.get = function(uuid)
5090 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
5091 url <- paste0(private$host, endPoint)
5092 headers <- list(Authorization = paste("OAuth2", private$token),
5093 "Content-Type" = "application/json")
5098 response <- private$REST$http$exec("GET", url, headers, body,
5099 queryArgs, private$numRetries)
5100 resource <- private$REST$httpParser$parseJSONResponse(response)
5102 if(!is.null(resource$errors))
5103 stop(resource$errors)
5108 virtual_machines.create = function(virtualmachine,
5109 ensure_unique_name = "false")
5111 endPoint <- stringr::str_interp("virtual_machines")
5112 url <- paste0(private$host, endPoint)
5113 headers <- list(Authorization = paste("OAuth2", private$token),
5114 "Content-Type" = "application/json")
5115 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5117 if(length(virtualmachine) > 0)
5118 body <- jsonlite::toJSON(list(virtualmachine = virtualmachine),
5123 response <- private$REST$http$exec("POST", url, headers, body,
5124 queryArgs, private$numRetries)
5125 resource <- private$REST$httpParser$parseJSONResponse(response)
5127 if(!is.null(resource$errors))
5128 stop(resource$errors)
5133 virtual_machines.update = function(virtualmachine, uuid)
5135 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
5136 url <- paste0(private$host, endPoint)
5137 headers <- list(Authorization = paste("OAuth2", private$token),
5138 "Content-Type" = "application/json")
5141 if(length(virtualmachine) > 0)
5142 body <- jsonlite::toJSON(list(virtualmachine = virtualmachine),
5147 response <- private$REST$http$exec("PUT", url, headers, body,
5148 queryArgs, private$numRetries)
5149 resource <- private$REST$httpParser$parseJSONResponse(response)
5151 if(!is.null(resource$errors))
5152 stop(resource$errors)
5157 virtual_machines.delete = function(uuid)
5159 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
5160 url <- paste0(private$host, endPoint)
5161 headers <- list(Authorization = paste("OAuth2", private$token),
5162 "Content-Type" = "application/json")
5167 response <- private$REST$http$exec("DELETE", url, headers, body,
5168 queryArgs, private$numRetries)
5169 resource <- private$REST$httpParser$parseJSONResponse(response)
5171 if(!is.null(resource$errors))
5172 stop(resource$errors)
5177 virtual_machines.logins = function(uuid)
5179 endPoint <- stringr::str_interp("virtual_machines/${uuid}/logins")
5180 url <- paste0(private$host, endPoint)
5181 headers <- list(Authorization = paste("OAuth2", private$token),
5182 "Content-Type" = "application/json")
5187 response <- private$REST$http$exec("GET", url, headers, body,
5188 queryArgs, private$numRetries)
5189 resource <- private$REST$httpParser$parseJSONResponse(response)
5191 if(!is.null(resource$errors))
5192 stop(resource$errors)
5197 virtual_machines.get_all_logins = function()
5199 endPoint <- stringr::str_interp("virtual_machines/get_all_logins")
5200 url <- paste0(private$host, endPoint)
5201 headers <- list(Authorization = paste("OAuth2", private$token),
5202 "Content-Type" = "application/json")
5207 response <- private$REST$http$exec("GET", url, headers, body,
5208 queryArgs, private$numRetries)
5209 resource <- private$REST$httpParser$parseJSONResponse(response)
5211 if(!is.null(resource$errors))
5212 stop(resource$errors)
5217 virtual_machines.list = function(filters = NULL,
5218 where = NULL, order = NULL, select = NULL,
5219 distinct = NULL, limit = "100", offset = "0",
5222 endPoint <- stringr::str_interp("virtual_machines")
5223 url <- paste0(private$host, endPoint)
5224 headers <- list(Authorization = paste("OAuth2", private$token),
5225 "Content-Type" = "application/json")
5226 queryArgs <- list(filters = filters, where = where,
5227 order = order, select = select, distinct = distinct,
5228 limit = limit, offset = offset, count = count)
5232 response <- private$REST$http$exec("GET", url, headers, body,
5233 queryArgs, private$numRetries)
5234 resource <- private$REST$httpParser$parseJSONResponse(response)
5236 if(!is.null(resource$errors))
5237 stop(resource$errors)
5242 workflows.get = function(uuid)
5244 endPoint <- stringr::str_interp("workflows/${uuid}")
5245 url <- paste0(private$host, endPoint)
5246 headers <- list(Authorization = paste("OAuth2", private$token),
5247 "Content-Type" = "application/json")
5252 response <- private$REST$http$exec("GET", url, headers, body,
5253 queryArgs, private$numRetries)
5254 resource <- private$REST$httpParser$parseJSONResponse(response)
5256 if(!is.null(resource$errors))
5257 stop(resource$errors)
5262 workflows.create = function(workflow, ensure_unique_name = "false")
5264 endPoint <- stringr::str_interp("workflows")
5265 url <- paste0(private$host, endPoint)
5266 headers <- list(Authorization = paste("OAuth2", private$token),
5267 "Content-Type" = "application/json")
5268 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5270 if(length(workflow) > 0)
5271 body <- jsonlite::toJSON(list(workflow = workflow),
5276 response <- private$REST$http$exec("POST", url, headers, body,
5277 queryArgs, private$numRetries)
5278 resource <- private$REST$httpParser$parseJSONResponse(response)
5280 if(!is.null(resource$errors))
5281 stop(resource$errors)
5286 workflows.update = function(workflow, uuid)
5288 endPoint <- stringr::str_interp("workflows/${uuid}")
5289 url <- paste0(private$host, endPoint)
5290 headers <- list(Authorization = paste("OAuth2", private$token),
5291 "Content-Type" = "application/json")
5294 if(length(workflow) > 0)
5295 body <- jsonlite::toJSON(list(workflow = workflow),
5300 response <- private$REST$http$exec("PUT", url, headers, body,
5301 queryArgs, private$numRetries)
5302 resource <- private$REST$httpParser$parseJSONResponse(response)
5304 if(!is.null(resource$errors))
5305 stop(resource$errors)
5310 workflows.delete = function(uuid)
5312 endPoint <- stringr::str_interp("workflows/${uuid}")
5313 url <- paste0(private$host, endPoint)
5314 headers <- list(Authorization = paste("OAuth2", private$token),
5315 "Content-Type" = "application/json")
5320 response <- private$REST$http$exec("DELETE", url, headers, body,
5321 queryArgs, private$numRetries)
5322 resource <- private$REST$httpParser$parseJSONResponse(response)
5324 if(!is.null(resource$errors))
5325 stop(resource$errors)
5330 workflows.list = function(filters = NULL,
5331 where = NULL, order = NULL, select = NULL,
5332 distinct = NULL, limit = "100", offset = "0",
5335 endPoint <- stringr::str_interp("workflows")
5336 url <- paste0(private$host, endPoint)
5337 headers <- list(Authorization = paste("OAuth2", private$token),
5338 "Content-Type" = "application/json")
5339 queryArgs <- list(filters = filters, where = where,
5340 order = order, select = select, distinct = distinct,
5341 limit = limit, offset = offset, count = count)
5345 response <- private$REST$http$exec("GET", url, headers, body,
5346 queryArgs, private$numRetries)
5347 resource <- private$REST$httpParser$parseJSONResponse(response)
5349 if(!is.null(resource$errors))
5350 stop(resource$errors)
5355 groups.get = function(uuid)
5357 endPoint <- stringr::str_interp("groups/${uuid}")
5358 url <- paste0(private$host, endPoint)
5359 headers <- list(Authorization = paste("OAuth2", private$token),
5360 "Content-Type" = "application/json")
5365 response <- private$REST$http$exec("GET", url, headers, body,
5366 queryArgs, private$numRetries)
5367 resource <- private$REST$httpParser$parseJSONResponse(response)
5369 if(!is.null(resource$errors))
5370 stop(resource$errors)
5375 groups.create = function(group, ensure_unique_name = "false")
5377 endPoint <- stringr::str_interp("groups")
5378 url <- paste0(private$host, endPoint)
5379 headers <- list(Authorization = paste("OAuth2", private$token),
5380 "Content-Type" = "application/json")
5381 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5383 if(length(group) > 0)
5384 body <- jsonlite::toJSON(list(group = group),
5389 response <- private$REST$http$exec("POST", url, headers, body,
5390 queryArgs, private$numRetries)
5391 resource <- private$REST$httpParser$parseJSONResponse(response)
5393 if(!is.null(resource$errors))
5394 stop(resource$errors)
5399 groups.update = function(group, uuid)
5401 endPoint <- stringr::str_interp("groups/${uuid}")
5402 url <- paste0(private$host, endPoint)
5403 headers <- list(Authorization = paste("OAuth2", private$token),
5404 "Content-Type" = "application/json")
5407 if(length(group) > 0)
5408 body <- jsonlite::toJSON(list(group = group),
5413 response <- private$REST$http$exec("PUT", url, headers, body,
5414 queryArgs, private$numRetries)
5415 resource <- private$REST$httpParser$parseJSONResponse(response)
5417 if(!is.null(resource$errors))
5418 stop(resource$errors)
5423 groups.delete = function(uuid)
5425 endPoint <- stringr::str_interp("groups/${uuid}")
5426 url <- paste0(private$host, endPoint)
5427 headers <- list(Authorization = paste("OAuth2", private$token),
5428 "Content-Type" = "application/json")
5433 response <- private$REST$http$exec("DELETE", url, headers, body,
5434 queryArgs, private$numRetries)
5435 resource <- private$REST$httpParser$parseJSONResponse(response)
5437 if(!is.null(resource$errors))
5438 stop(resource$errors)
5443 groups.contents = function(filters = NULL,
5444 where = NULL, order = NULL, distinct = NULL,
5445 limit = "100", offset = "0", count = "exact",
5446 include_trash = NULL, uuid = NULL, recursive = NULL)
5448 endPoint <- stringr::str_interp("groups/contents")
5449 url <- paste0(private$host, endPoint)
5450 headers <- list(Authorization = paste("OAuth2", private$token),
5451 "Content-Type" = "application/json")
5452 queryArgs <- list(filters = filters, where = where,
5453 order = order, distinct = distinct, limit = limit,
5454 offset = offset, count = count, include_trash = include_trash,
5455 uuid = uuid, recursive = recursive)
5459 response <- private$REST$http$exec("GET", url, headers, body,
5460 queryArgs, private$numRetries)
5461 resource <- private$REST$httpParser$parseJSONResponse(response)
5463 if(!is.null(resource$errors))
5464 stop(resource$errors)
5469 groups.trash = function(uuid)
5471 endPoint <- stringr::str_interp("groups/${uuid}/trash")
5472 url <- paste0(private$host, endPoint)
5473 headers <- list(Authorization = paste("OAuth2", private$token),
5474 "Content-Type" = "application/json")
5479 response <- private$REST$http$exec("POST", url, headers, body,
5480 queryArgs, private$numRetries)
5481 resource <- private$REST$httpParser$parseJSONResponse(response)
5483 if(!is.null(resource$errors))
5484 stop(resource$errors)
5489 groups.untrash = function(uuid)
5491 endPoint <- stringr::str_interp("groups/${uuid}/untrash")
5492 url <- paste0(private$host, endPoint)
5493 headers <- list(Authorization = paste("OAuth2", private$token),
5494 "Content-Type" = "application/json")
5499 response <- private$REST$http$exec("POST", url, headers, body,
5500 queryArgs, private$numRetries)
5501 resource <- private$REST$httpParser$parseJSONResponse(response)
5503 if(!is.null(resource$errors))
5504 stop(resource$errors)
5509 groups.list = function(filters = NULL, where = NULL,
5510 order = NULL, select = NULL, distinct = NULL,
5511 limit = "100", offset = "0", count = "exact",
5512 include_trash = NULL)
5514 endPoint <- stringr::str_interp("groups")
5515 url <- paste0(private$host, endPoint)
5516 headers <- list(Authorization = paste("OAuth2", private$token),
5517 "Content-Type" = "application/json")
5518 queryArgs <- list(filters = filters, where = where,
5519 order = order, select = select, distinct = distinct,
5520 limit = limit, offset = offset, count = count,
5521 include_trash = include_trash)
5525 response <- private$REST$http$exec("GET", url, headers, body,
5526 queryArgs, private$numRetries)
5527 resource <- private$REST$httpParser$parseJSONResponse(response)
5529 if(!is.null(resource$errors))
5530 stop(resource$errors)
5535 user_agreements.get = function(uuid)
5537 endPoint <- stringr::str_interp("user_agreements/${uuid}")
5538 url <- paste0(private$host, endPoint)
5539 headers <- list(Authorization = paste("OAuth2", private$token),
5540 "Content-Type" = "application/json")
5545 response <- private$REST$http$exec("GET", url, headers, body,
5546 queryArgs, private$numRetries)
5547 resource <- private$REST$httpParser$parseJSONResponse(response)
5549 if(!is.null(resource$errors))
5550 stop(resource$errors)
5555 user_agreements.create = function(useragreement,
5556 ensure_unique_name = "false")
5558 endPoint <- stringr::str_interp("user_agreements")
5559 url <- paste0(private$host, endPoint)
5560 headers <- list(Authorization = paste("OAuth2", private$token),
5561 "Content-Type" = "application/json")
5562 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5564 if(length(useragreement) > 0)
5565 body <- jsonlite::toJSON(list(useragreement = useragreement),
5570 response <- private$REST$http$exec("POST", url, headers, body,
5571 queryArgs, private$numRetries)
5572 resource <- private$REST$httpParser$parseJSONResponse(response)
5574 if(!is.null(resource$errors))
5575 stop(resource$errors)
5580 user_agreements.update = function(useragreement, uuid)
5582 endPoint <- stringr::str_interp("user_agreements/${uuid}")
5583 url <- paste0(private$host, endPoint)
5584 headers <- list(Authorization = paste("OAuth2", private$token),
5585 "Content-Type" = "application/json")
5588 if(length(useragreement) > 0)
5589 body <- jsonlite::toJSON(list(useragreement = useragreement),
5594 response <- private$REST$http$exec("PUT", url, headers, body,
5595 queryArgs, private$numRetries)
5596 resource <- private$REST$httpParser$parseJSONResponse(response)
5598 if(!is.null(resource$errors))
5599 stop(resource$errors)
5604 user_agreements.delete = function(uuid)
5606 endPoint <- stringr::str_interp("user_agreements/${uuid}")
5607 url <- paste0(private$host, endPoint)
5608 headers <- list(Authorization = paste("OAuth2", private$token),
5609 "Content-Type" = "application/json")
5614 response <- private$REST$http$exec("DELETE", url, headers, body,
5615 queryArgs, private$numRetries)
5616 resource <- private$REST$httpParser$parseJSONResponse(response)
5618 if(!is.null(resource$errors))
5619 stop(resource$errors)
5624 user_agreements.signatures = function()
5626 endPoint <- stringr::str_interp("user_agreements/signatures")
5627 url <- paste0(private$host, endPoint)
5628 headers <- list(Authorization = paste("OAuth2", private$token),
5629 "Content-Type" = "application/json")
5634 response <- private$REST$http$exec("GET", url, headers, body,
5635 queryArgs, private$numRetries)
5636 resource <- private$REST$httpParser$parseJSONResponse(response)
5638 if(!is.null(resource$errors))
5639 stop(resource$errors)
5644 user_agreements.sign = function()
5646 endPoint <- stringr::str_interp("user_agreements/sign")
5647 url <- paste0(private$host, endPoint)
5648 headers <- list(Authorization = paste("OAuth2", private$token),
5649 "Content-Type" = "application/json")
5654 response <- private$REST$http$exec("POST", url, headers, body,
5655 queryArgs, private$numRetries)
5656 resource <- private$REST$httpParser$parseJSONResponse(response)
5658 if(!is.null(resource$errors))
5659 stop(resource$errors)
5664 user_agreements.list = function(filters = NULL,
5665 where = NULL, order = NULL, select = NULL,
5666 distinct = NULL, limit = "100", offset = "0",
5669 endPoint <- stringr::str_interp("user_agreements")
5670 url <- paste0(private$host, endPoint)
5671 headers <- list(Authorization = paste("OAuth2", private$token),
5672 "Content-Type" = "application/json")
5673 queryArgs <- list(filters = filters, where = where,
5674 order = order, select = select, distinct = distinct,
5675 limit = limit, offset = offset, count = count)
5679 response <- private$REST$http$exec("GET", url, headers, body,
5680 queryArgs, private$numRetries)
5681 resource <- private$REST$httpParser$parseJSONResponse(response)
5683 if(!is.null(resource$errors))
5684 stop(resource$errors)
5689 user_agreements.new = function()
5691 endPoint <- stringr::str_interp("user_agreements/new")
5692 url <- paste0(private$host, endPoint)
5693 headers <- list(Authorization = paste("OAuth2", private$token),
5694 "Content-Type" = "application/json")
5699 response <- private$REST$http$exec("GET", url, headers, body,
5700 queryArgs, private$numRetries)
5701 resource <- private$REST$httpParser$parseJSONResponse(response)
5703 if(!is.null(resource$errors))
5704 stop(resource$errors)
5709 getHostName = function() private$host,
5710 getToken = function() private$token,
5711 setRESTService = function(newREST) private$REST <- newREST,
5712 getRESTService = function() private$REST