1 #' users.get is a method defined in Arvados class.
3 #' @usage arv$users.get(uuid)
4 #' @param uuid The UUID of the User in question.
5 #' @return User object.
9 #' users.index is a method defined in Arvados class.
11 #' @usage arv$users.index(filters = NULL,
12 #' where = NULL, order = NULL, select = NULL,
13 #' distinct = NULL, limit = "100", offset = "0",
23 #' @return UserList object.
27 #' users.create is a method defined in Arvados class.
29 #' @usage arv$users.create(user, ensure_unique_name = "false")
30 #' @param user User object.
31 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
32 #' @return User object.
36 #' users.update is a method defined in Arvados class.
38 #' @usage arv$users.update(user, uuid)
39 #' @param user User object.
40 #' @param uuid The UUID of the User in question.
41 #' @return User object.
45 #' users.delete is a method defined in Arvados class.
47 #' @usage arv$users.delete(uuid)
48 #' @param uuid The UUID of the User in question.
49 #' @return User object.
53 #' users.current is a method defined in Arvados class.
55 #' @usage arv$users.current(NULL)
56 #' @return User object.
57 #' @name users.current
60 #' users.system is a method defined in Arvados class.
62 #' @usage arv$users.system(NULL)
63 #' @return User object.
67 #' users.activate is a method defined in Arvados class.
69 #' @usage arv$users.activate(uuid)
71 #' @return User object.
72 #' @name users.activate
75 #' users.setup is a method defined in Arvados class.
77 #' @usage arv$users.setup(user = NULL, openid_prefix = NULL,
78 #' repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
80 #' @param openid_prefix
83 #' @param send_notification_email
84 #' @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
96 #' users.update_uuid is a method defined in Arvados class.
98 #' @usage arv$users.update_uuid(uuid, new_uuid)
101 #' @return User object.
102 #' @name users.update_uuid
105 #' users.list is a method defined in Arvados class.
107 #' @usage arv$users.list(filters = NULL,
108 #' where = NULL, order = NULL, select = NULL,
109 #' distinct = NULL, limit = "100", offset = "0",
119 #' @return UserList object.
123 #' users.show is a method defined in Arvados class.
125 #' @usage arv$users.show(uuid)
127 #' @return User object.
131 #' users.destroy is a method defined in Arvados class.
133 #' @usage arv$users.destroy(uuid)
135 #' @return User object.
136 #' @name users.destroy
139 #' api_client_authorizations.get is a method defined in Arvados class.
141 #' @usage arv$api_client_authorizations.get(uuid)
142 #' @param uuid The UUID of the ApiClientAuthorization in question.
143 #' @return ApiClientAuthorization object.
144 #' @name api_client_authorizations.get
147 #' api_client_authorizations.index is a method defined in Arvados class.
149 #' @usage arv$api_client_authorizations.index(filters = NULL,
150 #' where = NULL, order = NULL, select = NULL,
151 #' distinct = NULL, limit = "100", offset = "0",
161 #' @return ApiClientAuthorizationList object.
162 #' @name api_client_authorizations.index
165 #' api_client_authorizations.create is a method defined in Arvados class.
167 #' @usage arv$api_client_authorizations.create(apiclientauthorization,
168 #' ensure_unique_name = "false")
169 #' @param apiClientAuthorization ApiClientAuthorization object.
170 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
171 #' @return ApiClientAuthorization object.
172 #' @name api_client_authorizations.create
175 #' api_client_authorizations.update is a method defined in Arvados class.
177 #' @usage arv$api_client_authorizations.update(apiclientauthorization,
179 #' @param apiClientAuthorization ApiClientAuthorization object.
180 #' @param uuid The UUID of the ApiClientAuthorization in question.
181 #' @return ApiClientAuthorization object.
182 #' @name api_client_authorizations.update
185 #' api_client_authorizations.delete is a method defined in Arvados class.
187 #' @usage arv$api_client_authorizations.delete(uuid)
188 #' @param uuid The UUID of the ApiClientAuthorization in question.
189 #' @return ApiClientAuthorization object.
190 #' @name api_client_authorizations.delete
193 #' api_client_authorizations.create_system_auth is a method defined in Arvados class.
195 #' @usage arv$api_client_authorizations.create_system_auth(api_client_id = NULL,
197 #' @param api_client_id
199 #' @return ApiClientAuthorization object.
200 #' @name api_client_authorizations.create_system_auth
203 #' api_client_authorizations.current is a method defined in Arvados class.
205 #' @usage arv$api_client_authorizations.current(NULL)
206 #' @return ApiClientAuthorization object.
207 #' @name api_client_authorizations.current
210 #' api_client_authorizations.list is a method defined in Arvados class.
212 #' @usage arv$api_client_authorizations.list(filters = NULL,
213 #' where = NULL, order = NULL, select = NULL,
214 #' distinct = NULL, limit = "100", offset = "0",
224 #' @return ApiClientAuthorizationList object.
225 #' @name api_client_authorizations.list
228 #' api_client_authorizations.show is a method defined in Arvados class.
230 #' @usage arv$api_client_authorizations.show(uuid)
232 #' @return ApiClientAuthorization object.
233 #' @name api_client_authorizations.show
236 #' api_client_authorizations.destroy is a method defined in Arvados class.
238 #' @usage arv$api_client_authorizations.destroy(uuid)
240 #' @return ApiClientAuthorization object.
241 #' @name api_client_authorizations.destroy
244 #' api_clients.get is a method defined in Arvados class.
246 #' @usage arv$api_clients.get(uuid)
247 #' @param uuid The UUID of the ApiClient in question.
248 #' @return ApiClient object.
249 #' @name api_clients.get
252 #' api_clients.index is a method defined in Arvados class.
254 #' @usage arv$api_clients.index(filters = NULL,
255 #' where = NULL, order = NULL, select = NULL,
256 #' distinct = NULL, limit = "100", offset = "0",
266 #' @return ApiClientList object.
267 #' @name api_clients.index
270 #' api_clients.create is a method defined in Arvados class.
272 #' @usage arv$api_clients.create(apiclient,
273 #' ensure_unique_name = "false")
274 #' @param apiClient ApiClient object.
275 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
276 #' @return ApiClient object.
277 #' @name api_clients.create
280 #' api_clients.update is a method defined in Arvados class.
282 #' @usage arv$api_clients.update(apiclient,
284 #' @param apiClient ApiClient object.
285 #' @param uuid The UUID of the ApiClient in question.
286 #' @return ApiClient object.
287 #' @name api_clients.update
290 #' api_clients.delete is a method defined in Arvados class.
292 #' @usage arv$api_clients.delete(uuid)
293 #' @param uuid The UUID of the ApiClient in question.
294 #' @return ApiClient object.
295 #' @name api_clients.delete
298 #' api_clients.list is a method defined in Arvados class.
300 #' @usage arv$api_clients.list(filters = NULL,
301 #' where = NULL, order = NULL, select = NULL,
302 #' distinct = NULL, limit = "100", offset = "0",
312 #' @return ApiClientList object.
313 #' @name api_clients.list
316 #' api_clients.show is a method defined in Arvados class.
318 #' @usage arv$api_clients.show(uuid)
320 #' @return ApiClient object.
321 #' @name api_clients.show
324 #' api_clients.destroy is a method defined in Arvados class.
326 #' @usage arv$api_clients.destroy(uuid)
328 #' @return ApiClient object.
329 #' @name api_clients.destroy
332 #' container_requests.get is a method defined in Arvados class.
334 #' @usage arv$container_requests.get(uuid)
335 #' @param uuid The UUID of the ContainerRequest in question.
336 #' @return ContainerRequest object.
337 #' @name container_requests.get
340 #' container_requests.index is a method defined in Arvados class.
342 #' @usage arv$container_requests.index(filters = NULL,
343 #' where = NULL, order = NULL, select = NULL,
344 #' distinct = NULL, limit = "100", offset = "0",
354 #' @return ContainerRequestList object.
355 #' @name container_requests.index
358 #' container_requests.create is a method defined in Arvados class.
360 #' @usage arv$container_requests.create(containerrequest,
361 #' ensure_unique_name = "false")
362 #' @param containerRequest ContainerRequest object.
363 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
364 #' @return ContainerRequest object.
365 #' @name container_requests.create
368 #' container_requests.update is a method defined in Arvados class.
370 #' @usage arv$container_requests.update(containerrequest,
372 #' @param containerRequest ContainerRequest object.
373 #' @param uuid The UUID of the ContainerRequest in question.
374 #' @return ContainerRequest object.
375 #' @name container_requests.update
378 #' container_requests.delete is a method defined in Arvados class.
380 #' @usage arv$container_requests.delete(uuid)
381 #' @param uuid The UUID of the ContainerRequest in question.
382 #' @return ContainerRequest object.
383 #' @name container_requests.delete
386 #' container_requests.list is a method defined in Arvados class.
388 #' @usage arv$container_requests.list(filters = NULL,
389 #' where = NULL, order = NULL, select = NULL,
390 #' distinct = NULL, limit = "100", offset = "0",
400 #' @return ContainerRequestList object.
401 #' @name container_requests.list
404 #' container_requests.show is a method defined in Arvados class.
406 #' @usage arv$container_requests.show(uuid)
408 #' @return ContainerRequest object.
409 #' @name container_requests.show
412 #' container_requests.destroy is a method defined in Arvados class.
414 #' @usage arv$container_requests.destroy(uuid)
416 #' @return ContainerRequest object.
417 #' @name container_requests.destroy
420 #' authorized_keys.get is a method defined in Arvados class.
422 #' @usage arv$authorized_keys.get(uuid)
423 #' @param uuid The UUID of the AuthorizedKey in question.
424 #' @return AuthorizedKey object.
425 #' @name authorized_keys.get
428 #' authorized_keys.index is a method defined in Arvados class.
430 #' @usage arv$authorized_keys.index(filters = NULL,
431 #' where = NULL, order = NULL, select = NULL,
432 #' distinct = NULL, limit = "100", offset = "0",
442 #' @return AuthorizedKeyList object.
443 #' @name authorized_keys.index
446 #' authorized_keys.create is a method defined in Arvados class.
448 #' @usage arv$authorized_keys.create(authorizedkey,
449 #' ensure_unique_name = "false")
450 #' @param authorizedKey AuthorizedKey object.
451 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
452 #' @return AuthorizedKey object.
453 #' @name authorized_keys.create
456 #' authorized_keys.update is a method defined in Arvados class.
458 #' @usage arv$authorized_keys.update(authorizedkey,
460 #' @param authorizedKey AuthorizedKey object.
461 #' @param uuid The UUID of the AuthorizedKey in question.
462 #' @return AuthorizedKey object.
463 #' @name authorized_keys.update
466 #' authorized_keys.delete is a method defined in Arvados class.
468 #' @usage arv$authorized_keys.delete(uuid)
469 #' @param uuid The UUID of the AuthorizedKey in question.
470 #' @return AuthorizedKey object.
471 #' @name authorized_keys.delete
474 #' authorized_keys.list is a method defined in Arvados class.
476 #' @usage arv$authorized_keys.list(filters = NULL,
477 #' where = NULL, order = NULL, select = NULL,
478 #' distinct = NULL, limit = "100", offset = "0",
488 #' @return AuthorizedKeyList object.
489 #' @name authorized_keys.list
492 #' authorized_keys.show is a method defined in Arvados class.
494 #' @usage arv$authorized_keys.show(uuid)
496 #' @return AuthorizedKey object.
497 #' @name authorized_keys.show
500 #' authorized_keys.destroy is a method defined in Arvados class.
502 #' @usage arv$authorized_keys.destroy(uuid)
504 #' @return AuthorizedKey object.
505 #' @name authorized_keys.destroy
508 #' collections.get is a method defined in Arvados class.
510 #' @usage arv$collections.get(uuid)
511 #' @param uuid The UUID of the Collection in question.
512 #' @return Collection object.
513 #' @name collections.get
516 #' collections.index is a method defined in Arvados class.
518 #' @usage arv$collections.index(filters = NULL,
519 #' where = NULL, order = NULL, select = NULL,
520 #' distinct = NULL, limit = "100", offset = "0",
521 #' count = "exact", include_trash = NULL)
530 #' @param include_trash Include collections whose is_trashed attribute is true.
531 #' @return CollectionList object.
532 #' @name collections.index
535 #' collections.create is a method defined in Arvados class.
537 #' @usage arv$collections.create(collection,
538 #' ensure_unique_name = "false")
539 #' @param collection Collection object.
540 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
541 #' @return Collection object.
542 #' @name collections.create
545 #' collections.update is a method defined in Arvados class.
547 #' @usage arv$collections.update(collection,
549 #' @param collection Collection object.
550 #' @param uuid The UUID of the Collection in question.
551 #' @return Collection object.
552 #' @name collections.update
555 #' collections.delete is a method defined in Arvados class.
557 #' @usage arv$collections.delete(uuid)
558 #' @param uuid The UUID of the Collection in question.
559 #' @return Collection object.
560 #' @name collections.delete
563 #' collections.provenance is a method defined in Arvados class.
565 #' @usage arv$collections.provenance(uuid)
567 #' @return Collection object.
568 #' @name collections.provenance
571 #' collections.used_by is a method defined in Arvados class.
573 #' @usage arv$collections.used_by(uuid)
575 #' @return Collection object.
576 #' @name collections.used_by
579 #' collections.trash is a method defined in Arvados class.
581 #' @usage arv$collections.trash(uuid)
583 #' @return Collection object.
584 #' @name collections.trash
587 #' collections.untrash is a method defined in Arvados class.
589 #' @usage arv$collections.untrash(uuid)
591 #' @return Collection object.
592 #' @name collections.untrash
595 #' collections.list is a method defined in Arvados class.
597 #' @usage arv$collections.list(filters = NULL,
598 #' where = NULL, order = NULL, select = NULL,
599 #' distinct = NULL, limit = "100", offset = "0",
600 #' count = "exact", include_trash = NULL)
609 #' @param include_trash Include collections whose is_trashed attribute is true.
610 #' @return CollectionList object.
611 #' @name collections.list
614 #' collections.show is a method defined in Arvados class.
616 #' @usage arv$collections.show(uuid)
618 #' @return Collection object.
619 #' @name collections.show
622 #' collections.destroy is a method defined in Arvados class.
624 #' @usage arv$collections.destroy(uuid)
626 #' @return Collection object.
627 #' @name collections.destroy
630 #' containers.get is a method defined in Arvados class.
632 #' @usage arv$containers.get(uuid)
633 #' @param uuid The UUID of the Container in question.
634 #' @return Container object.
635 #' @name containers.get
638 #' containers.index is a method defined in Arvados class.
640 #' @usage arv$containers.index(filters = NULL,
641 #' where = NULL, order = NULL, select = NULL,
642 #' distinct = NULL, limit = "100", offset = "0",
652 #' @return ContainerList object.
653 #' @name containers.index
656 #' containers.create is a method defined in Arvados class.
658 #' @usage arv$containers.create(container,
659 #' ensure_unique_name = "false")
660 #' @param container Container object.
661 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
662 #' @return Container object.
663 #' @name containers.create
666 #' containers.update is a method defined in Arvados class.
668 #' @usage arv$containers.update(container,
670 #' @param container Container object.
671 #' @param uuid The UUID of the Container in question.
672 #' @return Container object.
673 #' @name containers.update
676 #' containers.delete is a method defined in Arvados class.
678 #' @usage arv$containers.delete(uuid)
679 #' @param uuid The UUID of the Container in question.
680 #' @return Container object.
681 #' @name containers.delete
684 #' containers.auth is a method defined in Arvados class.
686 #' @usage arv$containers.auth(uuid)
688 #' @return Container object.
689 #' @name containers.auth
692 #' containers.lock is a method defined in Arvados class.
694 #' @usage arv$containers.lock(uuid)
696 #' @return Container object.
697 #' @name containers.lock
700 #' containers.unlock is a method defined in Arvados class.
702 #' @usage arv$containers.unlock(uuid)
704 #' @return Container object.
705 #' @name containers.unlock
708 #' containers.current is a method defined in Arvados class.
710 #' @usage arv$containers.current(NULL)
711 #' @return Container object.
712 #' @name containers.current
715 #' containers.list is a method defined in Arvados class.
717 #' @usage arv$containers.list(filters = NULL,
718 #' where = NULL, order = NULL, select = NULL,
719 #' distinct = NULL, limit = "100", offset = "0",
729 #' @return ContainerList object.
730 #' @name containers.list
733 #' containers.show is a method defined in Arvados class.
735 #' @usage arv$containers.show(uuid)
737 #' @return Container object.
738 #' @name containers.show
741 #' containers.destroy is a method defined in Arvados class.
743 #' @usage arv$containers.destroy(uuid)
745 #' @return Container object.
746 #' @name containers.destroy
749 #' humans.get is a method defined in Arvados class.
751 #' @usage arv$humans.get(uuid)
752 #' @param uuid The UUID of the Human in question.
753 #' @return Human object.
757 #' humans.index is a method defined in Arvados class.
759 #' @usage arv$humans.index(filters = NULL,
760 #' where = NULL, order = NULL, select = NULL,
761 #' distinct = NULL, limit = "100", offset = "0",
771 #' @return HumanList object.
772 #' @name humans.index
775 #' humans.create is a method defined in Arvados class.
777 #' @usage arv$humans.create(human, ensure_unique_name = "false")
778 #' @param human Human object.
779 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
780 #' @return Human object.
781 #' @name humans.create
784 #' humans.update is a method defined in Arvados class.
786 #' @usage arv$humans.update(human, uuid)
787 #' @param human Human object.
788 #' @param uuid The UUID of the Human in question.
789 #' @return Human object.
790 #' @name humans.update
793 #' humans.delete is a method defined in Arvados class.
795 #' @usage arv$humans.delete(uuid)
796 #' @param uuid The UUID of the Human in question.
797 #' @return Human object.
798 #' @name humans.delete
801 #' humans.list is a method defined in Arvados class.
803 #' @usage arv$humans.list(filters = NULL,
804 #' where = NULL, order = NULL, select = NULL,
805 #' distinct = NULL, limit = "100", offset = "0",
815 #' @return HumanList object.
819 #' humans.show is a method defined in Arvados class.
821 #' @usage arv$humans.show(uuid)
823 #' @return Human object.
827 #' humans.destroy is a method defined in Arvados class.
829 #' @usage arv$humans.destroy(uuid)
831 #' @return Human object.
832 #' @name humans.destroy
835 #' job_tasks.get is a method defined in Arvados class.
837 #' @usage arv$job_tasks.get(uuid)
838 #' @param uuid The UUID of the JobTask in question.
839 #' @return JobTask object.
840 #' @name job_tasks.get
843 #' job_tasks.index is a method defined in Arvados class.
845 #' @usage arv$job_tasks.index(filters = NULL,
846 #' where = NULL, order = NULL, select = NULL,
847 #' distinct = NULL, limit = "100", offset = "0",
857 #' @return JobTaskList object.
858 #' @name job_tasks.index
861 #' job_tasks.create is a method defined in Arvados class.
863 #' @usage arv$job_tasks.create(jobtask, ensure_unique_name = "false")
864 #' @param jobTask JobTask object.
865 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
866 #' @return JobTask object.
867 #' @name job_tasks.create
870 #' job_tasks.update is a method defined in Arvados class.
872 #' @usage arv$job_tasks.update(jobtask, uuid)
873 #' @param jobTask JobTask object.
874 #' @param uuid The UUID of the JobTask in question.
875 #' @return JobTask object.
876 #' @name job_tasks.update
879 #' job_tasks.delete is a method defined in Arvados class.
881 #' @usage arv$job_tasks.delete(uuid)
882 #' @param uuid The UUID of the JobTask in question.
883 #' @return JobTask object.
884 #' @name job_tasks.delete
887 #' job_tasks.list is a method defined in Arvados class.
889 #' @usage arv$job_tasks.list(filters = NULL,
890 #' where = NULL, order = NULL, select = NULL,
891 #' distinct = NULL, limit = "100", offset = "0",
901 #' @return JobTaskList object.
902 #' @name job_tasks.list
905 #' job_tasks.show is a method defined in Arvados class.
907 #' @usage arv$job_tasks.show(uuid)
909 #' @return JobTask object.
910 #' @name job_tasks.show
913 #' job_tasks.destroy is a method defined in Arvados class.
915 #' @usage arv$job_tasks.destroy(uuid)
917 #' @return JobTask object.
918 #' @name job_tasks.destroy
921 #' links.get is a method defined in Arvados class.
923 #' @usage arv$links.get(uuid)
924 #' @param uuid The UUID of the Link in question.
925 #' @return Link object.
929 #' links.index is a method defined in Arvados class.
931 #' @usage arv$links.index(filters = NULL,
932 #' where = NULL, order = NULL, select = NULL,
933 #' distinct = NULL, limit = "100", offset = "0",
943 #' @return LinkList object.
947 #' links.create is a method defined in Arvados class.
949 #' @usage arv$links.create(link, ensure_unique_name = "false")
950 #' @param link Link object.
951 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
952 #' @return Link object.
953 #' @name links.create
956 #' links.update is a method defined in Arvados class.
958 #' @usage arv$links.update(link, uuid)
959 #' @param link Link object.
960 #' @param uuid The UUID of the Link in question.
961 #' @return Link object.
962 #' @name links.update
965 #' links.delete is a method defined in Arvados class.
967 #' @usage arv$links.delete(uuid)
968 #' @param uuid The UUID of the Link in question.
969 #' @return Link object.
970 #' @name links.delete
973 #' links.list is a method defined in Arvados class.
975 #' @usage arv$links.list(filters = NULL,
976 #' where = NULL, order = NULL, select = NULL,
977 #' distinct = NULL, limit = "100", offset = "0",
987 #' @return LinkList object.
991 #' links.show is a method defined in Arvados class.
993 #' @usage arv$links.show(uuid)
995 #' @return Link object.
999 #' links.destroy is a method defined in Arvados class.
1001 #' @usage arv$links.destroy(uuid)
1003 #' @return Link object.
1004 #' @name links.destroy
1007 #' links.get_permissions is a method defined in Arvados class.
1009 #' @usage arv$links.get_permissions(uuid)
1011 #' @return Link object.
1012 #' @name links.get_permissions
1015 #' jobs.get is a method defined in Arvados class.
1017 #' @usage arv$jobs.get(uuid)
1018 #' @param uuid The UUID of the Job in question.
1019 #' @return Job object.
1023 #' jobs.index is a method defined in Arvados class.
1025 #' @usage arv$jobs.index(filters = NULL,
1026 #' where = NULL, order = NULL, select = NULL,
1027 #' distinct = NULL, limit = "100", offset = "0",
1037 #' @return JobList object.
1041 #' jobs.create is a method defined in Arvados class.
1043 #' @usage arv$jobs.create(job, ensure_unique_name = "false",
1044 #' find_or_create = "false", filters = NULL,
1045 #' minimum_script_version = NULL, exclude_script_versions = NULL)
1046 #' @param job Job object.
1047 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1048 #' @param find_or_create
1050 #' @param minimum_script_version
1051 #' @param exclude_script_versions
1052 #' @return Job object.
1053 #' @name jobs.create
1056 #' jobs.update is a method defined in Arvados class.
1058 #' @usage arv$jobs.update(job, uuid)
1059 #' @param job Job object.
1060 #' @param uuid The UUID of the Job in question.
1061 #' @return Job object.
1062 #' @name jobs.update
1065 #' jobs.delete is a method defined in Arvados class.
1067 #' @usage arv$jobs.delete(uuid)
1068 #' @param uuid The UUID of the Job in question.
1069 #' @return Job object.
1070 #' @name jobs.delete
1073 #' jobs.queue is a method defined in Arvados class.
1075 #' @usage arv$jobs.queue(filters = NULL,
1076 #' where = NULL, order = NULL, select = NULL,
1077 #' distinct = NULL, limit = "100", offset = "0",
1087 #' @return Job object.
1091 #' jobs.queue_size is a method defined in Arvados class.
1093 #' @usage arv$jobs.queue_size(NULL)
1094 #' @return Job object.
1095 #' @name jobs.queue_size
1098 #' jobs.cancel is a method defined in Arvados class.
1100 #' @usage arv$jobs.cancel(uuid)
1102 #' @return Job object.
1103 #' @name jobs.cancel
1106 #' jobs.lock is a method defined in Arvados class.
1108 #' @usage arv$jobs.lock(uuid)
1110 #' @return Job object.
1114 #' jobs.list is a method defined in Arvados class.
1116 #' @usage arv$jobs.list(filters = NULL, where = NULL,
1117 #' order = NULL, select = NULL, distinct = NULL,
1118 #' limit = "100", offset = "0", count = "exact")
1127 #' @return JobList object.
1131 #' jobs.show is a method defined in Arvados class.
1133 #' @usage arv$jobs.show(uuid)
1135 #' @return Job object.
1139 #' jobs.destroy is a method defined in Arvados class.
1141 #' @usage arv$jobs.destroy(uuid)
1143 #' @return Job object.
1144 #' @name jobs.destroy
1147 #' keep_disks.get is a method defined in Arvados class.
1149 #' @usage arv$keep_disks.get(uuid)
1150 #' @param uuid The UUID of the KeepDisk in question.
1151 #' @return KeepDisk object.
1152 #' @name keep_disks.get
1155 #' keep_disks.index is a method defined in Arvados class.
1157 #' @usage arv$keep_disks.index(filters = NULL,
1158 #' where = NULL, order = NULL, select = NULL,
1159 #' distinct = NULL, limit = "100", offset = "0",
1169 #' @return KeepDiskList object.
1170 #' @name keep_disks.index
1173 #' keep_disks.create is a method defined in Arvados class.
1175 #' @usage arv$keep_disks.create(keepdisk,
1176 #' ensure_unique_name = "false")
1177 #' @param keepDisk KeepDisk object.
1178 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1179 #' @return KeepDisk object.
1180 #' @name keep_disks.create
1183 #' keep_disks.update is a method defined in Arvados class.
1185 #' @usage arv$keep_disks.update(keepdisk,
1187 #' @param keepDisk KeepDisk object.
1188 #' @param uuid The UUID of the KeepDisk in question.
1189 #' @return KeepDisk object.
1190 #' @name keep_disks.update
1193 #' keep_disks.delete is a method defined in Arvados class.
1195 #' @usage arv$keep_disks.delete(uuid)
1196 #' @param uuid The UUID of the KeepDisk in question.
1197 #' @return KeepDisk object.
1198 #' @name keep_disks.delete
1201 #' keep_disks.ping is a method defined in Arvados class.
1203 #' @usage arv$keep_disks.ping(uuid = NULL,
1204 #' ping_secret, node_uuid = NULL, filesystem_uuid = NULL,
1205 #' service_host = NULL, service_port, service_ssl_flag)
1207 #' @param ping_secret
1209 #' @param filesystem_uuid
1210 #' @param service_host
1211 #' @param service_port
1212 #' @param service_ssl_flag
1213 #' @return KeepDisk object.
1214 #' @name keep_disks.ping
1217 #' keep_disks.list is a method defined in Arvados class.
1219 #' @usage arv$keep_disks.list(filters = NULL,
1220 #' where = NULL, order = NULL, select = NULL,
1221 #' distinct = NULL, limit = "100", offset = "0",
1231 #' @return KeepDiskList object.
1232 #' @name keep_disks.list
1235 #' keep_disks.show is a method defined in Arvados class.
1237 #' @usage arv$keep_disks.show(uuid)
1239 #' @return KeepDisk object.
1240 #' @name keep_disks.show
1243 #' keep_disks.destroy is a method defined in Arvados class.
1245 #' @usage arv$keep_disks.destroy(uuid)
1247 #' @return KeepDisk object.
1248 #' @name keep_disks.destroy
1251 #' keep_services.get is a method defined in Arvados class.
1253 #' @usage arv$keep_services.get(uuid)
1254 #' @param uuid The UUID of the KeepService in question.
1255 #' @return KeepService object.
1256 #' @name keep_services.get
1259 #' keep_services.index is a method defined in Arvados class.
1261 #' @usage arv$keep_services.index(filters = NULL,
1262 #' where = NULL, order = NULL, select = NULL,
1263 #' distinct = NULL, limit = "100", offset = "0",
1273 #' @return KeepServiceList object.
1274 #' @name keep_services.index
1277 #' keep_services.create is a method defined in Arvados class.
1279 #' @usage arv$keep_services.create(keepservice,
1280 #' ensure_unique_name = "false")
1281 #' @param keepService KeepService object.
1282 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1283 #' @return KeepService object.
1284 #' @name keep_services.create
1287 #' keep_services.update is a method defined in Arvados class.
1289 #' @usage arv$keep_services.update(keepservice,
1291 #' @param keepService KeepService object.
1292 #' @param uuid The UUID of the KeepService in question.
1293 #' @return KeepService object.
1294 #' @name keep_services.update
1297 #' keep_services.delete is a method defined in Arvados class.
1299 #' @usage arv$keep_services.delete(uuid)
1300 #' @param uuid The UUID of the KeepService in question.
1301 #' @return KeepService object.
1302 #' @name keep_services.delete
1305 #' keep_services.accessible is a method defined in Arvados class.
1307 #' @usage arv$keep_services.accessible(NULL)
1308 #' @return KeepService object.
1309 #' @name keep_services.accessible
1312 #' keep_services.list is a method defined in Arvados class.
1314 #' @usage arv$keep_services.list(filters = NULL,
1315 #' where = NULL, order = NULL, select = NULL,
1316 #' distinct = NULL, limit = "100", offset = "0",
1326 #' @return KeepServiceList object.
1327 #' @name keep_services.list
1330 #' keep_services.show is a method defined in Arvados class.
1332 #' @usage arv$keep_services.show(uuid)
1334 #' @return KeepService object.
1335 #' @name keep_services.show
1338 #' keep_services.destroy is a method defined in Arvados class.
1340 #' @usage arv$keep_services.destroy(uuid)
1342 #' @return KeepService object.
1343 #' @name keep_services.destroy
1346 #' pipeline_templates.get is a method defined in Arvados class.
1348 #' @usage arv$pipeline_templates.get(uuid)
1349 #' @param uuid The UUID of the PipelineTemplate in question.
1350 #' @return PipelineTemplate object.
1351 #' @name pipeline_templates.get
1354 #' pipeline_templates.index is a method defined in Arvados class.
1356 #' @usage arv$pipeline_templates.index(filters = NULL,
1357 #' where = NULL, order = NULL, select = NULL,
1358 #' distinct = NULL, limit = "100", offset = "0",
1368 #' @return PipelineTemplateList object.
1369 #' @name pipeline_templates.index
1372 #' pipeline_templates.create is a method defined in Arvados class.
1374 #' @usage arv$pipeline_templates.create(pipelinetemplate,
1375 #' ensure_unique_name = "false")
1376 #' @param pipelineTemplate PipelineTemplate object.
1377 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1378 #' @return PipelineTemplate object.
1379 #' @name pipeline_templates.create
1382 #' pipeline_templates.update is a method defined in Arvados class.
1384 #' @usage arv$pipeline_templates.update(pipelinetemplate,
1386 #' @param pipelineTemplate PipelineTemplate object.
1387 #' @param uuid The UUID of the PipelineTemplate in question.
1388 #' @return PipelineTemplate object.
1389 #' @name pipeline_templates.update
1392 #' pipeline_templates.delete is a method defined in Arvados class.
1394 #' @usage arv$pipeline_templates.delete(uuid)
1395 #' @param uuid The UUID of the PipelineTemplate in question.
1396 #' @return PipelineTemplate object.
1397 #' @name pipeline_templates.delete
1400 #' pipeline_templates.list is a method defined in Arvados class.
1402 #' @usage arv$pipeline_templates.list(filters = NULL,
1403 #' where = NULL, order = NULL, select = NULL,
1404 #' distinct = NULL, limit = "100", offset = "0",
1414 #' @return PipelineTemplateList object.
1415 #' @name pipeline_templates.list
1418 #' pipeline_templates.show is a method defined in Arvados class.
1420 #' @usage arv$pipeline_templates.show(uuid)
1422 #' @return PipelineTemplate object.
1423 #' @name pipeline_templates.show
1426 #' pipeline_templates.destroy is a method defined in Arvados class.
1428 #' @usage arv$pipeline_templates.destroy(uuid)
1430 #' @return PipelineTemplate object.
1431 #' @name pipeline_templates.destroy
1434 #' pipeline_instances.get is a method defined in Arvados class.
1436 #' @usage arv$pipeline_instances.get(uuid)
1437 #' @param uuid The UUID of the PipelineInstance in question.
1438 #' @return PipelineInstance object.
1439 #' @name pipeline_instances.get
1442 #' pipeline_instances.index is a method defined in Arvados class.
1444 #' @usage arv$pipeline_instances.index(filters = NULL,
1445 #' where = NULL, order = NULL, select = NULL,
1446 #' distinct = NULL, limit = "100", offset = "0",
1456 #' @return PipelineInstanceList object.
1457 #' @name pipeline_instances.index
1460 #' pipeline_instances.create is a method defined in Arvados class.
1462 #' @usage arv$pipeline_instances.create(pipelineinstance,
1463 #' ensure_unique_name = "false")
1464 #' @param pipelineInstance PipelineInstance object.
1465 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1466 #' @return PipelineInstance object.
1467 #' @name pipeline_instances.create
1470 #' pipeline_instances.update is a method defined in Arvados class.
1472 #' @usage arv$pipeline_instances.update(pipelineinstance,
1474 #' @param pipelineInstance PipelineInstance object.
1475 #' @param uuid The UUID of the PipelineInstance in question.
1476 #' @return PipelineInstance object.
1477 #' @name pipeline_instances.update
1480 #' pipeline_instances.delete is a method defined in Arvados class.
1482 #' @usage arv$pipeline_instances.delete(uuid)
1483 #' @param uuid The UUID of the PipelineInstance in question.
1484 #' @return PipelineInstance object.
1485 #' @name pipeline_instances.delete
1488 #' pipeline_instances.cancel is a method defined in Arvados class.
1490 #' @usage arv$pipeline_instances.cancel(uuid)
1492 #' @return PipelineInstance object.
1493 #' @name pipeline_instances.cancel
1496 #' pipeline_instances.list is a method defined in Arvados class.
1498 #' @usage arv$pipeline_instances.list(filters = NULL,
1499 #' where = NULL, order = NULL, select = NULL,
1500 #' distinct = NULL, limit = "100", offset = "0",
1510 #' @return PipelineInstanceList object.
1511 #' @name pipeline_instances.list
1514 #' pipeline_instances.show is a method defined in Arvados class.
1516 #' @usage arv$pipeline_instances.show(uuid)
1518 #' @return PipelineInstance object.
1519 #' @name pipeline_instances.show
1522 #' pipeline_instances.destroy is a method defined in Arvados class.
1524 #' @usage arv$pipeline_instances.destroy(uuid)
1526 #' @return PipelineInstance object.
1527 #' @name pipeline_instances.destroy
1530 #' nodes.get is a method defined in Arvados class.
1532 #' @usage arv$nodes.get(uuid)
1533 #' @param uuid The UUID of the Node in question.
1534 #' @return Node object.
1538 #' nodes.index is a method defined in Arvados class.
1540 #' @usage arv$nodes.index(filters = NULL,
1541 #' where = NULL, order = NULL, select = NULL,
1542 #' distinct = NULL, limit = "100", offset = "0",
1552 #' @return NodeList object.
1553 #' @name nodes.index
1556 #' nodes.create is a method defined in Arvados class.
1558 #' @usage arv$nodes.create(node, ensure_unique_name = "false",
1559 #' assign_slot = NULL)
1560 #' @param node Node object.
1561 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1562 #' @param assign_slot assign slot and hostname
1563 #' @return Node object.
1564 #' @name nodes.create
1567 #' nodes.update is a method defined in Arvados class.
1569 #' @usage arv$nodes.update(node, uuid, assign_slot = NULL)
1570 #' @param node Node object.
1571 #' @param uuid The UUID of the Node in question.
1572 #' @param assign_slot assign slot and hostname
1573 #' @return Node object.
1574 #' @name nodes.update
1577 #' nodes.delete is a method defined in Arvados class.
1579 #' @usage arv$nodes.delete(uuid)
1580 #' @param uuid The UUID of the Node in question.
1581 #' @return Node object.
1582 #' @name nodes.delete
1585 #' nodes.ping is a method defined in Arvados class.
1587 #' @usage arv$nodes.ping(uuid, ping_secret)
1589 #' @param ping_secret
1590 #' @return Node object.
1594 #' nodes.list is a method defined in Arvados class.
1596 #' @usage arv$nodes.list(filters = NULL,
1597 #' where = NULL, order = NULL, select = NULL,
1598 #' distinct = NULL, limit = "100", offset = "0",
1608 #' @return NodeList object.
1612 #' nodes.show is a method defined in Arvados class.
1614 #' @usage arv$nodes.show(uuid)
1616 #' @return Node object.
1620 #' nodes.destroy is a method defined in Arvados class.
1622 #' @usage arv$nodes.destroy(uuid)
1624 #' @return Node object.
1625 #' @name nodes.destroy
1628 #' repositories.get is a method defined in Arvados class.
1630 #' @usage arv$repositories.get(uuid)
1631 #' @param uuid The UUID of the Repository in question.
1632 #' @return Repository object.
1633 #' @name repositories.get
1636 #' repositories.index is a method defined in Arvados class.
1638 #' @usage arv$repositories.index(filters = NULL,
1639 #' where = NULL, order = NULL, select = NULL,
1640 #' distinct = NULL, limit = "100", offset = "0",
1650 #' @return RepositoryList object.
1651 #' @name repositories.index
1654 #' repositories.create is a method defined in Arvados class.
1656 #' @usage arv$repositories.create(repository,
1657 #' ensure_unique_name = "false")
1658 #' @param repository Repository object.
1659 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1660 #' @return Repository object.
1661 #' @name repositories.create
1664 #' repositories.update is a method defined in Arvados class.
1666 #' @usage arv$repositories.update(repository,
1668 #' @param repository Repository object.
1669 #' @param uuid The UUID of the Repository in question.
1670 #' @return Repository object.
1671 #' @name repositories.update
1674 #' repositories.delete is a method defined in Arvados class.
1676 #' @usage arv$repositories.delete(uuid)
1677 #' @param uuid The UUID of the Repository in question.
1678 #' @return Repository object.
1679 #' @name repositories.delete
1682 #' repositories.get_all_permissions is a method defined in Arvados class.
1684 #' @usage arv$repositories.get_all_permissions(NULL)
1685 #' @return Repository object.
1686 #' @name repositories.get_all_permissions
1689 #' repositories.list is a method defined in Arvados class.
1691 #' @usage arv$repositories.list(filters = NULL,
1692 #' where = NULL, order = NULL, select = NULL,
1693 #' distinct = NULL, limit = "100", offset = "0",
1703 #' @return RepositoryList object.
1704 #' @name repositories.list
1707 #' repositories.show is a method defined in Arvados class.
1709 #' @usage arv$repositories.show(uuid)
1711 #' @return Repository object.
1712 #' @name repositories.show
1715 #' repositories.destroy is a method defined in Arvados class.
1717 #' @usage arv$repositories.destroy(uuid)
1719 #' @return Repository object.
1720 #' @name repositories.destroy
1723 #' specimens.get is a method defined in Arvados class.
1725 #' @usage arv$specimens.get(uuid)
1726 #' @param uuid The UUID of the Specimen in question.
1727 #' @return Specimen object.
1728 #' @name specimens.get
1731 #' specimens.index is a method defined in Arvados class.
1733 #' @usage arv$specimens.index(filters = NULL,
1734 #' where = NULL, order = NULL, select = NULL,
1735 #' distinct = NULL, limit = "100", offset = "0",
1745 #' @return SpecimenList object.
1746 #' @name specimens.index
1749 #' specimens.create is a method defined in Arvados class.
1751 #' @usage arv$specimens.create(specimen,
1752 #' ensure_unique_name = "false")
1753 #' @param specimen Specimen object.
1754 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1755 #' @return Specimen object.
1756 #' @name specimens.create
1759 #' specimens.update is a method defined in Arvados class.
1761 #' @usage arv$specimens.update(specimen,
1763 #' @param specimen Specimen object.
1764 #' @param uuid The UUID of the Specimen in question.
1765 #' @return Specimen object.
1766 #' @name specimens.update
1769 #' specimens.delete is a method defined in Arvados class.
1771 #' @usage arv$specimens.delete(uuid)
1772 #' @param uuid The UUID of the Specimen in question.
1773 #' @return Specimen object.
1774 #' @name specimens.delete
1777 #' specimens.list is a method defined in Arvados class.
1779 #' @usage arv$specimens.list(filters = NULL,
1780 #' where = NULL, order = NULL, select = NULL,
1781 #' distinct = NULL, limit = "100", offset = "0",
1791 #' @return SpecimenList object.
1792 #' @name specimens.list
1795 #' specimens.show is a method defined in Arvados class.
1797 #' @usage arv$specimens.show(uuid)
1799 #' @return Specimen object.
1800 #' @name specimens.show
1803 #' specimens.destroy is a method defined in Arvados class.
1805 #' @usage arv$specimens.destroy(uuid)
1807 #' @return Specimen object.
1808 #' @name specimens.destroy
1811 #' logs.get is a method defined in Arvados class.
1813 #' @usage arv$logs.get(uuid)
1814 #' @param uuid The UUID of the Log in question.
1815 #' @return Log object.
1819 #' logs.index is a method defined in Arvados class.
1821 #' @usage arv$logs.index(filters = NULL,
1822 #' where = NULL, order = NULL, select = NULL,
1823 #' distinct = NULL, limit = "100", offset = "0",
1833 #' @return LogList object.
1837 #' logs.create is a method defined in Arvados class.
1839 #' @usage arv$logs.create(log, ensure_unique_name = "false")
1840 #' @param log Log object.
1841 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1842 #' @return Log object.
1843 #' @name logs.create
1846 #' logs.update is a method defined in Arvados class.
1848 #' @usage arv$logs.update(log, uuid)
1849 #' @param log Log object.
1850 #' @param uuid The UUID of the Log in question.
1851 #' @return Log object.
1852 #' @name logs.update
1855 #' logs.delete is a method defined in Arvados class.
1857 #' @usage arv$logs.delete(uuid)
1858 #' @param uuid The UUID of the Log in question.
1859 #' @return Log object.
1860 #' @name logs.delete
1863 #' logs.list is a method defined in Arvados class.
1865 #' @usage arv$logs.list(filters = NULL, where = NULL,
1866 #' order = NULL, select = NULL, distinct = NULL,
1867 #' limit = "100", offset = "0", count = "exact")
1876 #' @return LogList object.
1880 #' logs.show is a method defined in Arvados class.
1882 #' @usage arv$logs.show(uuid)
1884 #' @return Log object.
1888 #' logs.destroy is a method defined in Arvados class.
1890 #' @usage arv$logs.destroy(uuid)
1892 #' @return Log object.
1893 #' @name logs.destroy
1896 #' traits.get is a method defined in Arvados class.
1898 #' @usage arv$traits.get(uuid)
1899 #' @param uuid The UUID of the Trait in question.
1900 #' @return Trait object.
1904 #' traits.index is a method defined in Arvados class.
1906 #' @usage arv$traits.index(filters = NULL,
1907 #' where = NULL, order = NULL, select = NULL,
1908 #' distinct = NULL, limit = "100", offset = "0",
1918 #' @return TraitList object.
1919 #' @name traits.index
1922 #' traits.create is a method defined in Arvados class.
1924 #' @usage arv$traits.create(trait, ensure_unique_name = "false")
1925 #' @param trait Trait object.
1926 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1927 #' @return Trait object.
1928 #' @name traits.create
1931 #' traits.update is a method defined in Arvados class.
1933 #' @usage arv$traits.update(trait, uuid)
1934 #' @param trait Trait object.
1935 #' @param uuid The UUID of the Trait in question.
1936 #' @return Trait object.
1937 #' @name traits.update
1940 #' traits.delete is a method defined in Arvados class.
1942 #' @usage arv$traits.delete(uuid)
1943 #' @param uuid The UUID of the Trait in question.
1944 #' @return Trait object.
1945 #' @name traits.delete
1948 #' traits.list is a method defined in Arvados class.
1950 #' @usage arv$traits.list(filters = NULL,
1951 #' where = NULL, order = NULL, select = NULL,
1952 #' distinct = NULL, limit = "100", offset = "0",
1962 #' @return TraitList object.
1963 #' @name traits.list
1966 #' traits.show is a method defined in Arvados class.
1968 #' @usage arv$traits.show(uuid)
1970 #' @return Trait object.
1971 #' @name traits.show
1974 #' traits.destroy is a method defined in Arvados class.
1976 #' @usage arv$traits.destroy(uuid)
1978 #' @return Trait object.
1979 #' @name traits.destroy
1982 #' virtual_machines.get is a method defined in Arvados class.
1984 #' @usage arv$virtual_machines.get(uuid)
1985 #' @param uuid The UUID of the VirtualMachine in question.
1986 #' @return VirtualMachine object.
1987 #' @name virtual_machines.get
1990 #' virtual_machines.index is a method defined in Arvados class.
1992 #' @usage arv$virtual_machines.index(filters = NULL,
1993 #' where = NULL, order = NULL, select = NULL,
1994 #' distinct = NULL, limit = "100", offset = "0",
2004 #' @return VirtualMachineList object.
2005 #' @name virtual_machines.index
2008 #' virtual_machines.create is a method defined in Arvados class.
2010 #' @usage arv$virtual_machines.create(virtualmachine,
2011 #' ensure_unique_name = "false")
2012 #' @param virtualMachine VirtualMachine object.
2013 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2014 #' @return VirtualMachine object.
2015 #' @name virtual_machines.create
2018 #' virtual_machines.update is a method defined in Arvados class.
2020 #' @usage arv$virtual_machines.update(virtualmachine,
2022 #' @param virtualMachine VirtualMachine object.
2023 #' @param uuid The UUID of the VirtualMachine in question.
2024 #' @return VirtualMachine object.
2025 #' @name virtual_machines.update
2028 #' virtual_machines.delete is a method defined in Arvados class.
2030 #' @usage arv$virtual_machines.delete(uuid)
2031 #' @param uuid The UUID of the VirtualMachine in question.
2032 #' @return VirtualMachine object.
2033 #' @name virtual_machines.delete
2036 #' virtual_machines.logins is a method defined in Arvados class.
2038 #' @usage arv$virtual_machines.logins(uuid)
2040 #' @return VirtualMachine object.
2041 #' @name virtual_machines.logins
2044 #' virtual_machines.get_all_logins is a method defined in Arvados class.
2046 #' @usage arv$virtual_machines.get_all_logins(NULL)
2047 #' @return VirtualMachine object.
2048 #' @name virtual_machines.get_all_logins
2051 #' virtual_machines.list is a method defined in Arvados class.
2053 #' @usage arv$virtual_machines.list(filters = NULL,
2054 #' where = NULL, order = NULL, select = NULL,
2055 #' distinct = NULL, limit = "100", offset = "0",
2065 #' @return VirtualMachineList object.
2066 #' @name virtual_machines.list
2069 #' virtual_machines.show is a method defined in Arvados class.
2071 #' @usage arv$virtual_machines.show(uuid)
2073 #' @return VirtualMachine object.
2074 #' @name virtual_machines.show
2077 #' virtual_machines.destroy is a method defined in Arvados class.
2079 #' @usage arv$virtual_machines.destroy(uuid)
2081 #' @return VirtualMachine object.
2082 #' @name virtual_machines.destroy
2085 #' workflows.get is a method defined in Arvados class.
2087 #' @usage arv$workflows.get(uuid)
2088 #' @param uuid The UUID of the Workflow in question.
2089 #' @return Workflow object.
2090 #' @name workflows.get
2093 #' workflows.index is a method defined in Arvados class.
2095 #' @usage arv$workflows.index(filters = NULL,
2096 #' where = NULL, order = NULL, select = NULL,
2097 #' distinct = NULL, limit = "100", offset = "0",
2107 #' @return WorkflowList object.
2108 #' @name workflows.index
2111 #' workflows.create is a method defined in Arvados class.
2113 #' @usage arv$workflows.create(workflow,
2114 #' ensure_unique_name = "false")
2115 #' @param workflow Workflow object.
2116 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2117 #' @return Workflow object.
2118 #' @name workflows.create
2121 #' workflows.update is a method defined in Arvados class.
2123 #' @usage arv$workflows.update(workflow,
2125 #' @param workflow Workflow object.
2126 #' @param uuid The UUID of the Workflow in question.
2127 #' @return Workflow object.
2128 #' @name workflows.update
2131 #' workflows.delete is a method defined in Arvados class.
2133 #' @usage arv$workflows.delete(uuid)
2134 #' @param uuid The UUID of the Workflow in question.
2135 #' @return Workflow object.
2136 #' @name workflows.delete
2139 #' workflows.list is a method defined in Arvados class.
2141 #' @usage arv$workflows.list(filters = NULL,
2142 #' where = NULL, order = NULL, select = NULL,
2143 #' distinct = NULL, limit = "100", offset = "0",
2153 #' @return WorkflowList object.
2154 #' @name workflows.list
2157 #' workflows.show is a method defined in Arvados class.
2159 #' @usage arv$workflows.show(uuid)
2161 #' @return Workflow object.
2162 #' @name workflows.show
2165 #' workflows.destroy is a method defined in Arvados class.
2167 #' @usage arv$workflows.destroy(uuid)
2169 #' @return Workflow object.
2170 #' @name workflows.destroy
2173 #' groups.get is a method defined in Arvados class.
2175 #' @usage arv$groups.get(uuid)
2176 #' @param uuid The UUID of the Group in question.
2177 #' @return Group object.
2181 #' groups.index is a method defined in Arvados class.
2183 #' @usage arv$groups.index(filters = NULL,
2184 #' where = NULL, order = NULL, select = NULL,
2185 #' distinct = NULL, limit = "100", offset = "0",
2186 #' count = "exact", include_trash = NULL)
2195 #' @param include_trash Include items whose is_trashed attribute is true.
2196 #' @return GroupList object.
2197 #' @name groups.index
2200 #' groups.create is a method defined in Arvados class.
2202 #' @usage arv$groups.create(group, ensure_unique_name = "false")
2203 #' @param group Group object.
2204 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2205 #' @return Group object.
2206 #' @name groups.create
2209 #' groups.update is a method defined in Arvados class.
2211 #' @usage arv$groups.update(group, uuid)
2212 #' @param group Group object.
2213 #' @param uuid The UUID of the Group in question.
2214 #' @return Group object.
2215 #' @name groups.update
2218 #' groups.delete is a method defined in Arvados class.
2220 #' @usage arv$groups.delete(uuid)
2221 #' @param uuid The UUID of the Group in question.
2222 #' @return Group object.
2223 #' @name groups.delete
2226 #' groups.contents is a method defined in Arvados class.
2228 #' @usage arv$groups.contents(filters = NULL,
2229 #' where = NULL, order = NULL, distinct = NULL,
2230 #' limit = "100", offset = "0", count = "exact",
2231 #' include_trash = NULL, uuid = NULL, recursive = NULL)
2239 #' @param include_trash Include items whose is_trashed attribute is true.
2241 #' @param recursive Include contents from child groups recursively.
2242 #' @return Group object.
2243 #' @name groups.contents
2246 #' groups.trash is a method defined in Arvados class.
2248 #' @usage arv$groups.trash(uuid)
2250 #' @return Group object.
2251 #' @name groups.trash
2254 #' groups.untrash is a method defined in Arvados class.
2256 #' @usage arv$groups.untrash(uuid)
2258 #' @return Group object.
2259 #' @name groups.untrash
2262 #' groups.list is a method defined in Arvados class.
2264 #' @usage arv$groups.list(filters = NULL,
2265 #' where = NULL, order = NULL, select = NULL,
2266 #' distinct = NULL, limit = "100", offset = "0",
2267 #' count = "exact", include_trash = NULL)
2276 #' @param include_trash Include items whose is_trashed attribute is true.
2277 #' @return GroupList object.
2278 #' @name groups.list
2281 #' groups.show is a method defined in Arvados class.
2283 #' @usage arv$groups.show(uuid)
2285 #' @return Group object.
2286 #' @name groups.show
2289 #' groups.destroy is a method defined in Arvados class.
2291 #' @usage arv$groups.destroy(uuid)
2293 #' @return Group object.
2294 #' @name groups.destroy
2297 #' user_agreements.get is a method defined in Arvados class.
2299 #' @usage arv$user_agreements.get(uuid)
2300 #' @param uuid The UUID of the UserAgreement in question.
2301 #' @return UserAgreement object.
2302 #' @name user_agreements.get
2305 #' user_agreements.index is a method defined in Arvados class.
2307 #' @usage arv$user_agreements.index(filters = NULL,
2308 #' where = NULL, order = NULL, select = NULL,
2309 #' distinct = NULL, limit = "100", offset = "0",
2319 #' @return UserAgreementList object.
2320 #' @name user_agreements.index
2323 #' user_agreements.create is a method defined in Arvados class.
2325 #' @usage arv$user_agreements.create(useragreement,
2326 #' ensure_unique_name = "false")
2327 #' @param userAgreement UserAgreement object.
2328 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2329 #' @return UserAgreement object.
2330 #' @name user_agreements.create
2333 #' user_agreements.update is a method defined in Arvados class.
2335 #' @usage arv$user_agreements.update(useragreement,
2337 #' @param userAgreement UserAgreement object.
2338 #' @param uuid The UUID of the UserAgreement in question.
2339 #' @return UserAgreement object.
2340 #' @name user_agreements.update
2343 #' user_agreements.delete is a method defined in Arvados class.
2345 #' @usage arv$user_agreements.delete(uuid)
2346 #' @param uuid The UUID of the UserAgreement in question.
2347 #' @return UserAgreement object.
2348 #' @name user_agreements.delete
2351 #' user_agreements.signatures is a method defined in Arvados class.
2353 #' @usage arv$user_agreements.signatures(NULL)
2354 #' @return UserAgreement object.
2355 #' @name user_agreements.signatures
2358 #' user_agreements.sign is a method defined in Arvados class.
2360 #' @usage arv$user_agreements.sign(NULL)
2361 #' @return UserAgreement object.
2362 #' @name user_agreements.sign
2365 #' user_agreements.list is a method defined in Arvados class.
2367 #' @usage arv$user_agreements.list(filters = NULL,
2368 #' where = NULL, order = NULL, select = NULL,
2369 #' distinct = NULL, limit = "100", offset = "0",
2379 #' @return UserAgreementList object.
2380 #' @name user_agreements.list
2383 #' user_agreements.new is a method defined in Arvados class.
2385 #' @usage arv$user_agreements.new(NULL)
2386 #' @return UserAgreement object.
2387 #' @name user_agreements.new
2390 #' user_agreements.show is a method defined in Arvados class.
2392 #' @usage arv$user_agreements.show(uuid)
2394 #' @return UserAgreement object.
2395 #' @name user_agreements.show
2398 #' user_agreements.destroy is a method defined in Arvados class.
2400 #' @usage arv$user_agreements.destroy(uuid)
2402 #' @return UserAgreement object.
2403 #' @name user_agreements.destroy
2407 Arvados <- R6::R6Class(
2413 initialize = function(authToken = NULL, hostName = NULL, numRetries = 0)
2415 if(!is.null(hostName))
2416 Sys.setenv(ARVADOS_API_HOST = hostName)
2418 if(!is.null(authToken))
2419 Sys.setenv(ARVADOS_API_TOKEN = authToken)
2421 hostName <- Sys.getenv("ARVADOS_API_HOST")
2422 token <- Sys.getenv("ARVADOS_API_TOKEN")
2424 if(hostName == "" | token == "")
2425 stop(paste("Please provide host name and authentification token",
2426 "or set ARVADOS_API_HOST and ARVADOS_API_TOKEN",
2427 "environment variables."))
2429 private$token <- token
2430 private$host <- paste0("https://", hostName, "/arvados/v1/")
2431 private$numRetries <- numRetries
2432 private$REST <- RESTService$new(token, hostName,
2433 HttpRequest$new(), HttpParser$new(),
2438 users.get = function(uuid)
2440 endPoint <- stringr::str_interp("users/${uuid}")
2441 url <- paste0(private$host, endPoint)
2442 headers <- list(Authorization = paste("OAuth2", private$token),
2443 "Content-Type" = "application/json")
2448 response <- private$REST$http$exec("GET", url, headers, body,
2449 queryArgs, private$numRetries)
2450 resource <- private$REST$httpParser$parseJSONResponse(response)
2452 if(!is.null(resource$errors))
2453 stop(resource$errors)
2458 users.index = function(filters = NULL, where = NULL,
2459 order = NULL, select = NULL, distinct = NULL,
2460 limit = "100", offset = "0", count = "exact")
2462 endPoint <- stringr::str_interp("users")
2463 url <- paste0(private$host, endPoint)
2464 headers <- list(Authorization = paste("OAuth2", private$token),
2465 "Content-Type" = "application/json")
2466 queryArgs <- list(filters = filters, where = where,
2467 order = order, select = select, distinct = distinct,
2468 limit = limit, offset = offset, count = count)
2472 response <- private$REST$http$exec("GET", url, headers, body,
2473 queryArgs, private$numRetries)
2474 resource <- private$REST$httpParser$parseJSONResponse(response)
2476 if(!is.null(resource$errors))
2477 stop(resource$errors)
2482 users.create = function(user, ensure_unique_name = "false")
2484 endPoint <- stringr::str_interp("users")
2485 url <- paste0(private$host, endPoint)
2486 headers <- list(Authorization = paste("OAuth2", private$token),
2487 "Content-Type" = "application/json")
2488 queryArgs <- list(ensure_unique_name = ensure_unique_name)
2490 if(length(user) > 0)
2491 body <- jsonlite::toJSON(list(user = user),
2496 response <- private$REST$http$exec("POST", url, headers, body,
2497 queryArgs, private$numRetries)
2498 resource <- private$REST$httpParser$parseJSONResponse(response)
2500 if(!is.null(resource$errors))
2501 stop(resource$errors)
2506 users.update = function(user, uuid)
2508 endPoint <- stringr::str_interp("users/${uuid}")
2509 url <- paste0(private$host, endPoint)
2510 headers <- list(Authorization = paste("OAuth2", private$token),
2511 "Content-Type" = "application/json")
2514 if(length(user) > 0)
2515 body <- jsonlite::toJSON(list(user = user),
2520 response <- private$REST$http$exec("PUT", url, headers, body,
2521 queryArgs, private$numRetries)
2522 resource <- private$REST$httpParser$parseJSONResponse(response)
2524 if(!is.null(resource$errors))
2525 stop(resource$errors)
2530 users.delete = function(uuid)
2532 endPoint <- stringr::str_interp("users/${uuid}")
2533 url <- paste0(private$host, endPoint)
2534 headers <- list(Authorization = paste("OAuth2", private$token),
2535 "Content-Type" = "application/json")
2540 response <- private$REST$http$exec("DELETE", url, headers, body,
2541 queryArgs, private$numRetries)
2542 resource <- private$REST$httpParser$parseJSONResponse(response)
2544 if(!is.null(resource$errors))
2545 stop(resource$errors)
2550 users.current = function()
2552 endPoint <- stringr::str_interp("users/current")
2553 url <- paste0(private$host, endPoint)
2554 headers <- list(Authorization = paste("OAuth2", private$token),
2555 "Content-Type" = "application/json")
2560 response <- private$REST$http$exec("GET", url, headers, body,
2561 queryArgs, private$numRetries)
2562 resource <- private$REST$httpParser$parseJSONResponse(response)
2564 if(!is.null(resource$errors))
2565 stop(resource$errors)
2570 users.system = function()
2572 endPoint <- stringr::str_interp("users/system")
2573 url <- paste0(private$host, endPoint)
2574 headers <- list(Authorization = paste("OAuth2", private$token),
2575 "Content-Type" = "application/json")
2580 response <- private$REST$http$exec("GET", url, headers, body,
2581 queryArgs, private$numRetries)
2582 resource <- private$REST$httpParser$parseJSONResponse(response)
2584 if(!is.null(resource$errors))
2585 stop(resource$errors)
2590 users.activate = function(uuid)
2592 endPoint <- stringr::str_interp("users/${uuid}/activate")
2593 url <- paste0(private$host, endPoint)
2594 headers <- list(Authorization = paste("OAuth2", private$token),
2595 "Content-Type" = "application/json")
2600 response <- private$REST$http$exec("POST", url, headers, body,
2601 queryArgs, private$numRetries)
2602 resource <- private$REST$httpParser$parseJSONResponse(response)
2604 if(!is.null(resource$errors))
2605 stop(resource$errors)
2610 users.setup = function(user = NULL, openid_prefix = NULL,
2611 repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
2613 endPoint <- stringr::str_interp("users/setup")
2614 url <- paste0(private$host, endPoint)
2615 headers <- list(Authorization = paste("OAuth2", private$token),
2616 "Content-Type" = "application/json")
2617 queryArgs <- list(user = user, openid_prefix = openid_prefix,
2618 repo_name = repo_name, vm_uuid = vm_uuid,
2619 send_notification_email = send_notification_email)
2623 response <- private$REST$http$exec("POST", 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 users.unsetup = function(uuid)
2635 endPoint <- stringr::str_interp("users/${uuid}/unsetup")
2636 url <- paste0(private$host, endPoint)
2637 headers <- list(Authorization = paste("OAuth2", private$token),
2638 "Content-Type" = "application/json")
2643 response <- private$REST$http$exec("POST", url, headers, body,
2644 queryArgs, private$numRetries)
2645 resource <- private$REST$httpParser$parseJSONResponse(response)
2647 if(!is.null(resource$errors))
2648 stop(resource$errors)
2653 users.update_uuid = function(uuid, new_uuid)
2655 endPoint <- stringr::str_interp("users/${uuid}/update_uuid")
2656 url <- paste0(private$host, endPoint)
2657 headers <- list(Authorization = paste("OAuth2", private$token),
2658 "Content-Type" = "application/json")
2659 queryArgs <- list(new_uuid = new_uuid)
2663 response <- private$REST$http$exec("POST", url, headers, body,
2664 queryArgs, private$numRetries)
2665 resource <- private$REST$httpParser$parseJSONResponse(response)
2667 if(!is.null(resource$errors))
2668 stop(resource$errors)
2673 users.list = function(filters = NULL, where = NULL,
2674 order = NULL, select = NULL, distinct = NULL,
2675 limit = "100", offset = "0", count = "exact")
2677 endPoint <- stringr::str_interp("users")
2678 url <- paste0(private$host, endPoint)
2679 headers <- list(Authorization = paste("OAuth2", private$token),
2680 "Content-Type" = "application/json")
2681 queryArgs <- list(filters = filters, where = where,
2682 order = order, select = select, distinct = distinct,
2683 limit = limit, offset = offset, count = count)
2687 response <- private$REST$http$exec("GET", url, headers, body,
2688 queryArgs, private$numRetries)
2689 resource <- private$REST$httpParser$parseJSONResponse(response)
2691 if(!is.null(resource$errors))
2692 stop(resource$errors)
2697 users.show = function(uuid)
2699 endPoint <- stringr::str_interp("users/${uuid}")
2700 url <- paste0(private$host, endPoint)
2701 headers <- list(Authorization = paste("OAuth2", private$token),
2702 "Content-Type" = "application/json")
2707 response <- private$REST$http$exec("GET", url, headers, body,
2708 queryArgs, private$numRetries)
2709 resource <- private$REST$httpParser$parseJSONResponse(response)
2711 if(!is.null(resource$errors))
2712 stop(resource$errors)
2717 users.destroy = function(uuid)
2719 endPoint <- stringr::str_interp("users/${uuid}")
2720 url <- paste0(private$host, endPoint)
2721 headers <- list(Authorization = paste("OAuth2", private$token),
2722 "Content-Type" = "application/json")
2727 response <- private$REST$http$exec("DELETE", url, headers, body,
2728 queryArgs, private$numRetries)
2729 resource <- private$REST$httpParser$parseJSONResponse(response)
2731 if(!is.null(resource$errors))
2732 stop(resource$errors)
2737 api_client_authorizations.get = function(uuid)
2739 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2740 url <- paste0(private$host, endPoint)
2741 headers <- list(Authorization = paste("OAuth2", private$token),
2742 "Content-Type" = "application/json")
2747 response <- private$REST$http$exec("GET", url, headers, body,
2748 queryArgs, private$numRetries)
2749 resource <- private$REST$httpParser$parseJSONResponse(response)
2751 if(!is.null(resource$errors))
2752 stop(resource$errors)
2757 api_client_authorizations.index = function(filters = NULL,
2758 where = NULL, order = NULL, select = NULL,
2759 distinct = NULL, limit = "100", offset = "0",
2762 endPoint <- stringr::str_interp("api_client_authorizations")
2763 url <- paste0(private$host, endPoint)
2764 headers <- list(Authorization = paste("OAuth2", private$token),
2765 "Content-Type" = "application/json")
2766 queryArgs <- list(filters = filters, where = where,
2767 order = order, select = select, distinct = distinct,
2768 limit = limit, offset = offset, count = count)
2772 response <- private$REST$http$exec("GET", url, headers, body,
2773 queryArgs, private$numRetries)
2774 resource <- private$REST$httpParser$parseJSONResponse(response)
2776 if(!is.null(resource$errors))
2777 stop(resource$errors)
2782 api_client_authorizations.create = function(apiclientauthorization,
2783 ensure_unique_name = "false")
2785 endPoint <- stringr::str_interp("api_client_authorizations")
2786 url <- paste0(private$host, endPoint)
2787 headers <- list(Authorization = paste("OAuth2", private$token),
2788 "Content-Type" = "application/json")
2789 queryArgs <- list(ensure_unique_name = ensure_unique_name)
2791 if(length(apiclientauthorization) > 0)
2792 body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization),
2797 response <- private$REST$http$exec("POST", url, headers, body,
2798 queryArgs, private$numRetries)
2799 resource <- private$REST$httpParser$parseJSONResponse(response)
2801 if(!is.null(resource$errors))
2802 stop(resource$errors)
2807 api_client_authorizations.update = function(apiclientauthorization, uuid)
2809 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2810 url <- paste0(private$host, endPoint)
2811 headers <- list(Authorization = paste("OAuth2", private$token),
2812 "Content-Type" = "application/json")
2815 if(length(apiclientauthorization) > 0)
2816 body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization),
2821 response <- private$REST$http$exec("PUT", url, headers, body,
2822 queryArgs, private$numRetries)
2823 resource <- private$REST$httpParser$parseJSONResponse(response)
2825 if(!is.null(resource$errors))
2826 stop(resource$errors)
2831 api_client_authorizations.delete = function(uuid)
2833 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2834 url <- paste0(private$host, endPoint)
2835 headers <- list(Authorization = paste("OAuth2", private$token),
2836 "Content-Type" = "application/json")
2841 response <- private$REST$http$exec("DELETE", url, headers, body,
2842 queryArgs, private$numRetries)
2843 resource <- private$REST$httpParser$parseJSONResponse(response)
2845 if(!is.null(resource$errors))
2846 stop(resource$errors)
2851 api_client_authorizations.create_system_auth = function(api_client_id = NULL, scopes = NULL)
2853 endPoint <- stringr::str_interp("api_client_authorizations/create_system_auth")
2854 url <- paste0(private$host, endPoint)
2855 headers <- list(Authorization = paste("OAuth2", private$token),
2856 "Content-Type" = "application/json")
2857 queryArgs <- list(api_client_id = api_client_id,
2862 response <- private$REST$http$exec("POST", url, headers, body,
2863 queryArgs, private$numRetries)
2864 resource <- private$REST$httpParser$parseJSONResponse(response)
2866 if(!is.null(resource$errors))
2867 stop(resource$errors)
2872 api_client_authorizations.current = function()
2874 endPoint <- stringr::str_interp("api_client_authorizations/current")
2875 url <- paste0(private$host, endPoint)
2876 headers <- list(Authorization = paste("OAuth2", private$token),
2877 "Content-Type" = "application/json")
2882 response <- private$REST$http$exec("GET", url, headers, body,
2883 queryArgs, private$numRetries)
2884 resource <- private$REST$httpParser$parseJSONResponse(response)
2886 if(!is.null(resource$errors))
2887 stop(resource$errors)
2892 api_client_authorizations.list = function(filters = NULL,
2893 where = NULL, order = NULL, select = NULL,
2894 distinct = NULL, limit = "100", offset = "0",
2897 endPoint <- stringr::str_interp("api_client_authorizations")
2898 url <- paste0(private$host, endPoint)
2899 headers <- list(Authorization = paste("OAuth2", private$token),
2900 "Content-Type" = "application/json")
2901 queryArgs <- list(filters = filters, where = where,
2902 order = order, select = select, distinct = distinct,
2903 limit = limit, offset = offset, count = count)
2907 response <- private$REST$http$exec("GET", url, headers, body,
2908 queryArgs, private$numRetries)
2909 resource <- private$REST$httpParser$parseJSONResponse(response)
2911 if(!is.null(resource$errors))
2912 stop(resource$errors)
2917 api_client_authorizations.show = function(uuid)
2919 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2920 url <- paste0(private$host, endPoint)
2921 headers <- list(Authorization = paste("OAuth2", private$token),
2922 "Content-Type" = "application/json")
2927 response <- private$REST$http$exec("GET", url, headers, body,
2928 queryArgs, private$numRetries)
2929 resource <- private$REST$httpParser$parseJSONResponse(response)
2931 if(!is.null(resource$errors))
2932 stop(resource$errors)
2937 api_client_authorizations.destroy = function(uuid)
2939 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2940 url <- paste0(private$host, endPoint)
2941 headers <- list(Authorization = paste("OAuth2", private$token),
2942 "Content-Type" = "application/json")
2947 response <- private$REST$http$exec("DELETE", url, headers, body,
2948 queryArgs, private$numRetries)
2949 resource <- private$REST$httpParser$parseJSONResponse(response)
2951 if(!is.null(resource$errors))
2952 stop(resource$errors)
2957 api_clients.get = function(uuid)
2959 endPoint <- stringr::str_interp("api_clients/${uuid}")
2960 url <- paste0(private$host, endPoint)
2961 headers <- list(Authorization = paste("OAuth2", private$token),
2962 "Content-Type" = "application/json")
2967 response <- private$REST$http$exec("GET", url, headers, body,
2968 queryArgs, private$numRetries)
2969 resource <- private$REST$httpParser$parseJSONResponse(response)
2971 if(!is.null(resource$errors))
2972 stop(resource$errors)
2977 api_clients.index = function(filters = NULL,
2978 where = NULL, order = NULL, select = NULL,
2979 distinct = NULL, limit = "100", offset = "0",
2982 endPoint <- stringr::str_interp("api_clients")
2983 url <- paste0(private$host, endPoint)
2984 headers <- list(Authorization = paste("OAuth2", private$token),
2985 "Content-Type" = "application/json")
2986 queryArgs <- list(filters = filters, where = where,
2987 order = order, select = select, distinct = distinct,
2988 limit = limit, offset = offset, count = count)
2992 response <- private$REST$http$exec("GET", url, headers, body,
2993 queryArgs, private$numRetries)
2994 resource <- private$REST$httpParser$parseJSONResponse(response)
2996 if(!is.null(resource$errors))
2997 stop(resource$errors)
3002 api_clients.create = function(apiclient, ensure_unique_name = "false")
3004 endPoint <- stringr::str_interp("api_clients")
3005 url <- paste0(private$host, endPoint)
3006 headers <- list(Authorization = paste("OAuth2", private$token),
3007 "Content-Type" = "application/json")
3008 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3010 if(length(apiclient) > 0)
3011 body <- jsonlite::toJSON(list(apiclient = apiclient),
3016 response <- private$REST$http$exec("POST", url, headers, body,
3017 queryArgs, private$numRetries)
3018 resource <- private$REST$httpParser$parseJSONResponse(response)
3020 if(!is.null(resource$errors))
3021 stop(resource$errors)
3026 api_clients.update = function(apiclient, uuid)
3028 endPoint <- stringr::str_interp("api_clients/${uuid}")
3029 url <- paste0(private$host, endPoint)
3030 headers <- list(Authorization = paste("OAuth2", private$token),
3031 "Content-Type" = "application/json")
3034 if(length(apiclient) > 0)
3035 body <- jsonlite::toJSON(list(apiclient = apiclient),
3040 response <- private$REST$http$exec("PUT", url, headers, body,
3041 queryArgs, private$numRetries)
3042 resource <- private$REST$httpParser$parseJSONResponse(response)
3044 if(!is.null(resource$errors))
3045 stop(resource$errors)
3050 api_clients.delete = function(uuid)
3052 endPoint <- stringr::str_interp("api_clients/${uuid}")
3053 url <- paste0(private$host, endPoint)
3054 headers <- list(Authorization = paste("OAuth2", private$token),
3055 "Content-Type" = "application/json")
3060 response <- private$REST$http$exec("DELETE", url, headers, body,
3061 queryArgs, private$numRetries)
3062 resource <- private$REST$httpParser$parseJSONResponse(response)
3064 if(!is.null(resource$errors))
3065 stop(resource$errors)
3070 api_clients.list = function(filters = NULL,
3071 where = NULL, order = NULL, select = NULL,
3072 distinct = NULL, limit = "100", offset = "0",
3075 endPoint <- stringr::str_interp("api_clients")
3076 url <- paste0(private$host, endPoint)
3077 headers <- list(Authorization = paste("OAuth2", private$token),
3078 "Content-Type" = "application/json")
3079 queryArgs <- list(filters = filters, where = where,
3080 order = order, select = select, distinct = distinct,
3081 limit = limit, offset = offset, count = count)
3085 response <- private$REST$http$exec("GET", url, headers, body,
3086 queryArgs, private$numRetries)
3087 resource <- private$REST$httpParser$parseJSONResponse(response)
3089 if(!is.null(resource$errors))
3090 stop(resource$errors)
3095 api_clients.show = function(uuid)
3097 endPoint <- stringr::str_interp("api_clients/${uuid}")
3098 url <- paste0(private$host, endPoint)
3099 headers <- list(Authorization = paste("OAuth2", private$token),
3100 "Content-Type" = "application/json")
3105 response <- private$REST$http$exec("GET", url, headers, body,
3106 queryArgs, private$numRetries)
3107 resource <- private$REST$httpParser$parseJSONResponse(response)
3109 if(!is.null(resource$errors))
3110 stop(resource$errors)
3115 api_clients.destroy = function(uuid)
3117 endPoint <- stringr::str_interp("api_clients/${uuid}")
3118 url <- paste0(private$host, endPoint)
3119 headers <- list(Authorization = paste("OAuth2", private$token),
3120 "Content-Type" = "application/json")
3125 response <- private$REST$http$exec("DELETE", url, headers, body,
3126 queryArgs, private$numRetries)
3127 resource <- private$REST$httpParser$parseJSONResponse(response)
3129 if(!is.null(resource$errors))
3130 stop(resource$errors)
3135 container_requests.get = function(uuid)
3137 endPoint <- stringr::str_interp("container_requests/${uuid}")
3138 url <- paste0(private$host, endPoint)
3139 headers <- list(Authorization = paste("OAuth2", private$token),
3140 "Content-Type" = "application/json")
3145 response <- private$REST$http$exec("GET", url, headers, body,
3146 queryArgs, private$numRetries)
3147 resource <- private$REST$httpParser$parseJSONResponse(response)
3149 if(!is.null(resource$errors))
3150 stop(resource$errors)
3155 container_requests.index = function(filters = NULL,
3156 where = NULL, order = NULL, select = NULL,
3157 distinct = NULL, limit = "100", offset = "0",
3160 endPoint <- stringr::str_interp("container_requests")
3161 url <- paste0(private$host, endPoint)
3162 headers <- list(Authorization = paste("OAuth2", private$token),
3163 "Content-Type" = "application/json")
3164 queryArgs <- list(filters = filters, where = where,
3165 order = order, select = select, distinct = distinct,
3166 limit = limit, offset = offset, count = count)
3170 response <- private$REST$http$exec("GET", url, headers, body,
3171 queryArgs, private$numRetries)
3172 resource <- private$REST$httpParser$parseJSONResponse(response)
3174 if(!is.null(resource$errors))
3175 stop(resource$errors)
3180 container_requests.create = function(containerrequest,
3181 ensure_unique_name = "false")
3183 endPoint <- stringr::str_interp("container_requests")
3184 url <- paste0(private$host, endPoint)
3185 headers <- list(Authorization = paste("OAuth2", private$token),
3186 "Content-Type" = "application/json")
3187 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3189 if(length(containerrequest) > 0)
3190 body <- jsonlite::toJSON(list(containerrequest = containerrequest),
3195 response <- private$REST$http$exec("POST", url, headers, body,
3196 queryArgs, private$numRetries)
3197 resource <- private$REST$httpParser$parseJSONResponse(response)
3199 if(!is.null(resource$errors))
3200 stop(resource$errors)
3205 container_requests.update = function(containerrequest, uuid)
3207 endPoint <- stringr::str_interp("container_requests/${uuid}")
3208 url <- paste0(private$host, endPoint)
3209 headers <- list(Authorization = paste("OAuth2", private$token),
3210 "Content-Type" = "application/json")
3213 if(length(containerrequest) > 0)
3214 body <- jsonlite::toJSON(list(containerrequest = containerrequest),
3219 response <- private$REST$http$exec("PUT", url, headers, body,
3220 queryArgs, private$numRetries)
3221 resource <- private$REST$httpParser$parseJSONResponse(response)
3223 if(!is.null(resource$errors))
3224 stop(resource$errors)
3229 container_requests.delete = function(uuid)
3231 endPoint <- stringr::str_interp("container_requests/${uuid}")
3232 url <- paste0(private$host, endPoint)
3233 headers <- list(Authorization = paste("OAuth2", private$token),
3234 "Content-Type" = "application/json")
3239 response <- private$REST$http$exec("DELETE", url, headers, body,
3240 queryArgs, private$numRetries)
3241 resource <- private$REST$httpParser$parseJSONResponse(response)
3243 if(!is.null(resource$errors))
3244 stop(resource$errors)
3249 container_requests.list = function(filters = NULL,
3250 where = NULL, order = NULL, select = NULL,
3251 distinct = NULL, limit = "100", offset = "0",
3254 endPoint <- stringr::str_interp("container_requests")
3255 url <- paste0(private$host, endPoint)
3256 headers <- list(Authorization = paste("OAuth2", private$token),
3257 "Content-Type" = "application/json")
3258 queryArgs <- list(filters = filters, where = where,
3259 order = order, select = select, distinct = distinct,
3260 limit = limit, offset = offset, count = count)
3264 response <- private$REST$http$exec("GET", url, headers, body,
3265 queryArgs, private$numRetries)
3266 resource <- private$REST$httpParser$parseJSONResponse(response)
3268 if(!is.null(resource$errors))
3269 stop(resource$errors)
3274 container_requests.show = function(uuid)
3276 endPoint <- stringr::str_interp("container_requests/${uuid}")
3277 url <- paste0(private$host, endPoint)
3278 headers <- list(Authorization = paste("OAuth2", private$token),
3279 "Content-Type" = "application/json")
3284 response <- private$REST$http$exec("GET", url, headers, body,
3285 queryArgs, private$numRetries)
3286 resource <- private$REST$httpParser$parseJSONResponse(response)
3288 if(!is.null(resource$errors))
3289 stop(resource$errors)
3294 container_requests.destroy = function(uuid)
3296 endPoint <- stringr::str_interp("container_requests/${uuid}")
3297 url <- paste0(private$host, endPoint)
3298 headers <- list(Authorization = paste("OAuth2", private$token),
3299 "Content-Type" = "application/json")
3304 response <- private$REST$http$exec("DELETE", url, headers, body,
3305 queryArgs, private$numRetries)
3306 resource <- private$REST$httpParser$parseJSONResponse(response)
3308 if(!is.null(resource$errors))
3309 stop(resource$errors)
3314 authorized_keys.get = function(uuid)
3316 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3317 url <- paste0(private$host, endPoint)
3318 headers <- list(Authorization = paste("OAuth2", private$token),
3319 "Content-Type" = "application/json")
3324 response <- private$REST$http$exec("GET", url, headers, body,
3325 queryArgs, private$numRetries)
3326 resource <- private$REST$httpParser$parseJSONResponse(response)
3328 if(!is.null(resource$errors))
3329 stop(resource$errors)
3334 authorized_keys.index = function(filters = NULL,
3335 where = NULL, order = NULL, select = NULL,
3336 distinct = NULL, limit = "100", offset = "0",
3339 endPoint <- stringr::str_interp("authorized_keys")
3340 url <- paste0(private$host, endPoint)
3341 headers <- list(Authorization = paste("OAuth2", private$token),
3342 "Content-Type" = "application/json")
3343 queryArgs <- list(filters = filters, where = where,
3344 order = order, select = select, distinct = distinct,
3345 limit = limit, offset = offset, count = count)
3349 response <- private$REST$http$exec("GET", url, headers, body,
3350 queryArgs, private$numRetries)
3351 resource <- private$REST$httpParser$parseJSONResponse(response)
3353 if(!is.null(resource$errors))
3354 stop(resource$errors)
3359 authorized_keys.create = function(authorizedkey,
3360 ensure_unique_name = "false")
3362 endPoint <- stringr::str_interp("authorized_keys")
3363 url <- paste0(private$host, endPoint)
3364 headers <- list(Authorization = paste("OAuth2", private$token),
3365 "Content-Type" = "application/json")
3366 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3368 if(length(authorizedkey) > 0)
3369 body <- jsonlite::toJSON(list(authorizedkey = authorizedkey),
3374 response <- private$REST$http$exec("POST", url, headers, body,
3375 queryArgs, private$numRetries)
3376 resource <- private$REST$httpParser$parseJSONResponse(response)
3378 if(!is.null(resource$errors))
3379 stop(resource$errors)
3384 authorized_keys.update = function(authorizedkey, uuid)
3386 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3387 url <- paste0(private$host, endPoint)
3388 headers <- list(Authorization = paste("OAuth2", private$token),
3389 "Content-Type" = "application/json")
3392 if(length(authorizedkey) > 0)
3393 body <- jsonlite::toJSON(list(authorizedkey = authorizedkey),
3398 response <- private$REST$http$exec("PUT", url, headers, body,
3399 queryArgs, private$numRetries)
3400 resource <- private$REST$httpParser$parseJSONResponse(response)
3402 if(!is.null(resource$errors))
3403 stop(resource$errors)
3408 authorized_keys.delete = function(uuid)
3410 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3411 url <- paste0(private$host, endPoint)
3412 headers <- list(Authorization = paste("OAuth2", private$token),
3413 "Content-Type" = "application/json")
3418 response <- private$REST$http$exec("DELETE", url, headers, body,
3419 queryArgs, private$numRetries)
3420 resource <- private$REST$httpParser$parseJSONResponse(response)
3422 if(!is.null(resource$errors))
3423 stop(resource$errors)
3428 authorized_keys.list = function(filters = NULL,
3429 where = NULL, order = NULL, select = NULL,
3430 distinct = NULL, limit = "100", offset = "0",
3433 endPoint <- stringr::str_interp("authorized_keys")
3434 url <- paste0(private$host, endPoint)
3435 headers <- list(Authorization = paste("OAuth2", private$token),
3436 "Content-Type" = "application/json")
3437 queryArgs <- list(filters = filters, where = where,
3438 order = order, select = select, distinct = distinct,
3439 limit = limit, offset = offset, count = count)
3443 response <- private$REST$http$exec("GET", url, headers, body,
3444 queryArgs, private$numRetries)
3445 resource <- private$REST$httpParser$parseJSONResponse(response)
3447 if(!is.null(resource$errors))
3448 stop(resource$errors)
3453 authorized_keys.show = function(uuid)
3455 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3456 url <- paste0(private$host, endPoint)
3457 headers <- list(Authorization = paste("OAuth2", private$token),
3458 "Content-Type" = "application/json")
3463 response <- private$REST$http$exec("GET", url, headers, body,
3464 queryArgs, private$numRetries)
3465 resource <- private$REST$httpParser$parseJSONResponse(response)
3467 if(!is.null(resource$errors))
3468 stop(resource$errors)
3473 authorized_keys.destroy = function(uuid)
3475 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3476 url <- paste0(private$host, endPoint)
3477 headers <- list(Authorization = paste("OAuth2", private$token),
3478 "Content-Type" = "application/json")
3483 response <- private$REST$http$exec("DELETE", url, headers, body,
3484 queryArgs, private$numRetries)
3485 resource <- private$REST$httpParser$parseJSONResponse(response)
3487 if(!is.null(resource$errors))
3488 stop(resource$errors)
3493 collections.get = function(uuid)
3495 endPoint <- stringr::str_interp("collections/${uuid}")
3496 url <- paste0(private$host, endPoint)
3497 headers <- list(Authorization = paste("OAuth2", private$token),
3498 "Content-Type" = "application/json")
3503 response <- private$REST$http$exec("GET", url, headers, body,
3504 queryArgs, private$numRetries)
3505 resource <- private$REST$httpParser$parseJSONResponse(response)
3507 if(!is.null(resource$errors))
3508 stop(resource$errors)
3513 collections.index = function(filters = NULL,
3514 where = NULL, order = NULL, select = NULL,
3515 distinct = NULL, limit = "100", offset = "0",
3516 count = "exact", include_trash = NULL)
3518 endPoint <- stringr::str_interp("collections")
3519 url <- paste0(private$host, endPoint)
3520 headers <- list(Authorization = paste("OAuth2", private$token),
3521 "Content-Type" = "application/json")
3522 queryArgs <- list(filters = filters, where = where,
3523 order = order, select = select, distinct = distinct,
3524 limit = limit, offset = offset, count = count,
3525 include_trash = include_trash)
3529 response <- private$REST$http$exec("GET", url, headers, body,
3530 queryArgs, private$numRetries)
3531 resource <- private$REST$httpParser$parseJSONResponse(response)
3533 if(!is.null(resource$errors))
3534 stop(resource$errors)
3539 collections.create = function(collection, ensure_unique_name = "false")
3541 endPoint <- stringr::str_interp("collections")
3542 url <- paste0(private$host, endPoint)
3543 headers <- list(Authorization = paste("OAuth2", private$token),
3544 "Content-Type" = "application/json")
3545 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3547 if(length(collection) > 0)
3548 body <- jsonlite::toJSON(list(collection = collection),
3553 response <- private$REST$http$exec("POST", url, headers, body,
3554 queryArgs, private$numRetries)
3555 resource <- private$REST$httpParser$parseJSONResponse(response)
3557 if(!is.null(resource$errors))
3558 stop(resource$errors)
3563 collections.update = function(collection, uuid)
3565 endPoint <- stringr::str_interp("collections/${uuid}")
3566 url <- paste0(private$host, endPoint)
3567 headers <- list(Authorization = paste("OAuth2", private$token),
3568 "Content-Type" = "application/json")
3571 if(length(collection) > 0)
3572 body <- jsonlite::toJSON(list(collection = collection),
3577 response <- private$REST$http$exec("PUT", url, headers, body,
3578 queryArgs, private$numRetries)
3579 resource <- private$REST$httpParser$parseJSONResponse(response)
3581 if(!is.null(resource$errors))
3582 stop(resource$errors)
3587 collections.delete = function(uuid)
3589 endPoint <- stringr::str_interp("collections/${uuid}")
3590 url <- paste0(private$host, endPoint)
3591 headers <- list(Authorization = paste("OAuth2", private$token),
3592 "Content-Type" = "application/json")
3597 response <- private$REST$http$exec("DELETE", url, headers, body,
3598 queryArgs, private$numRetries)
3599 resource <- private$REST$httpParser$parseJSONResponse(response)
3601 if(!is.null(resource$errors))
3602 stop(resource$errors)
3607 collections.provenance = function(uuid)
3609 endPoint <- stringr::str_interp("collections/${uuid}/provenance")
3610 url <- paste0(private$host, endPoint)
3611 headers <- list(Authorization = paste("OAuth2", private$token),
3612 "Content-Type" = "application/json")
3617 response <- private$REST$http$exec("GET", url, headers, body,
3618 queryArgs, private$numRetries)
3619 resource <- private$REST$httpParser$parseJSONResponse(response)
3621 if(!is.null(resource$errors))
3622 stop(resource$errors)
3627 collections.used_by = function(uuid)
3629 endPoint <- stringr::str_interp("collections/${uuid}/used_by")
3630 url <- paste0(private$host, endPoint)
3631 headers <- list(Authorization = paste("OAuth2", private$token),
3632 "Content-Type" = "application/json")
3637 response <- private$REST$http$exec("GET", url, headers, body,
3638 queryArgs, private$numRetries)
3639 resource <- private$REST$httpParser$parseJSONResponse(response)
3641 if(!is.null(resource$errors))
3642 stop(resource$errors)
3647 collections.trash = function(uuid)
3649 endPoint <- stringr::str_interp("collections/${uuid}/trash")
3650 url <- paste0(private$host, endPoint)
3651 headers <- list(Authorization = paste("OAuth2", private$token),
3652 "Content-Type" = "application/json")
3657 response <- private$REST$http$exec("POST", url, headers, body,
3658 queryArgs, private$numRetries)
3659 resource <- private$REST$httpParser$parseJSONResponse(response)
3661 if(!is.null(resource$errors))
3662 stop(resource$errors)
3667 collections.untrash = function(uuid)
3669 endPoint <- stringr::str_interp("collections/${uuid}/untrash")
3670 url <- paste0(private$host, endPoint)
3671 headers <- list(Authorization = paste("OAuth2", private$token),
3672 "Content-Type" = "application/json")
3677 response <- private$REST$http$exec("POST", url, headers, body,
3678 queryArgs, private$numRetries)
3679 resource <- private$REST$httpParser$parseJSONResponse(response)
3681 if(!is.null(resource$errors))
3682 stop(resource$errors)
3687 collections.list = function(filters = NULL,
3688 where = NULL, order = NULL, select = NULL,
3689 distinct = NULL, limit = "100", offset = "0",
3690 count = "exact", include_trash = NULL)
3692 endPoint <- stringr::str_interp("collections")
3693 url <- paste0(private$host, endPoint)
3694 headers <- list(Authorization = paste("OAuth2", private$token),
3695 "Content-Type" = "application/json")
3696 queryArgs <- list(filters = filters, where = where,
3697 order = order, select = select, distinct = distinct,
3698 limit = limit, offset = offset, count = count,
3699 include_trash = include_trash)
3703 response <- private$REST$http$exec("GET", url, headers, body,
3704 queryArgs, private$numRetries)
3705 resource <- private$REST$httpParser$parseJSONResponse(response)
3707 if(!is.null(resource$errors))
3708 stop(resource$errors)
3713 collections.show = function(uuid)
3715 endPoint <- stringr::str_interp("collections/${uuid}")
3716 url <- paste0(private$host, endPoint)
3717 headers <- list(Authorization = paste("OAuth2", private$token),
3718 "Content-Type" = "application/json")
3723 response <- private$REST$http$exec("GET", url, headers, body,
3724 queryArgs, private$numRetries)
3725 resource <- private$REST$httpParser$parseJSONResponse(response)
3727 if(!is.null(resource$errors))
3728 stop(resource$errors)
3733 collections.destroy = function(uuid)
3735 endPoint <- stringr::str_interp("collections/${uuid}")
3736 url <- paste0(private$host, endPoint)
3737 headers <- list(Authorization = paste("OAuth2", private$token),
3738 "Content-Type" = "application/json")
3743 response <- private$REST$http$exec("DELETE", url, headers, body,
3744 queryArgs, private$numRetries)
3745 resource <- private$REST$httpParser$parseJSONResponse(response)
3747 if(!is.null(resource$errors))
3748 stop(resource$errors)
3753 containers.get = function(uuid)
3755 endPoint <- stringr::str_interp("containers/${uuid}")
3756 url <- paste0(private$host, endPoint)
3757 headers <- list(Authorization = paste("OAuth2", private$token),
3758 "Content-Type" = "application/json")
3763 response <- private$REST$http$exec("GET", url, headers, body,
3764 queryArgs, private$numRetries)
3765 resource <- private$REST$httpParser$parseJSONResponse(response)
3767 if(!is.null(resource$errors))
3768 stop(resource$errors)
3773 containers.index = function(filters = NULL,
3774 where = NULL, order = NULL, select = NULL,
3775 distinct = NULL, limit = "100", offset = "0",
3778 endPoint <- stringr::str_interp("containers")
3779 url <- paste0(private$host, endPoint)
3780 headers <- list(Authorization = paste("OAuth2", private$token),
3781 "Content-Type" = "application/json")
3782 queryArgs <- list(filters = filters, where = where,
3783 order = order, select = select, distinct = distinct,
3784 limit = limit, offset = offset, count = count)
3788 response <- private$REST$http$exec("GET", url, headers, body,
3789 queryArgs, private$numRetries)
3790 resource <- private$REST$httpParser$parseJSONResponse(response)
3792 if(!is.null(resource$errors))
3793 stop(resource$errors)
3798 containers.create = function(container, ensure_unique_name = "false")
3800 endPoint <- stringr::str_interp("containers")
3801 url <- paste0(private$host, endPoint)
3802 headers <- list(Authorization = paste("OAuth2", private$token),
3803 "Content-Type" = "application/json")
3804 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3806 if(length(container) > 0)
3807 body <- jsonlite::toJSON(list(container = container),
3812 response <- private$REST$http$exec("POST", url, headers, body,
3813 queryArgs, private$numRetries)
3814 resource <- private$REST$httpParser$parseJSONResponse(response)
3816 if(!is.null(resource$errors))
3817 stop(resource$errors)
3822 containers.update = function(container, uuid)
3824 endPoint <- stringr::str_interp("containers/${uuid}")
3825 url <- paste0(private$host, endPoint)
3826 headers <- list(Authorization = paste("OAuth2", private$token),
3827 "Content-Type" = "application/json")
3830 if(length(container) > 0)
3831 body <- jsonlite::toJSON(list(container = container),
3836 response <- private$REST$http$exec("PUT", url, headers, body,
3837 queryArgs, private$numRetries)
3838 resource <- private$REST$httpParser$parseJSONResponse(response)
3840 if(!is.null(resource$errors))
3841 stop(resource$errors)
3846 containers.delete = function(uuid)
3848 endPoint <- stringr::str_interp("containers/${uuid}")
3849 url <- paste0(private$host, endPoint)
3850 headers <- list(Authorization = paste("OAuth2", private$token),
3851 "Content-Type" = "application/json")
3856 response <- private$REST$http$exec("DELETE", url, headers, body,
3857 queryArgs, private$numRetries)
3858 resource <- private$REST$httpParser$parseJSONResponse(response)
3860 if(!is.null(resource$errors))
3861 stop(resource$errors)
3866 containers.auth = function(uuid)
3868 endPoint <- stringr::str_interp("containers/${uuid}/auth")
3869 url <- paste0(private$host, endPoint)
3870 headers <- list(Authorization = paste("OAuth2", private$token),
3871 "Content-Type" = "application/json")
3876 response <- private$REST$http$exec("GET", url, headers, body,
3877 queryArgs, private$numRetries)
3878 resource <- private$REST$httpParser$parseJSONResponse(response)
3880 if(!is.null(resource$errors))
3881 stop(resource$errors)
3886 containers.lock = function(uuid)
3888 endPoint <- stringr::str_interp("containers/${uuid}/lock")
3889 url <- paste0(private$host, endPoint)
3890 headers <- list(Authorization = paste("OAuth2", private$token),
3891 "Content-Type" = "application/json")
3896 response <- private$REST$http$exec("POST", url, headers, body,
3897 queryArgs, private$numRetries)
3898 resource <- private$REST$httpParser$parseJSONResponse(response)
3900 if(!is.null(resource$errors))
3901 stop(resource$errors)
3906 containers.unlock = function(uuid)
3908 endPoint <- stringr::str_interp("containers/${uuid}/unlock")
3909 url <- paste0(private$host, endPoint)
3910 headers <- list(Authorization = paste("OAuth2", private$token),
3911 "Content-Type" = "application/json")
3916 response <- private$REST$http$exec("POST", url, headers, body,
3917 queryArgs, private$numRetries)
3918 resource <- private$REST$httpParser$parseJSONResponse(response)
3920 if(!is.null(resource$errors))
3921 stop(resource$errors)
3926 containers.current = function()
3928 endPoint <- stringr::str_interp("containers/current")
3929 url <- paste0(private$host, endPoint)
3930 headers <- list(Authorization = paste("OAuth2", private$token),
3931 "Content-Type" = "application/json")
3936 response <- private$REST$http$exec("GET", url, headers, body,
3937 queryArgs, private$numRetries)
3938 resource <- private$REST$httpParser$parseJSONResponse(response)
3940 if(!is.null(resource$errors))
3941 stop(resource$errors)
3946 containers.list = function(filters = NULL,
3947 where = NULL, order = NULL, select = NULL,
3948 distinct = NULL, limit = "100", offset = "0",
3951 endPoint <- stringr::str_interp("containers")
3952 url <- paste0(private$host, endPoint)
3953 headers <- list(Authorization = paste("OAuth2", private$token),
3954 "Content-Type" = "application/json")
3955 queryArgs <- list(filters = filters, where = where,
3956 order = order, select = select, distinct = distinct,
3957 limit = limit, offset = offset, count = count)
3961 response <- private$REST$http$exec("GET", url, headers, body,
3962 queryArgs, private$numRetries)
3963 resource <- private$REST$httpParser$parseJSONResponse(response)
3965 if(!is.null(resource$errors))
3966 stop(resource$errors)
3971 containers.show = function(uuid)
3973 endPoint <- stringr::str_interp("containers/${uuid}")
3974 url <- paste0(private$host, endPoint)
3975 headers <- list(Authorization = paste("OAuth2", private$token),
3976 "Content-Type" = "application/json")
3981 response <- private$REST$http$exec("GET", url, headers, body,
3982 queryArgs, private$numRetries)
3983 resource <- private$REST$httpParser$parseJSONResponse(response)
3985 if(!is.null(resource$errors))
3986 stop(resource$errors)
3991 containers.destroy = function(uuid)
3993 endPoint <- stringr::str_interp("containers/${uuid}")
3994 url <- paste0(private$host, endPoint)
3995 headers <- list(Authorization = paste("OAuth2", private$token),
3996 "Content-Type" = "application/json")
4001 response <- private$REST$http$exec("DELETE", url, headers, body,
4002 queryArgs, private$numRetries)
4003 resource <- private$REST$httpParser$parseJSONResponse(response)
4005 if(!is.null(resource$errors))
4006 stop(resource$errors)
4011 humans.get = function(uuid)
4013 endPoint <- stringr::str_interp("humans/${uuid}")
4014 url <- paste0(private$host, endPoint)
4015 headers <- list(Authorization = paste("OAuth2", private$token),
4016 "Content-Type" = "application/json")
4021 response <- private$REST$http$exec("GET", url, headers, body,
4022 queryArgs, private$numRetries)
4023 resource <- private$REST$httpParser$parseJSONResponse(response)
4025 if(!is.null(resource$errors))
4026 stop(resource$errors)
4031 humans.index = function(filters = NULL, where = NULL,
4032 order = NULL, select = NULL, distinct = NULL,
4033 limit = "100", offset = "0", count = "exact")
4035 endPoint <- stringr::str_interp("humans")
4036 url <- paste0(private$host, endPoint)
4037 headers <- list(Authorization = paste("OAuth2", private$token),
4038 "Content-Type" = "application/json")
4039 queryArgs <- list(filters = filters, where = where,
4040 order = order, select = select, distinct = distinct,
4041 limit = limit, offset = offset, count = count)
4045 response <- private$REST$http$exec("GET", url, headers, body,
4046 queryArgs, private$numRetries)
4047 resource <- private$REST$httpParser$parseJSONResponse(response)
4049 if(!is.null(resource$errors))
4050 stop(resource$errors)
4055 humans.create = function(human, ensure_unique_name = "false")
4057 endPoint <- stringr::str_interp("humans")
4058 url <- paste0(private$host, endPoint)
4059 headers <- list(Authorization = paste("OAuth2", private$token),
4060 "Content-Type" = "application/json")
4061 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4063 if(length(human) > 0)
4064 body <- jsonlite::toJSON(list(human = human),
4069 response <- private$REST$http$exec("POST", url, headers, body,
4070 queryArgs, private$numRetries)
4071 resource <- private$REST$httpParser$parseJSONResponse(response)
4073 if(!is.null(resource$errors))
4074 stop(resource$errors)
4079 humans.update = function(human, uuid)
4081 endPoint <- stringr::str_interp("humans/${uuid}")
4082 url <- paste0(private$host, endPoint)
4083 headers <- list(Authorization = paste("OAuth2", private$token),
4084 "Content-Type" = "application/json")
4087 if(length(human) > 0)
4088 body <- jsonlite::toJSON(list(human = human),
4093 response <- private$REST$http$exec("PUT", url, headers, body,
4094 queryArgs, private$numRetries)
4095 resource <- private$REST$httpParser$parseJSONResponse(response)
4097 if(!is.null(resource$errors))
4098 stop(resource$errors)
4103 humans.delete = function(uuid)
4105 endPoint <- stringr::str_interp("humans/${uuid}")
4106 url <- paste0(private$host, endPoint)
4107 headers <- list(Authorization = paste("OAuth2", private$token),
4108 "Content-Type" = "application/json")
4113 response <- private$REST$http$exec("DELETE", url, headers, body,
4114 queryArgs, private$numRetries)
4115 resource <- private$REST$httpParser$parseJSONResponse(response)
4117 if(!is.null(resource$errors))
4118 stop(resource$errors)
4123 humans.list = function(filters = NULL, where = NULL,
4124 order = NULL, select = NULL, distinct = NULL,
4125 limit = "100", offset = "0", count = "exact")
4127 endPoint <- stringr::str_interp("humans")
4128 url <- paste0(private$host, endPoint)
4129 headers <- list(Authorization = paste("OAuth2", private$token),
4130 "Content-Type" = "application/json")
4131 queryArgs <- list(filters = filters, where = where,
4132 order = order, select = select, distinct = distinct,
4133 limit = limit, offset = offset, count = count)
4137 response <- private$REST$http$exec("GET", url, headers, body,
4138 queryArgs, private$numRetries)
4139 resource <- private$REST$httpParser$parseJSONResponse(response)
4141 if(!is.null(resource$errors))
4142 stop(resource$errors)
4147 humans.show = function(uuid)
4149 endPoint <- stringr::str_interp("humans/${uuid}")
4150 url <- paste0(private$host, endPoint)
4151 headers <- list(Authorization = paste("OAuth2", private$token),
4152 "Content-Type" = "application/json")
4157 response <- private$REST$http$exec("GET", url, headers, body,
4158 queryArgs, private$numRetries)
4159 resource <- private$REST$httpParser$parseJSONResponse(response)
4161 if(!is.null(resource$errors))
4162 stop(resource$errors)
4167 humans.destroy = function(uuid)
4169 endPoint <- stringr::str_interp("humans/${uuid}")
4170 url <- paste0(private$host, endPoint)
4171 headers <- list(Authorization = paste("OAuth2", private$token),
4172 "Content-Type" = "application/json")
4177 response <- private$REST$http$exec("DELETE", url, headers, body,
4178 queryArgs, private$numRetries)
4179 resource <- private$REST$httpParser$parseJSONResponse(response)
4181 if(!is.null(resource$errors))
4182 stop(resource$errors)
4187 job_tasks.get = function(uuid)
4189 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4190 url <- paste0(private$host, endPoint)
4191 headers <- list(Authorization = paste("OAuth2", private$token),
4192 "Content-Type" = "application/json")
4197 response <- private$REST$http$exec("GET", url, headers, body,
4198 queryArgs, private$numRetries)
4199 resource <- private$REST$httpParser$parseJSONResponse(response)
4201 if(!is.null(resource$errors))
4202 stop(resource$errors)
4207 job_tasks.index = function(filters = NULL,
4208 where = NULL, order = NULL, select = NULL,
4209 distinct = NULL, limit = "100", offset = "0",
4212 endPoint <- stringr::str_interp("job_tasks")
4213 url <- paste0(private$host, endPoint)
4214 headers <- list(Authorization = paste("OAuth2", private$token),
4215 "Content-Type" = "application/json")
4216 queryArgs <- list(filters = filters, where = where,
4217 order = order, select = select, distinct = distinct,
4218 limit = limit, offset = offset, count = count)
4222 response <- private$REST$http$exec("GET", url, headers, body,
4223 queryArgs, private$numRetries)
4224 resource <- private$REST$httpParser$parseJSONResponse(response)
4226 if(!is.null(resource$errors))
4227 stop(resource$errors)
4232 job_tasks.create = function(jobtask, ensure_unique_name = "false")
4234 endPoint <- stringr::str_interp("job_tasks")
4235 url <- paste0(private$host, endPoint)
4236 headers <- list(Authorization = paste("OAuth2", private$token),
4237 "Content-Type" = "application/json")
4238 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4240 if(length(jobtask) > 0)
4241 body <- jsonlite::toJSON(list(jobtask = jobtask),
4246 response <- private$REST$http$exec("POST", 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 job_tasks.update = function(jobtask, uuid)
4258 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4259 url <- paste0(private$host, endPoint)
4260 headers <- list(Authorization = paste("OAuth2", private$token),
4261 "Content-Type" = "application/json")
4264 if(length(jobtask) > 0)
4265 body <- jsonlite::toJSON(list(jobtask = jobtask),
4270 response <- private$REST$http$exec("PUT", url, headers, body,
4271 queryArgs, private$numRetries)
4272 resource <- private$REST$httpParser$parseJSONResponse(response)
4274 if(!is.null(resource$errors))
4275 stop(resource$errors)
4280 job_tasks.delete = function(uuid)
4282 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4283 url <- paste0(private$host, endPoint)
4284 headers <- list(Authorization = paste("OAuth2", private$token),
4285 "Content-Type" = "application/json")
4290 response <- private$REST$http$exec("DELETE", url, headers, body,
4291 queryArgs, private$numRetries)
4292 resource <- private$REST$httpParser$parseJSONResponse(response)
4294 if(!is.null(resource$errors))
4295 stop(resource$errors)
4300 job_tasks.list = function(filters = NULL,
4301 where = NULL, order = NULL, select = NULL,
4302 distinct = NULL, limit = "100", offset = "0",
4305 endPoint <- stringr::str_interp("job_tasks")
4306 url <- paste0(private$host, endPoint)
4307 headers <- list(Authorization = paste("OAuth2", private$token),
4308 "Content-Type" = "application/json")
4309 queryArgs <- list(filters = filters, where = where,
4310 order = order, select = select, distinct = distinct,
4311 limit = limit, offset = offset, count = count)
4315 response <- private$REST$http$exec("GET", 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 job_tasks.show = function(uuid)
4327 endPoint <- stringr::str_interp("job_tasks/${uuid}")
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 job_tasks.destroy = function(uuid)
4347 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4348 url <- paste0(private$host, endPoint)
4349 headers <- list(Authorization = paste("OAuth2", private$token),
4350 "Content-Type" = "application/json")
4355 response <- private$REST$http$exec("DELETE", url, headers, body,
4356 queryArgs, private$numRetries)
4357 resource <- private$REST$httpParser$parseJSONResponse(response)
4359 if(!is.null(resource$errors))
4360 stop(resource$errors)
4365 links.get = function(uuid)
4367 endPoint <- stringr::str_interp("links/${uuid}")
4368 url <- paste0(private$host, endPoint)
4369 headers <- list(Authorization = paste("OAuth2", private$token),
4370 "Content-Type" = "application/json")
4375 response <- private$REST$http$exec("GET", url, headers, body,
4376 queryArgs, private$numRetries)
4377 resource <- private$REST$httpParser$parseJSONResponse(response)
4379 if(!is.null(resource$errors))
4380 stop(resource$errors)
4385 links.index = function(filters = NULL, where = NULL,
4386 order = NULL, select = NULL, distinct = NULL,
4387 limit = "100", offset = "0", count = "exact")
4389 endPoint <- stringr::str_interp("links")
4390 url <- paste0(private$host, endPoint)
4391 headers <- list(Authorization = paste("OAuth2", private$token),
4392 "Content-Type" = "application/json")
4393 queryArgs <- list(filters = filters, where = where,
4394 order = order, select = select, distinct = distinct,
4395 limit = limit, offset = offset, count = count)
4399 response <- private$REST$http$exec("GET", url, headers, body,
4400 queryArgs, private$numRetries)
4401 resource <- private$REST$httpParser$parseJSONResponse(response)
4403 if(!is.null(resource$errors))
4404 stop(resource$errors)
4409 links.create = function(link, ensure_unique_name = "false")
4411 endPoint <- stringr::str_interp("links")
4412 url <- paste0(private$host, endPoint)
4413 headers <- list(Authorization = paste("OAuth2", private$token),
4414 "Content-Type" = "application/json")
4415 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4417 if(length(link) > 0)
4418 body <- jsonlite::toJSON(list(link = link),
4423 response <- private$REST$http$exec("POST", url, headers, body,
4424 queryArgs, private$numRetries)
4425 resource <- private$REST$httpParser$parseJSONResponse(response)
4427 if(!is.null(resource$errors))
4428 stop(resource$errors)
4433 links.update = function(link, uuid)
4435 endPoint <- stringr::str_interp("links/${uuid}")
4436 url <- paste0(private$host, endPoint)
4437 headers <- list(Authorization = paste("OAuth2", private$token),
4438 "Content-Type" = "application/json")
4441 if(length(link) > 0)
4442 body <- jsonlite::toJSON(list(link = link),
4447 response <- private$REST$http$exec("PUT", url, headers, body,
4448 queryArgs, private$numRetries)
4449 resource <- private$REST$httpParser$parseJSONResponse(response)
4451 if(!is.null(resource$errors))
4452 stop(resource$errors)
4457 links.delete = function(uuid)
4459 endPoint <- stringr::str_interp("links/${uuid}")
4460 url <- paste0(private$host, endPoint)
4461 headers <- list(Authorization = paste("OAuth2", private$token),
4462 "Content-Type" = "application/json")
4467 response <- private$REST$http$exec("DELETE", url, headers, body,
4468 queryArgs, private$numRetries)
4469 resource <- private$REST$httpParser$parseJSONResponse(response)
4471 if(!is.null(resource$errors))
4472 stop(resource$errors)
4477 links.list = function(filters = NULL, where = NULL,
4478 order = NULL, select = NULL, distinct = NULL,
4479 limit = "100", offset = "0", count = "exact")
4481 endPoint <- stringr::str_interp("links")
4482 url <- paste0(private$host, endPoint)
4483 headers <- list(Authorization = paste("OAuth2", private$token),
4484 "Content-Type" = "application/json")
4485 queryArgs <- list(filters = filters, where = where,
4486 order = order, select = select, distinct = distinct,
4487 limit = limit, offset = offset, count = count)
4491 response <- private$REST$http$exec("GET", url, headers, body,
4492 queryArgs, private$numRetries)
4493 resource <- private$REST$httpParser$parseJSONResponse(response)
4495 if(!is.null(resource$errors))
4496 stop(resource$errors)
4501 links.show = function(uuid)
4503 endPoint <- stringr::str_interp("links/${uuid}")
4504 url <- paste0(private$host, endPoint)
4505 headers <- list(Authorization = paste("OAuth2", private$token),
4506 "Content-Type" = "application/json")
4511 response <- private$REST$http$exec("GET", url, headers, body,
4512 queryArgs, private$numRetries)
4513 resource <- private$REST$httpParser$parseJSONResponse(response)
4515 if(!is.null(resource$errors))
4516 stop(resource$errors)
4521 links.destroy = function(uuid)
4523 endPoint <- stringr::str_interp("links/${uuid}")
4524 url <- paste0(private$host, endPoint)
4525 headers <- list(Authorization = paste("OAuth2", private$token),
4526 "Content-Type" = "application/json")
4531 response <- private$REST$http$exec("DELETE", url, headers, body,
4532 queryArgs, private$numRetries)
4533 resource <- private$REST$httpParser$parseJSONResponse(response)
4535 if(!is.null(resource$errors))
4536 stop(resource$errors)
4541 links.get_permissions = function(uuid)
4543 endPoint <- stringr::str_interp("permissions/${uuid}")
4544 url <- paste0(private$host, endPoint)
4545 headers <- list(Authorization = paste("OAuth2", private$token),
4546 "Content-Type" = "application/json")
4551 response <- private$REST$http$exec("GET", url, headers, body,
4552 queryArgs, private$numRetries)
4553 resource <- private$REST$httpParser$parseJSONResponse(response)
4555 if(!is.null(resource$errors))
4556 stop(resource$errors)
4561 jobs.get = function(uuid)
4563 endPoint <- stringr::str_interp("jobs/${uuid}")
4564 url <- paste0(private$host, endPoint)
4565 headers <- list(Authorization = paste("OAuth2", private$token),
4566 "Content-Type" = "application/json")
4571 response <- private$REST$http$exec("GET", url, headers, body,
4572 queryArgs, private$numRetries)
4573 resource <- private$REST$httpParser$parseJSONResponse(response)
4575 if(!is.null(resource$errors))
4576 stop(resource$errors)
4581 jobs.index = function(filters = NULL, where = NULL,
4582 order = NULL, select = NULL, distinct = NULL,
4583 limit = "100", offset = "0", count = "exact")
4585 endPoint <- stringr::str_interp("jobs")
4586 url <- paste0(private$host, endPoint)
4587 headers <- list(Authorization = paste("OAuth2", private$token),
4588 "Content-Type" = "application/json")
4589 queryArgs <- list(filters = filters, where = where,
4590 order = order, select = select, distinct = distinct,
4591 limit = limit, offset = offset, count = count)
4595 response <- private$REST$http$exec("GET", url, headers, body,
4596 queryArgs, private$numRetries)
4597 resource <- private$REST$httpParser$parseJSONResponse(response)
4599 if(!is.null(resource$errors))
4600 stop(resource$errors)
4605 jobs.create = function(job, ensure_unique_name = "false",
4606 find_or_create = "false", filters = NULL,
4607 minimum_script_version = NULL, exclude_script_versions = NULL)
4609 endPoint <- stringr::str_interp("jobs")
4610 url <- paste0(private$host, endPoint)
4611 headers <- list(Authorization = paste("OAuth2", private$token),
4612 "Content-Type" = "application/json")
4613 queryArgs <- list(ensure_unique_name = ensure_unique_name,
4614 find_or_create = find_or_create, filters = filters,
4615 minimum_script_version = minimum_script_version,
4616 exclude_script_versions = exclude_script_versions)
4619 body <- jsonlite::toJSON(list(job = job),
4624 response <- private$REST$http$exec("POST", url, headers, body,
4625 queryArgs, private$numRetries)
4626 resource <- private$REST$httpParser$parseJSONResponse(response)
4628 if(!is.null(resource$errors))
4629 stop(resource$errors)
4634 jobs.update = function(job, uuid)
4636 endPoint <- stringr::str_interp("jobs/${uuid}")
4637 url <- paste0(private$host, endPoint)
4638 headers <- list(Authorization = paste("OAuth2", private$token),
4639 "Content-Type" = "application/json")
4643 body <- jsonlite::toJSON(list(job = job),
4648 response <- private$REST$http$exec("PUT", url, headers, body,
4649 queryArgs, private$numRetries)
4650 resource <- private$REST$httpParser$parseJSONResponse(response)
4652 if(!is.null(resource$errors))
4653 stop(resource$errors)
4658 jobs.delete = function(uuid)
4660 endPoint <- stringr::str_interp("jobs/${uuid}")
4661 url <- paste0(private$host, endPoint)
4662 headers <- list(Authorization = paste("OAuth2", private$token),
4663 "Content-Type" = "application/json")
4668 response <- private$REST$http$exec("DELETE", url, headers, body,
4669 queryArgs, private$numRetries)
4670 resource <- private$REST$httpParser$parseJSONResponse(response)
4672 if(!is.null(resource$errors))
4673 stop(resource$errors)
4678 jobs.queue = function(filters = NULL, where = NULL,
4679 order = NULL, select = NULL, distinct = NULL,
4680 limit = "100", offset = "0", count = "exact")
4682 endPoint <- stringr::str_interp("jobs/queue")
4683 url <- paste0(private$host, endPoint)
4684 headers <- list(Authorization = paste("OAuth2", private$token),
4685 "Content-Type" = "application/json")
4686 queryArgs <- list(filters = filters, where = where,
4687 order = order, select = select, distinct = distinct,
4688 limit = limit, offset = offset, count = count)
4692 response <- private$REST$http$exec("GET", url, headers, body,
4693 queryArgs, private$numRetries)
4694 resource <- private$REST$httpParser$parseJSONResponse(response)
4696 if(!is.null(resource$errors))
4697 stop(resource$errors)
4702 jobs.queue_size = function()
4704 endPoint <- stringr::str_interp("jobs/queue_size")
4705 url <- paste0(private$host, endPoint)
4706 headers <- list(Authorization = paste("OAuth2", private$token),
4707 "Content-Type" = "application/json")
4712 response <- private$REST$http$exec("GET", url, headers, body,
4713 queryArgs, private$numRetries)
4714 resource <- private$REST$httpParser$parseJSONResponse(response)
4716 if(!is.null(resource$errors))
4717 stop(resource$errors)
4722 jobs.cancel = function(uuid)
4724 endPoint <- stringr::str_interp("jobs/${uuid}/cancel")
4725 url <- paste0(private$host, endPoint)
4726 headers <- list(Authorization = paste("OAuth2", private$token),
4727 "Content-Type" = "application/json")
4732 response <- private$REST$http$exec("POST", url, headers, body,
4733 queryArgs, private$numRetries)
4734 resource <- private$REST$httpParser$parseJSONResponse(response)
4736 if(!is.null(resource$errors))
4737 stop(resource$errors)
4742 jobs.lock = function(uuid)
4744 endPoint <- stringr::str_interp("jobs/${uuid}/lock")
4745 url <- paste0(private$host, endPoint)
4746 headers <- list(Authorization = paste("OAuth2", private$token),
4747 "Content-Type" = "application/json")
4752 response <- private$REST$http$exec("POST", url, headers, body,
4753 queryArgs, private$numRetries)
4754 resource <- private$REST$httpParser$parseJSONResponse(response)
4756 if(!is.null(resource$errors))
4757 stop(resource$errors)
4762 jobs.list = function(filters = NULL, where = NULL,
4763 order = NULL, select = NULL, distinct = NULL,
4764 limit = "100", offset = "0", count = "exact")
4766 endPoint <- stringr::str_interp("jobs")
4767 url <- paste0(private$host, endPoint)
4768 headers <- list(Authorization = paste("OAuth2", private$token),
4769 "Content-Type" = "application/json")
4770 queryArgs <- list(filters = filters, where = where,
4771 order = order, select = select, distinct = distinct,
4772 limit = limit, offset = offset, count = count)
4776 response <- private$REST$http$exec("GET", url, headers, body,
4777 queryArgs, private$numRetries)
4778 resource <- private$REST$httpParser$parseJSONResponse(response)
4780 if(!is.null(resource$errors))
4781 stop(resource$errors)
4786 jobs.show = function(uuid)
4788 endPoint <- stringr::str_interp("jobs/${uuid}")
4789 url <- paste0(private$host, endPoint)
4790 headers <- list(Authorization = paste("OAuth2", private$token),
4791 "Content-Type" = "application/json")
4796 response <- private$REST$http$exec("GET", url, headers, body,
4797 queryArgs, private$numRetries)
4798 resource <- private$REST$httpParser$parseJSONResponse(response)
4800 if(!is.null(resource$errors))
4801 stop(resource$errors)
4806 jobs.destroy = function(uuid)
4808 endPoint <- stringr::str_interp("jobs/${uuid}")
4809 url <- paste0(private$host, endPoint)
4810 headers <- list(Authorization = paste("OAuth2", private$token),
4811 "Content-Type" = "application/json")
4816 response <- private$REST$http$exec("DELETE", url, headers, body,
4817 queryArgs, private$numRetries)
4818 resource <- private$REST$httpParser$parseJSONResponse(response)
4820 if(!is.null(resource$errors))
4821 stop(resource$errors)
4826 keep_disks.get = function(uuid)
4828 endPoint <- stringr::str_interp("keep_disks/${uuid}")
4829 url <- paste0(private$host, endPoint)
4830 headers <- list(Authorization = paste("OAuth2", private$token),
4831 "Content-Type" = "application/json")
4836 response <- private$REST$http$exec("GET", url, headers, body,
4837 queryArgs, private$numRetries)
4838 resource <- private$REST$httpParser$parseJSONResponse(response)
4840 if(!is.null(resource$errors))
4841 stop(resource$errors)
4846 keep_disks.index = function(filters = NULL,
4847 where = NULL, order = NULL, select = NULL,
4848 distinct = NULL, limit = "100", offset = "0",
4851 endPoint <- stringr::str_interp("keep_disks")
4852 url <- paste0(private$host, endPoint)
4853 headers <- list(Authorization = paste("OAuth2", private$token),
4854 "Content-Type" = "application/json")
4855 queryArgs <- list(filters = filters, where = where,
4856 order = order, select = select, distinct = distinct,
4857 limit = limit, offset = offset, count = count)
4861 response <- private$REST$http$exec("GET", url, headers, body,
4862 queryArgs, private$numRetries)
4863 resource <- private$REST$httpParser$parseJSONResponse(response)
4865 if(!is.null(resource$errors))
4866 stop(resource$errors)
4871 keep_disks.create = function(keepdisk, ensure_unique_name = "false")
4873 endPoint <- stringr::str_interp("keep_disks")
4874 url <- paste0(private$host, endPoint)
4875 headers <- list(Authorization = paste("OAuth2", private$token),
4876 "Content-Type" = "application/json")
4877 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4879 if(length(keepdisk) > 0)
4880 body <- jsonlite::toJSON(list(keepdisk = keepdisk),
4885 response <- private$REST$http$exec("POST", url, headers, body,
4886 queryArgs, private$numRetries)
4887 resource <- private$REST$httpParser$parseJSONResponse(response)
4889 if(!is.null(resource$errors))
4890 stop(resource$errors)
4895 keep_disks.update = function(keepdisk, uuid)
4897 endPoint <- stringr::str_interp("keep_disks/${uuid}")
4898 url <- paste0(private$host, endPoint)
4899 headers <- list(Authorization = paste("OAuth2", private$token),
4900 "Content-Type" = "application/json")
4903 if(length(keepdisk) > 0)
4904 body <- jsonlite::toJSON(list(keepdisk = keepdisk),
4909 response <- private$REST$http$exec("PUT", url, headers, body,
4910 queryArgs, private$numRetries)
4911 resource <- private$REST$httpParser$parseJSONResponse(response)
4913 if(!is.null(resource$errors))
4914 stop(resource$errors)
4919 keep_disks.delete = function(uuid)
4921 endPoint <- stringr::str_interp("keep_disks/${uuid}")
4922 url <- paste0(private$host, endPoint)
4923 headers <- list(Authorization = paste("OAuth2", private$token),
4924 "Content-Type" = "application/json")
4929 response <- private$REST$http$exec("DELETE", url, headers, body,
4930 queryArgs, private$numRetries)
4931 resource <- private$REST$httpParser$parseJSONResponse(response)
4933 if(!is.null(resource$errors))
4934 stop(resource$errors)
4939 keep_disks.ping = function(uuid = NULL, ping_secret,
4940 node_uuid = NULL, filesystem_uuid = NULL,
4941 service_host = NULL, service_port, service_ssl_flag)
4943 endPoint <- stringr::str_interp("keep_disks/ping")
4944 url <- paste0(private$host, endPoint)
4945 headers <- list(Authorization = paste("OAuth2", private$token),
4946 "Content-Type" = "application/json")
4947 queryArgs <- list(uuid = uuid, ping_secret = ping_secret,
4948 node_uuid = node_uuid, filesystem_uuid = filesystem_uuid,
4949 service_host = service_host, service_port = service_port,
4950 service_ssl_flag = service_ssl_flag)
4954 response <- private$REST$http$exec("POST", url, headers, body,
4955 queryArgs, private$numRetries)
4956 resource <- private$REST$httpParser$parseJSONResponse(response)
4958 if(!is.null(resource$errors))
4959 stop(resource$errors)
4964 keep_disks.list = function(filters = NULL,
4965 where = NULL, order = NULL, select = NULL,
4966 distinct = NULL, limit = "100", offset = "0",
4969 endPoint <- stringr::str_interp("keep_disks")
4970 url <- paste0(private$host, endPoint)
4971 headers <- list(Authorization = paste("OAuth2", private$token),
4972 "Content-Type" = "application/json")
4973 queryArgs <- list(filters = filters, where = where,
4974 order = order, select = select, distinct = distinct,
4975 limit = limit, offset = offset, count = count)
4979 response <- private$REST$http$exec("GET", url, headers, body,
4980 queryArgs, private$numRetries)
4981 resource <- private$REST$httpParser$parseJSONResponse(response)
4983 if(!is.null(resource$errors))
4984 stop(resource$errors)
4989 keep_disks.show = function(uuid)
4991 endPoint <- stringr::str_interp("keep_disks/${uuid}")
4992 url <- paste0(private$host, endPoint)
4993 headers <- list(Authorization = paste("OAuth2", private$token),
4994 "Content-Type" = "application/json")
4999 response <- private$REST$http$exec("GET", url, headers, body,
5000 queryArgs, private$numRetries)
5001 resource <- private$REST$httpParser$parseJSONResponse(response)
5003 if(!is.null(resource$errors))
5004 stop(resource$errors)
5009 keep_disks.destroy = function(uuid)
5011 endPoint <- stringr::str_interp("keep_disks/${uuid}")
5012 url <- paste0(private$host, endPoint)
5013 headers <- list(Authorization = paste("OAuth2", private$token),
5014 "Content-Type" = "application/json")
5019 response <- private$REST$http$exec("DELETE", url, headers, body,
5020 queryArgs, private$numRetries)
5021 resource <- private$REST$httpParser$parseJSONResponse(response)
5023 if(!is.null(resource$errors))
5024 stop(resource$errors)
5029 keep_services.get = function(uuid)
5031 endPoint <- stringr::str_interp("keep_services/${uuid}")
5032 url <- paste0(private$host, endPoint)
5033 headers <- list(Authorization = paste("OAuth2", private$token),
5034 "Content-Type" = "application/json")
5039 response <- private$REST$http$exec("GET", url, headers, body,
5040 queryArgs, private$numRetries)
5041 resource <- private$REST$httpParser$parseJSONResponse(response)
5043 if(!is.null(resource$errors))
5044 stop(resource$errors)
5049 keep_services.index = function(filters = NULL,
5050 where = NULL, order = NULL, select = NULL,
5051 distinct = NULL, limit = "100", offset = "0",
5054 endPoint <- stringr::str_interp("keep_services")
5055 url <- paste0(private$host, endPoint)
5056 headers <- list(Authorization = paste("OAuth2", private$token),
5057 "Content-Type" = "application/json")
5058 queryArgs <- list(filters = filters, where = where,
5059 order = order, select = select, distinct = distinct,
5060 limit = limit, offset = offset, count = count)
5064 response <- private$REST$http$exec("GET", url, headers, body,
5065 queryArgs, private$numRetries)
5066 resource <- private$REST$httpParser$parseJSONResponse(response)
5068 if(!is.null(resource$errors))
5069 stop(resource$errors)
5074 keep_services.create = function(keepservice,
5075 ensure_unique_name = "false")
5077 endPoint <- stringr::str_interp("keep_services")
5078 url <- paste0(private$host, endPoint)
5079 headers <- list(Authorization = paste("OAuth2", private$token),
5080 "Content-Type" = "application/json")
5081 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5083 if(length(keepservice) > 0)
5084 body <- jsonlite::toJSON(list(keepservice = keepservice),
5089 response <- private$REST$http$exec("POST", url, headers, body,
5090 queryArgs, private$numRetries)
5091 resource <- private$REST$httpParser$parseJSONResponse(response)
5093 if(!is.null(resource$errors))
5094 stop(resource$errors)
5099 keep_services.update = function(keepservice, uuid)
5101 endPoint <- stringr::str_interp("keep_services/${uuid}")
5102 url <- paste0(private$host, endPoint)
5103 headers <- list(Authorization = paste("OAuth2", private$token),
5104 "Content-Type" = "application/json")
5107 if(length(keepservice) > 0)
5108 body <- jsonlite::toJSON(list(keepservice = keepservice),
5113 response <- private$REST$http$exec("PUT", url, headers, body,
5114 queryArgs, private$numRetries)
5115 resource <- private$REST$httpParser$parseJSONResponse(response)
5117 if(!is.null(resource$errors))
5118 stop(resource$errors)
5123 keep_services.delete = function(uuid)
5125 endPoint <- stringr::str_interp("keep_services/${uuid}")
5126 url <- paste0(private$host, endPoint)
5127 headers <- list(Authorization = paste("OAuth2", private$token),
5128 "Content-Type" = "application/json")
5133 response <- private$REST$http$exec("DELETE", url, headers, body,
5134 queryArgs, private$numRetries)
5135 resource <- private$REST$httpParser$parseJSONResponse(response)
5137 if(!is.null(resource$errors))
5138 stop(resource$errors)
5143 keep_services.accessible = function()
5145 endPoint <- stringr::str_interp("keep_services/accessible")
5146 url <- paste0(private$host, endPoint)
5147 headers <- list(Authorization = paste("OAuth2", private$token),
5148 "Content-Type" = "application/json")
5153 response <- private$REST$http$exec("GET", url, headers, body,
5154 queryArgs, private$numRetries)
5155 resource <- private$REST$httpParser$parseJSONResponse(response)
5157 if(!is.null(resource$errors))
5158 stop(resource$errors)
5163 keep_services.list = function(filters = NULL,
5164 where = NULL, order = NULL, select = NULL,
5165 distinct = NULL, limit = "100", offset = "0",
5168 endPoint <- stringr::str_interp("keep_services")
5169 url <- paste0(private$host, endPoint)
5170 headers <- list(Authorization = paste("OAuth2", private$token),
5171 "Content-Type" = "application/json")
5172 queryArgs <- list(filters = filters, where = where,
5173 order = order, select = select, distinct = distinct,
5174 limit = limit, offset = offset, count = count)
5178 response <- private$REST$http$exec("GET", url, headers, body,
5179 queryArgs, private$numRetries)
5180 resource <- private$REST$httpParser$parseJSONResponse(response)
5182 if(!is.null(resource$errors))
5183 stop(resource$errors)
5188 keep_services.show = function(uuid)
5190 endPoint <- stringr::str_interp("keep_services/${uuid}")
5191 url <- paste0(private$host, endPoint)
5192 headers <- list(Authorization = paste("OAuth2", private$token),
5193 "Content-Type" = "application/json")
5198 response <- private$REST$http$exec("GET", url, headers, body,
5199 queryArgs, private$numRetries)
5200 resource <- private$REST$httpParser$parseJSONResponse(response)
5202 if(!is.null(resource$errors))
5203 stop(resource$errors)
5208 keep_services.destroy = function(uuid)
5210 endPoint <- stringr::str_interp("keep_services/${uuid}")
5211 url <- paste0(private$host, endPoint)
5212 headers <- list(Authorization = paste("OAuth2", private$token),
5213 "Content-Type" = "application/json")
5218 response <- private$REST$http$exec("DELETE", url, headers, body,
5219 queryArgs, private$numRetries)
5220 resource <- private$REST$httpParser$parseJSONResponse(response)
5222 if(!is.null(resource$errors))
5223 stop(resource$errors)
5228 pipeline_templates.get = function(uuid)
5230 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5231 url <- paste0(private$host, endPoint)
5232 headers <- list(Authorization = paste("OAuth2", private$token),
5233 "Content-Type" = "application/json")
5238 response <- private$REST$http$exec("GET", url, headers, body,
5239 queryArgs, private$numRetries)
5240 resource <- private$REST$httpParser$parseJSONResponse(response)
5242 if(!is.null(resource$errors))
5243 stop(resource$errors)
5248 pipeline_templates.index = function(filters = NULL,
5249 where = NULL, order = NULL, select = NULL,
5250 distinct = NULL, limit = "100", offset = "0",
5253 endPoint <- stringr::str_interp("pipeline_templates")
5254 url <- paste0(private$host, endPoint)
5255 headers <- list(Authorization = paste("OAuth2", private$token),
5256 "Content-Type" = "application/json")
5257 queryArgs <- list(filters = filters, where = where,
5258 order = order, select = select, distinct = distinct,
5259 limit = limit, offset = offset, count = count)
5263 response <- private$REST$http$exec("GET", url, headers, body,
5264 queryArgs, private$numRetries)
5265 resource <- private$REST$httpParser$parseJSONResponse(response)
5267 if(!is.null(resource$errors))
5268 stop(resource$errors)
5273 pipeline_templates.create = function(pipelinetemplate,
5274 ensure_unique_name = "false")
5276 endPoint <- stringr::str_interp("pipeline_templates")
5277 url <- paste0(private$host, endPoint)
5278 headers <- list(Authorization = paste("OAuth2", private$token),
5279 "Content-Type" = "application/json")
5280 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5282 if(length(pipelinetemplate) > 0)
5283 body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate),
5288 response <- private$REST$http$exec("POST", url, headers, body,
5289 queryArgs, private$numRetries)
5290 resource <- private$REST$httpParser$parseJSONResponse(response)
5292 if(!is.null(resource$errors))
5293 stop(resource$errors)
5298 pipeline_templates.update = function(pipelinetemplate, uuid)
5300 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5301 url <- paste0(private$host, endPoint)
5302 headers <- list(Authorization = paste("OAuth2", private$token),
5303 "Content-Type" = "application/json")
5306 if(length(pipelinetemplate) > 0)
5307 body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate),
5312 response <- private$REST$http$exec("PUT", url, headers, body,
5313 queryArgs, private$numRetries)
5314 resource <- private$REST$httpParser$parseJSONResponse(response)
5316 if(!is.null(resource$errors))
5317 stop(resource$errors)
5322 pipeline_templates.delete = function(uuid)
5324 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5325 url <- paste0(private$host, endPoint)
5326 headers <- list(Authorization = paste("OAuth2", private$token),
5327 "Content-Type" = "application/json")
5332 response <- private$REST$http$exec("DELETE", url, headers, body,
5333 queryArgs, private$numRetries)
5334 resource <- private$REST$httpParser$parseJSONResponse(response)
5336 if(!is.null(resource$errors))
5337 stop(resource$errors)
5342 pipeline_templates.list = function(filters = NULL,
5343 where = NULL, order = NULL, select = NULL,
5344 distinct = NULL, limit = "100", offset = "0",
5347 endPoint <- stringr::str_interp("pipeline_templates")
5348 url <- paste0(private$host, endPoint)
5349 headers <- list(Authorization = paste("OAuth2", private$token),
5350 "Content-Type" = "application/json")
5351 queryArgs <- list(filters = filters, where = where,
5352 order = order, select = select, distinct = distinct,
5353 limit = limit, offset = offset, count = count)
5357 response <- private$REST$http$exec("GET", url, headers, body,
5358 queryArgs, private$numRetries)
5359 resource <- private$REST$httpParser$parseJSONResponse(response)
5361 if(!is.null(resource$errors))
5362 stop(resource$errors)
5367 pipeline_templates.show = function(uuid)
5369 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5370 url <- paste0(private$host, endPoint)
5371 headers <- list(Authorization = paste("OAuth2", private$token),
5372 "Content-Type" = "application/json")
5377 response <- private$REST$http$exec("GET", url, headers, body,
5378 queryArgs, private$numRetries)
5379 resource <- private$REST$httpParser$parseJSONResponse(response)
5381 if(!is.null(resource$errors))
5382 stop(resource$errors)
5387 pipeline_templates.destroy = function(uuid)
5389 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5390 url <- paste0(private$host, endPoint)
5391 headers <- list(Authorization = paste("OAuth2", private$token),
5392 "Content-Type" = "application/json")
5397 response <- private$REST$http$exec("DELETE", url, headers, body,
5398 queryArgs, private$numRetries)
5399 resource <- private$REST$httpParser$parseJSONResponse(response)
5401 if(!is.null(resource$errors))
5402 stop(resource$errors)
5407 pipeline_instances.get = function(uuid)
5409 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5410 url <- paste0(private$host, endPoint)
5411 headers <- list(Authorization = paste("OAuth2", private$token),
5412 "Content-Type" = "application/json")
5417 response <- private$REST$http$exec("GET", url, headers, body,
5418 queryArgs, private$numRetries)
5419 resource <- private$REST$httpParser$parseJSONResponse(response)
5421 if(!is.null(resource$errors))
5422 stop(resource$errors)
5427 pipeline_instances.index = function(filters = NULL,
5428 where = NULL, order = NULL, select = NULL,
5429 distinct = NULL, limit = "100", offset = "0",
5432 endPoint <- stringr::str_interp("pipeline_instances")
5433 url <- paste0(private$host, endPoint)
5434 headers <- list(Authorization = paste("OAuth2", private$token),
5435 "Content-Type" = "application/json")
5436 queryArgs <- list(filters = filters, where = where,
5437 order = order, select = select, distinct = distinct,
5438 limit = limit, offset = offset, count = count)
5442 response <- private$REST$http$exec("GET", url, headers, body,
5443 queryArgs, private$numRetries)
5444 resource <- private$REST$httpParser$parseJSONResponse(response)
5446 if(!is.null(resource$errors))
5447 stop(resource$errors)
5452 pipeline_instances.create = function(pipelineinstance,
5453 ensure_unique_name = "false")
5455 endPoint <- stringr::str_interp("pipeline_instances")
5456 url <- paste0(private$host, endPoint)
5457 headers <- list(Authorization = paste("OAuth2", private$token),
5458 "Content-Type" = "application/json")
5459 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5461 if(length(pipelineinstance) > 0)
5462 body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance),
5467 response <- private$REST$http$exec("POST", url, headers, body,
5468 queryArgs, private$numRetries)
5469 resource <- private$REST$httpParser$parseJSONResponse(response)
5471 if(!is.null(resource$errors))
5472 stop(resource$errors)
5477 pipeline_instances.update = function(pipelineinstance, uuid)
5479 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5480 url <- paste0(private$host, endPoint)
5481 headers <- list(Authorization = paste("OAuth2", private$token),
5482 "Content-Type" = "application/json")
5485 if(length(pipelineinstance) > 0)
5486 body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance),
5491 response <- private$REST$http$exec("PUT", url, headers, body,
5492 queryArgs, private$numRetries)
5493 resource <- private$REST$httpParser$parseJSONResponse(response)
5495 if(!is.null(resource$errors))
5496 stop(resource$errors)
5501 pipeline_instances.delete = function(uuid)
5503 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5504 url <- paste0(private$host, endPoint)
5505 headers <- list(Authorization = paste("OAuth2", private$token),
5506 "Content-Type" = "application/json")
5511 response <- private$REST$http$exec("DELETE", url, headers, body,
5512 queryArgs, private$numRetries)
5513 resource <- private$REST$httpParser$parseJSONResponse(response)
5515 if(!is.null(resource$errors))
5516 stop(resource$errors)
5521 pipeline_instances.cancel = function(uuid)
5523 endPoint <- stringr::str_interp("pipeline_instances/${uuid}/cancel")
5524 url <- paste0(private$host, endPoint)
5525 headers <- list(Authorization = paste("OAuth2", private$token),
5526 "Content-Type" = "application/json")
5531 response <- private$REST$http$exec("POST", url, headers, body,
5532 queryArgs, private$numRetries)
5533 resource <- private$REST$httpParser$parseJSONResponse(response)
5535 if(!is.null(resource$errors))
5536 stop(resource$errors)
5541 pipeline_instances.list = function(filters = NULL,
5542 where = NULL, order = NULL, select = NULL,
5543 distinct = NULL, limit = "100", offset = "0",
5546 endPoint <- stringr::str_interp("pipeline_instances")
5547 url <- paste0(private$host, endPoint)
5548 headers <- list(Authorization = paste("OAuth2", private$token),
5549 "Content-Type" = "application/json")
5550 queryArgs <- list(filters = filters, where = where,
5551 order = order, select = select, distinct = distinct,
5552 limit = limit, offset = offset, count = count)
5556 response <- private$REST$http$exec("GET", url, headers, body,
5557 queryArgs, private$numRetries)
5558 resource <- private$REST$httpParser$parseJSONResponse(response)
5560 if(!is.null(resource$errors))
5561 stop(resource$errors)
5566 pipeline_instances.show = function(uuid)
5568 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5569 url <- paste0(private$host, endPoint)
5570 headers <- list(Authorization = paste("OAuth2", private$token),
5571 "Content-Type" = "application/json")
5576 response <- private$REST$http$exec("GET", url, headers, body,
5577 queryArgs, private$numRetries)
5578 resource <- private$REST$httpParser$parseJSONResponse(response)
5580 if(!is.null(resource$errors))
5581 stop(resource$errors)
5586 pipeline_instances.destroy = function(uuid)
5588 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5589 url <- paste0(private$host, endPoint)
5590 headers <- list(Authorization = paste("OAuth2", private$token),
5591 "Content-Type" = "application/json")
5596 response <- private$REST$http$exec("DELETE", url, headers, body,
5597 queryArgs, private$numRetries)
5598 resource <- private$REST$httpParser$parseJSONResponse(response)
5600 if(!is.null(resource$errors))
5601 stop(resource$errors)
5606 nodes.get = function(uuid)
5608 endPoint <- stringr::str_interp("nodes/${uuid}")
5609 url <- paste0(private$host, endPoint)
5610 headers <- list(Authorization = paste("OAuth2", private$token),
5611 "Content-Type" = "application/json")
5616 response <- private$REST$http$exec("GET", url, headers, body,
5617 queryArgs, private$numRetries)
5618 resource <- private$REST$httpParser$parseJSONResponse(response)
5620 if(!is.null(resource$errors))
5621 stop(resource$errors)
5626 nodes.index = function(filters = NULL, where = NULL,
5627 order = NULL, select = NULL, distinct = NULL,
5628 limit = "100", offset = "0", count = "exact")
5630 endPoint <- stringr::str_interp("nodes")
5631 url <- paste0(private$host, endPoint)
5632 headers <- list(Authorization = paste("OAuth2", private$token),
5633 "Content-Type" = "application/json")
5634 queryArgs <- list(filters = filters, where = where,
5635 order = order, select = select, distinct = distinct,
5636 limit = limit, offset = offset, count = count)
5640 response <- private$REST$http$exec("GET", url, headers, body,
5641 queryArgs, private$numRetries)
5642 resource <- private$REST$httpParser$parseJSONResponse(response)
5644 if(!is.null(resource$errors))
5645 stop(resource$errors)
5650 nodes.create = function(node, ensure_unique_name = "false",
5653 endPoint <- stringr::str_interp("nodes")
5654 url <- paste0(private$host, endPoint)
5655 headers <- list(Authorization = paste("OAuth2", private$token),
5656 "Content-Type" = "application/json")
5657 queryArgs <- list(ensure_unique_name = ensure_unique_name,
5658 assign_slot = assign_slot)
5660 if(length(node) > 0)
5661 body <- jsonlite::toJSON(list(node = node),
5666 response <- private$REST$http$exec("POST", url, headers, body,
5667 queryArgs, private$numRetries)
5668 resource <- private$REST$httpParser$parseJSONResponse(response)
5670 if(!is.null(resource$errors))
5671 stop(resource$errors)
5676 nodes.update = function(node, uuid, assign_slot = NULL)
5678 endPoint <- stringr::str_interp("nodes/${uuid}")
5679 url <- paste0(private$host, endPoint)
5680 headers <- list(Authorization = paste("OAuth2", private$token),
5681 "Content-Type" = "application/json")
5682 queryArgs <- list(assign_slot = assign_slot)
5684 if(length(node) > 0)
5685 body <- jsonlite::toJSON(list(node = node),
5690 response <- private$REST$http$exec("PUT", url, headers, body,
5691 queryArgs, private$numRetries)
5692 resource <- private$REST$httpParser$parseJSONResponse(response)
5694 if(!is.null(resource$errors))
5695 stop(resource$errors)
5700 nodes.delete = function(uuid)
5702 endPoint <- stringr::str_interp("nodes/${uuid}")
5703 url <- paste0(private$host, endPoint)
5704 headers <- list(Authorization = paste("OAuth2", private$token),
5705 "Content-Type" = "application/json")
5710 response <- private$REST$http$exec("DELETE", url, headers, body,
5711 queryArgs, private$numRetries)
5712 resource <- private$REST$httpParser$parseJSONResponse(response)
5714 if(!is.null(resource$errors))
5715 stop(resource$errors)
5720 nodes.ping = function(uuid, ping_secret)
5722 endPoint <- stringr::str_interp("nodes/${uuid}/ping")
5723 url <- paste0(private$host, endPoint)
5724 headers <- list(Authorization = paste("OAuth2", private$token),
5725 "Content-Type" = "application/json")
5726 queryArgs <- list(ping_secret = ping_secret)
5730 response <- private$REST$http$exec("POST", url, headers, body,
5731 queryArgs, private$numRetries)
5732 resource <- private$REST$httpParser$parseJSONResponse(response)
5734 if(!is.null(resource$errors))
5735 stop(resource$errors)
5740 nodes.list = function(filters = NULL, where = NULL,
5741 order = NULL, select = NULL, distinct = NULL,
5742 limit = "100", offset = "0", count = "exact")
5744 endPoint <- stringr::str_interp("nodes")
5745 url <- paste0(private$host, endPoint)
5746 headers <- list(Authorization = paste("OAuth2", private$token),
5747 "Content-Type" = "application/json")
5748 queryArgs <- list(filters = filters, where = where,
5749 order = order, select = select, distinct = distinct,
5750 limit = limit, offset = offset, count = count)
5754 response <- private$REST$http$exec("GET", url, headers, body,
5755 queryArgs, private$numRetries)
5756 resource <- private$REST$httpParser$parseJSONResponse(response)
5758 if(!is.null(resource$errors))
5759 stop(resource$errors)
5764 nodes.show = function(uuid)
5766 endPoint <- stringr::str_interp("nodes/${uuid}")
5767 url <- paste0(private$host, endPoint)
5768 headers <- list(Authorization = paste("OAuth2", private$token),
5769 "Content-Type" = "application/json")
5774 response <- private$REST$http$exec("GET", url, headers, body,
5775 queryArgs, private$numRetries)
5776 resource <- private$REST$httpParser$parseJSONResponse(response)
5778 if(!is.null(resource$errors))
5779 stop(resource$errors)
5784 nodes.destroy = function(uuid)
5786 endPoint <- stringr::str_interp("nodes/${uuid}")
5787 url <- paste0(private$host, endPoint)
5788 headers <- list(Authorization = paste("OAuth2", private$token),
5789 "Content-Type" = "application/json")
5794 response <- private$REST$http$exec("DELETE", url, headers, body,
5795 queryArgs, private$numRetries)
5796 resource <- private$REST$httpParser$parseJSONResponse(response)
5798 if(!is.null(resource$errors))
5799 stop(resource$errors)
5804 repositories.get = function(uuid)
5806 endPoint <- stringr::str_interp("repositories/${uuid}")
5807 url <- paste0(private$host, endPoint)
5808 headers <- list(Authorization = paste("OAuth2", private$token),
5809 "Content-Type" = "application/json")
5814 response <- private$REST$http$exec("GET", url, headers, body,
5815 queryArgs, private$numRetries)
5816 resource <- private$REST$httpParser$parseJSONResponse(response)
5818 if(!is.null(resource$errors))
5819 stop(resource$errors)
5824 repositories.index = function(filters = NULL,
5825 where = NULL, order = NULL, select = NULL,
5826 distinct = NULL, limit = "100", offset = "0",
5829 endPoint <- stringr::str_interp("repositories")
5830 url <- paste0(private$host, endPoint)
5831 headers <- list(Authorization = paste("OAuth2", private$token),
5832 "Content-Type" = "application/json")
5833 queryArgs <- list(filters = filters, where = where,
5834 order = order, select = select, distinct = distinct,
5835 limit = limit, offset = offset, count = count)
5839 response <- private$REST$http$exec("GET", url, headers, body,
5840 queryArgs, private$numRetries)
5841 resource <- private$REST$httpParser$parseJSONResponse(response)
5843 if(!is.null(resource$errors))
5844 stop(resource$errors)
5849 repositories.create = function(repository, ensure_unique_name = "false")
5851 endPoint <- stringr::str_interp("repositories")
5852 url <- paste0(private$host, endPoint)
5853 headers <- list(Authorization = paste("OAuth2", private$token),
5854 "Content-Type" = "application/json")
5855 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5857 if(length(repository) > 0)
5858 body <- jsonlite::toJSON(list(repository = repository),
5863 response <- private$REST$http$exec("POST", url, headers, body,
5864 queryArgs, private$numRetries)
5865 resource <- private$REST$httpParser$parseJSONResponse(response)
5867 if(!is.null(resource$errors))
5868 stop(resource$errors)
5873 repositories.update = function(repository, uuid)
5875 endPoint <- stringr::str_interp("repositories/${uuid}")
5876 url <- paste0(private$host, endPoint)
5877 headers <- list(Authorization = paste("OAuth2", private$token),
5878 "Content-Type" = "application/json")
5881 if(length(repository) > 0)
5882 body <- jsonlite::toJSON(list(repository = repository),
5887 response <- private$REST$http$exec("PUT", url, headers, body,
5888 queryArgs, private$numRetries)
5889 resource <- private$REST$httpParser$parseJSONResponse(response)
5891 if(!is.null(resource$errors))
5892 stop(resource$errors)
5897 repositories.delete = function(uuid)
5899 endPoint <- stringr::str_interp("repositories/${uuid}")
5900 url <- paste0(private$host, endPoint)
5901 headers <- list(Authorization = paste("OAuth2", private$token),
5902 "Content-Type" = "application/json")
5907 response <- private$REST$http$exec("DELETE", url, headers, body,
5908 queryArgs, private$numRetries)
5909 resource <- private$REST$httpParser$parseJSONResponse(response)
5911 if(!is.null(resource$errors))
5912 stop(resource$errors)
5917 repositories.get_all_permissions = function()
5919 endPoint <- stringr::str_interp("repositories/get_all_permissions")
5920 url <- paste0(private$host, endPoint)
5921 headers <- list(Authorization = paste("OAuth2", private$token),
5922 "Content-Type" = "application/json")
5927 response <- private$REST$http$exec("GET", url, headers, body,
5928 queryArgs, private$numRetries)
5929 resource <- private$REST$httpParser$parseJSONResponse(response)
5931 if(!is.null(resource$errors))
5932 stop(resource$errors)
5937 repositories.list = function(filters = NULL,
5938 where = NULL, order = NULL, select = NULL,
5939 distinct = NULL, limit = "100", offset = "0",
5942 endPoint <- stringr::str_interp("repositories")
5943 url <- paste0(private$host, endPoint)
5944 headers <- list(Authorization = paste("OAuth2", private$token),
5945 "Content-Type" = "application/json")
5946 queryArgs <- list(filters = filters, where = where,
5947 order = order, select = select, distinct = distinct,
5948 limit = limit, offset = offset, count = count)
5952 response <- private$REST$http$exec("GET", url, headers, body,
5953 queryArgs, private$numRetries)
5954 resource <- private$REST$httpParser$parseJSONResponse(response)
5956 if(!is.null(resource$errors))
5957 stop(resource$errors)
5962 repositories.show = function(uuid)
5964 endPoint <- stringr::str_interp("repositories/${uuid}")
5965 url <- paste0(private$host, endPoint)
5966 headers <- list(Authorization = paste("OAuth2", private$token),
5967 "Content-Type" = "application/json")
5972 response <- private$REST$http$exec("GET", url, headers, body,
5973 queryArgs, private$numRetries)
5974 resource <- private$REST$httpParser$parseJSONResponse(response)
5976 if(!is.null(resource$errors))
5977 stop(resource$errors)
5982 repositories.destroy = function(uuid)
5984 endPoint <- stringr::str_interp("repositories/${uuid}")
5985 url <- paste0(private$host, endPoint)
5986 headers <- list(Authorization = paste("OAuth2", private$token),
5987 "Content-Type" = "application/json")
5992 response <- private$REST$http$exec("DELETE", url, headers, body,
5993 queryArgs, private$numRetries)
5994 resource <- private$REST$httpParser$parseJSONResponse(response)
5996 if(!is.null(resource$errors))
5997 stop(resource$errors)
6002 specimens.get = function(uuid)
6004 endPoint <- stringr::str_interp("specimens/${uuid}")
6005 url <- paste0(private$host, endPoint)
6006 headers <- list(Authorization = paste("OAuth2", private$token),
6007 "Content-Type" = "application/json")
6012 response <- private$REST$http$exec("GET", url, headers, body,
6013 queryArgs, private$numRetries)
6014 resource <- private$REST$httpParser$parseJSONResponse(response)
6016 if(!is.null(resource$errors))
6017 stop(resource$errors)
6022 specimens.index = function(filters = NULL,
6023 where = NULL, order = NULL, select = NULL,
6024 distinct = NULL, limit = "100", offset = "0",
6027 endPoint <- stringr::str_interp("specimens")
6028 url <- paste0(private$host, endPoint)
6029 headers <- list(Authorization = paste("OAuth2", private$token),
6030 "Content-Type" = "application/json")
6031 queryArgs <- list(filters = filters, where = where,
6032 order = order, select = select, distinct = distinct,
6033 limit = limit, offset = offset, count = count)
6037 response <- private$REST$http$exec("GET", url, headers, body,
6038 queryArgs, private$numRetries)
6039 resource <- private$REST$httpParser$parseJSONResponse(response)
6041 if(!is.null(resource$errors))
6042 stop(resource$errors)
6047 specimens.create = function(specimen, ensure_unique_name = "false")
6049 endPoint <- stringr::str_interp("specimens")
6050 url <- paste0(private$host, endPoint)
6051 headers <- list(Authorization = paste("OAuth2", private$token),
6052 "Content-Type" = "application/json")
6053 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6055 if(length(specimen) > 0)
6056 body <- jsonlite::toJSON(list(specimen = specimen),
6061 response <- private$REST$http$exec("POST", url, headers, body,
6062 queryArgs, private$numRetries)
6063 resource <- private$REST$httpParser$parseJSONResponse(response)
6065 if(!is.null(resource$errors))
6066 stop(resource$errors)
6071 specimens.update = function(specimen, uuid)
6073 endPoint <- stringr::str_interp("specimens/${uuid}")
6074 url <- paste0(private$host, endPoint)
6075 headers <- list(Authorization = paste("OAuth2", private$token),
6076 "Content-Type" = "application/json")
6079 if(length(specimen) > 0)
6080 body <- jsonlite::toJSON(list(specimen = specimen),
6085 response <- private$REST$http$exec("PUT", url, headers, body,
6086 queryArgs, private$numRetries)
6087 resource <- private$REST$httpParser$parseJSONResponse(response)
6089 if(!is.null(resource$errors))
6090 stop(resource$errors)
6095 specimens.delete = function(uuid)
6097 endPoint <- stringr::str_interp("specimens/${uuid}")
6098 url <- paste0(private$host, endPoint)
6099 headers <- list(Authorization = paste("OAuth2", private$token),
6100 "Content-Type" = "application/json")
6105 response <- private$REST$http$exec("DELETE", url, headers, body,
6106 queryArgs, private$numRetries)
6107 resource <- private$REST$httpParser$parseJSONResponse(response)
6109 if(!is.null(resource$errors))
6110 stop(resource$errors)
6115 specimens.list = function(filters = NULL,
6116 where = NULL, order = NULL, select = NULL,
6117 distinct = NULL, limit = "100", offset = "0",
6120 endPoint <- stringr::str_interp("specimens")
6121 url <- paste0(private$host, endPoint)
6122 headers <- list(Authorization = paste("OAuth2", private$token),
6123 "Content-Type" = "application/json")
6124 queryArgs <- list(filters = filters, where = where,
6125 order = order, select = select, distinct = distinct,
6126 limit = limit, offset = offset, count = count)
6130 response <- private$REST$http$exec("GET", url, headers, body,
6131 queryArgs, private$numRetries)
6132 resource <- private$REST$httpParser$parseJSONResponse(response)
6134 if(!is.null(resource$errors))
6135 stop(resource$errors)
6140 specimens.show = function(uuid)
6142 endPoint <- stringr::str_interp("specimens/${uuid}")
6143 url <- paste0(private$host, endPoint)
6144 headers <- list(Authorization = paste("OAuth2", private$token),
6145 "Content-Type" = "application/json")
6150 response <- private$REST$http$exec("GET", url, headers, body,
6151 queryArgs, private$numRetries)
6152 resource <- private$REST$httpParser$parseJSONResponse(response)
6154 if(!is.null(resource$errors))
6155 stop(resource$errors)
6160 specimens.destroy = function(uuid)
6162 endPoint <- stringr::str_interp("specimens/${uuid}")
6163 url <- paste0(private$host, endPoint)
6164 headers <- list(Authorization = paste("OAuth2", private$token),
6165 "Content-Type" = "application/json")
6170 response <- private$REST$http$exec("DELETE", url, headers, body,
6171 queryArgs, private$numRetries)
6172 resource <- private$REST$httpParser$parseJSONResponse(response)
6174 if(!is.null(resource$errors))
6175 stop(resource$errors)
6180 logs.get = function(uuid)
6182 endPoint <- stringr::str_interp("logs/${uuid}")
6183 url <- paste0(private$host, endPoint)
6184 headers <- list(Authorization = paste("OAuth2", private$token),
6185 "Content-Type" = "application/json")
6190 response <- private$REST$http$exec("GET", url, headers, body,
6191 queryArgs, private$numRetries)
6192 resource <- private$REST$httpParser$parseJSONResponse(response)
6194 if(!is.null(resource$errors))
6195 stop(resource$errors)
6200 logs.index = function(filters = NULL, where = NULL,
6201 order = NULL, select = NULL, distinct = NULL,
6202 limit = "100", offset = "0", count = "exact")
6204 endPoint <- stringr::str_interp("logs")
6205 url <- paste0(private$host, endPoint)
6206 headers <- list(Authorization = paste("OAuth2", private$token),
6207 "Content-Type" = "application/json")
6208 queryArgs <- list(filters = filters, where = where,
6209 order = order, select = select, distinct = distinct,
6210 limit = limit, offset = offset, count = count)
6214 response <- private$REST$http$exec("GET", url, headers, body,
6215 queryArgs, private$numRetries)
6216 resource <- private$REST$httpParser$parseJSONResponse(response)
6218 if(!is.null(resource$errors))
6219 stop(resource$errors)
6224 logs.create = function(log, ensure_unique_name = "false")
6226 endPoint <- stringr::str_interp("logs")
6227 url <- paste0(private$host, endPoint)
6228 headers <- list(Authorization = paste("OAuth2", private$token),
6229 "Content-Type" = "application/json")
6230 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6233 body <- jsonlite::toJSON(list(log = log),
6238 response <- private$REST$http$exec("POST", url, headers, body,
6239 queryArgs, private$numRetries)
6240 resource <- private$REST$httpParser$parseJSONResponse(response)
6242 if(!is.null(resource$errors))
6243 stop(resource$errors)
6248 logs.update = function(log, uuid)
6250 endPoint <- stringr::str_interp("logs/${uuid}")
6251 url <- paste0(private$host, endPoint)
6252 headers <- list(Authorization = paste("OAuth2", private$token),
6253 "Content-Type" = "application/json")
6257 body <- jsonlite::toJSON(list(log = log),
6262 response <- private$REST$http$exec("PUT", url, headers, body,
6263 queryArgs, private$numRetries)
6264 resource <- private$REST$httpParser$parseJSONResponse(response)
6266 if(!is.null(resource$errors))
6267 stop(resource$errors)
6272 logs.delete = function(uuid)
6274 endPoint <- stringr::str_interp("logs/${uuid}")
6275 url <- paste0(private$host, endPoint)
6276 headers <- list(Authorization = paste("OAuth2", private$token),
6277 "Content-Type" = "application/json")
6282 response <- private$REST$http$exec("DELETE", url, headers, body,
6283 queryArgs, private$numRetries)
6284 resource <- private$REST$httpParser$parseJSONResponse(response)
6286 if(!is.null(resource$errors))
6287 stop(resource$errors)
6292 logs.list = function(filters = NULL, where = NULL,
6293 order = NULL, select = NULL, distinct = NULL,
6294 limit = "100", offset = "0", count = "exact")
6296 endPoint <- stringr::str_interp("logs")
6297 url <- paste0(private$host, endPoint)
6298 headers <- list(Authorization = paste("OAuth2", private$token),
6299 "Content-Type" = "application/json")
6300 queryArgs <- list(filters = filters, where = where,
6301 order = order, select = select, distinct = distinct,
6302 limit = limit, offset = offset, count = count)
6306 response <- private$REST$http$exec("GET", url, headers, body,
6307 queryArgs, private$numRetries)
6308 resource <- private$REST$httpParser$parseJSONResponse(response)
6310 if(!is.null(resource$errors))
6311 stop(resource$errors)
6316 logs.show = function(uuid)
6318 endPoint <- stringr::str_interp("logs/${uuid}")
6319 url <- paste0(private$host, endPoint)
6320 headers <- list(Authorization = paste("OAuth2", private$token),
6321 "Content-Type" = "application/json")
6326 response <- private$REST$http$exec("GET", url, headers, body,
6327 queryArgs, private$numRetries)
6328 resource <- private$REST$httpParser$parseJSONResponse(response)
6330 if(!is.null(resource$errors))
6331 stop(resource$errors)
6336 logs.destroy = function(uuid)
6338 endPoint <- stringr::str_interp("logs/${uuid}")
6339 url <- paste0(private$host, endPoint)
6340 headers <- list(Authorization = paste("OAuth2", private$token),
6341 "Content-Type" = "application/json")
6346 response <- private$REST$http$exec("DELETE", url, headers, body,
6347 queryArgs, private$numRetries)
6348 resource <- private$REST$httpParser$parseJSONResponse(response)
6350 if(!is.null(resource$errors))
6351 stop(resource$errors)
6356 traits.get = function(uuid)
6358 endPoint <- stringr::str_interp("traits/${uuid}")
6359 url <- paste0(private$host, endPoint)
6360 headers <- list(Authorization = paste("OAuth2", private$token),
6361 "Content-Type" = "application/json")
6366 response <- private$REST$http$exec("GET", url, headers, body,
6367 queryArgs, private$numRetries)
6368 resource <- private$REST$httpParser$parseJSONResponse(response)
6370 if(!is.null(resource$errors))
6371 stop(resource$errors)
6376 traits.index = function(filters = NULL, where = NULL,
6377 order = NULL, select = NULL, distinct = NULL,
6378 limit = "100", offset = "0", count = "exact")
6380 endPoint <- stringr::str_interp("traits")
6381 url <- paste0(private$host, endPoint)
6382 headers <- list(Authorization = paste("OAuth2", private$token),
6383 "Content-Type" = "application/json")
6384 queryArgs <- list(filters = filters, where = where,
6385 order = order, select = select, distinct = distinct,
6386 limit = limit, offset = offset, count = count)
6390 response <- private$REST$http$exec("GET", url, headers, body,
6391 queryArgs, private$numRetries)
6392 resource <- private$REST$httpParser$parseJSONResponse(response)
6394 if(!is.null(resource$errors))
6395 stop(resource$errors)
6400 traits.create = function(trait, ensure_unique_name = "false")
6402 endPoint <- stringr::str_interp("traits")
6403 url <- paste0(private$host, endPoint)
6404 headers <- list(Authorization = paste("OAuth2", private$token),
6405 "Content-Type" = "application/json")
6406 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6408 if(length(trait) > 0)
6409 body <- jsonlite::toJSON(list(trait = trait),
6414 response <- private$REST$http$exec("POST", url, headers, body,
6415 queryArgs, private$numRetries)
6416 resource <- private$REST$httpParser$parseJSONResponse(response)
6418 if(!is.null(resource$errors))
6419 stop(resource$errors)
6424 traits.update = function(trait, uuid)
6426 endPoint <- stringr::str_interp("traits/${uuid}")
6427 url <- paste0(private$host, endPoint)
6428 headers <- list(Authorization = paste("OAuth2", private$token),
6429 "Content-Type" = "application/json")
6432 if(length(trait) > 0)
6433 body <- jsonlite::toJSON(list(trait = trait),
6438 response <- private$REST$http$exec("PUT", url, headers, body,
6439 queryArgs, private$numRetries)
6440 resource <- private$REST$httpParser$parseJSONResponse(response)
6442 if(!is.null(resource$errors))
6443 stop(resource$errors)
6448 traits.delete = function(uuid)
6450 endPoint <- stringr::str_interp("traits/${uuid}")
6451 url <- paste0(private$host, endPoint)
6452 headers <- list(Authorization = paste("OAuth2", private$token),
6453 "Content-Type" = "application/json")
6458 response <- private$REST$http$exec("DELETE", url, headers, body,
6459 queryArgs, private$numRetries)
6460 resource <- private$REST$httpParser$parseJSONResponse(response)
6462 if(!is.null(resource$errors))
6463 stop(resource$errors)
6468 traits.list = function(filters = NULL, where = NULL,
6469 order = NULL, select = NULL, distinct = NULL,
6470 limit = "100", offset = "0", count = "exact")
6472 endPoint <- stringr::str_interp("traits")
6473 url <- paste0(private$host, endPoint)
6474 headers <- list(Authorization = paste("OAuth2", private$token),
6475 "Content-Type" = "application/json")
6476 queryArgs <- list(filters = filters, where = where,
6477 order = order, select = select, distinct = distinct,
6478 limit = limit, offset = offset, count = count)
6482 response <- private$REST$http$exec("GET", url, headers, body,
6483 queryArgs, private$numRetries)
6484 resource <- private$REST$httpParser$parseJSONResponse(response)
6486 if(!is.null(resource$errors))
6487 stop(resource$errors)
6492 traits.show = function(uuid)
6494 endPoint <- stringr::str_interp("traits/${uuid}")
6495 url <- paste0(private$host, endPoint)
6496 headers <- list(Authorization = paste("OAuth2", private$token),
6497 "Content-Type" = "application/json")
6502 response <- private$REST$http$exec("GET", url, headers, body,
6503 queryArgs, private$numRetries)
6504 resource <- private$REST$httpParser$parseJSONResponse(response)
6506 if(!is.null(resource$errors))
6507 stop(resource$errors)
6512 traits.destroy = function(uuid)
6514 endPoint <- stringr::str_interp("traits/${uuid}")
6515 url <- paste0(private$host, endPoint)
6516 headers <- list(Authorization = paste("OAuth2", private$token),
6517 "Content-Type" = "application/json")
6522 response <- private$REST$http$exec("DELETE", url, headers, body,
6523 queryArgs, private$numRetries)
6524 resource <- private$REST$httpParser$parseJSONResponse(response)
6526 if(!is.null(resource$errors))
6527 stop(resource$errors)
6532 virtual_machines.get = function(uuid)
6534 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6535 url <- paste0(private$host, endPoint)
6536 headers <- list(Authorization = paste("OAuth2", private$token),
6537 "Content-Type" = "application/json")
6542 response <- private$REST$http$exec("GET", url, headers, body,
6543 queryArgs, private$numRetries)
6544 resource <- private$REST$httpParser$parseJSONResponse(response)
6546 if(!is.null(resource$errors))
6547 stop(resource$errors)
6552 virtual_machines.index = function(filters = NULL,
6553 where = NULL, order = NULL, select = NULL,
6554 distinct = NULL, limit = "100", offset = "0",
6557 endPoint <- stringr::str_interp("virtual_machines")
6558 url <- paste0(private$host, endPoint)
6559 headers <- list(Authorization = paste("OAuth2", private$token),
6560 "Content-Type" = "application/json")
6561 queryArgs <- list(filters = filters, where = where,
6562 order = order, select = select, distinct = distinct,
6563 limit = limit, offset = offset, count = count)
6567 response <- private$REST$http$exec("GET", url, headers, body,
6568 queryArgs, private$numRetries)
6569 resource <- private$REST$httpParser$parseJSONResponse(response)
6571 if(!is.null(resource$errors))
6572 stop(resource$errors)
6577 virtual_machines.create = function(virtualmachine,
6578 ensure_unique_name = "false")
6580 endPoint <- stringr::str_interp("virtual_machines")
6581 url <- paste0(private$host, endPoint)
6582 headers <- list(Authorization = paste("OAuth2", private$token),
6583 "Content-Type" = "application/json")
6584 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6586 if(length(virtualmachine) > 0)
6587 body <- jsonlite::toJSON(list(virtualmachine = virtualmachine),
6592 response <- private$REST$http$exec("POST", url, headers, body,
6593 queryArgs, private$numRetries)
6594 resource <- private$REST$httpParser$parseJSONResponse(response)
6596 if(!is.null(resource$errors))
6597 stop(resource$errors)
6602 virtual_machines.update = function(virtualmachine, uuid)
6604 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6605 url <- paste0(private$host, endPoint)
6606 headers <- list(Authorization = paste("OAuth2", private$token),
6607 "Content-Type" = "application/json")
6610 if(length(virtualmachine) > 0)
6611 body <- jsonlite::toJSON(list(virtualmachine = virtualmachine),
6616 response <- private$REST$http$exec("PUT", url, headers, body,
6617 queryArgs, private$numRetries)
6618 resource <- private$REST$httpParser$parseJSONResponse(response)
6620 if(!is.null(resource$errors))
6621 stop(resource$errors)
6626 virtual_machines.delete = function(uuid)
6628 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6629 url <- paste0(private$host, endPoint)
6630 headers <- list(Authorization = paste("OAuth2", private$token),
6631 "Content-Type" = "application/json")
6636 response <- private$REST$http$exec("DELETE", url, headers, body,
6637 queryArgs, private$numRetries)
6638 resource <- private$REST$httpParser$parseJSONResponse(response)
6640 if(!is.null(resource$errors))
6641 stop(resource$errors)
6646 virtual_machines.logins = function(uuid)
6648 endPoint <- stringr::str_interp("virtual_machines/${uuid}/logins")
6649 url <- paste0(private$host, endPoint)
6650 headers <- list(Authorization = paste("OAuth2", private$token),
6651 "Content-Type" = "application/json")
6656 response <- private$REST$http$exec("GET", url, headers, body,
6657 queryArgs, private$numRetries)
6658 resource <- private$REST$httpParser$parseJSONResponse(response)
6660 if(!is.null(resource$errors))
6661 stop(resource$errors)
6666 virtual_machines.get_all_logins = function()
6668 endPoint <- stringr::str_interp("virtual_machines/get_all_logins")
6669 url <- paste0(private$host, endPoint)
6670 headers <- list(Authorization = paste("OAuth2", private$token),
6671 "Content-Type" = "application/json")
6676 response <- private$REST$http$exec("GET", url, headers, body,
6677 queryArgs, private$numRetries)
6678 resource <- private$REST$httpParser$parseJSONResponse(response)
6680 if(!is.null(resource$errors))
6681 stop(resource$errors)
6686 virtual_machines.list = function(filters = NULL,
6687 where = NULL, order = NULL, select = NULL,
6688 distinct = NULL, limit = "100", offset = "0",
6691 endPoint <- stringr::str_interp("virtual_machines")
6692 url <- paste0(private$host, endPoint)
6693 headers <- list(Authorization = paste("OAuth2", private$token),
6694 "Content-Type" = "application/json")
6695 queryArgs <- list(filters = filters, where = where,
6696 order = order, select = select, distinct = distinct,
6697 limit = limit, offset = offset, count = count)
6701 response <- private$REST$http$exec("GET", url, headers, body,
6702 queryArgs, private$numRetries)
6703 resource <- private$REST$httpParser$parseJSONResponse(response)
6705 if(!is.null(resource$errors))
6706 stop(resource$errors)
6711 virtual_machines.show = function(uuid)
6713 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6714 url <- paste0(private$host, endPoint)
6715 headers <- list(Authorization = paste("OAuth2", private$token),
6716 "Content-Type" = "application/json")
6721 response <- private$REST$http$exec("GET", url, headers, body,
6722 queryArgs, private$numRetries)
6723 resource <- private$REST$httpParser$parseJSONResponse(response)
6725 if(!is.null(resource$errors))
6726 stop(resource$errors)
6731 virtual_machines.destroy = function(uuid)
6733 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6734 url <- paste0(private$host, endPoint)
6735 headers <- list(Authorization = paste("OAuth2", private$token),
6736 "Content-Type" = "application/json")
6741 response <- private$REST$http$exec("DELETE", url, headers, body,
6742 queryArgs, private$numRetries)
6743 resource <- private$REST$httpParser$parseJSONResponse(response)
6745 if(!is.null(resource$errors))
6746 stop(resource$errors)
6751 workflows.get = function(uuid)
6753 endPoint <- stringr::str_interp("workflows/${uuid}")
6754 url <- paste0(private$host, endPoint)
6755 headers <- list(Authorization = paste("OAuth2", private$token),
6756 "Content-Type" = "application/json")
6761 response <- private$REST$http$exec("GET", url, headers, body,
6762 queryArgs, private$numRetries)
6763 resource <- private$REST$httpParser$parseJSONResponse(response)
6765 if(!is.null(resource$errors))
6766 stop(resource$errors)
6771 workflows.index = function(filters = NULL,
6772 where = NULL, order = NULL, select = NULL,
6773 distinct = NULL, limit = "100", offset = "0",
6776 endPoint <- stringr::str_interp("workflows")
6777 url <- paste0(private$host, endPoint)
6778 headers <- list(Authorization = paste("OAuth2", private$token),
6779 "Content-Type" = "application/json")
6780 queryArgs <- list(filters = filters, where = where,
6781 order = order, select = select, distinct = distinct,
6782 limit = limit, offset = offset, count = count)
6786 response <- private$REST$http$exec("GET", url, headers, body,
6787 queryArgs, private$numRetries)
6788 resource <- private$REST$httpParser$parseJSONResponse(response)
6790 if(!is.null(resource$errors))
6791 stop(resource$errors)
6796 workflows.create = function(workflow, ensure_unique_name = "false")
6798 endPoint <- stringr::str_interp("workflows")
6799 url <- paste0(private$host, endPoint)
6800 headers <- list(Authorization = paste("OAuth2", private$token),
6801 "Content-Type" = "application/json")
6802 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6804 if(length(workflow) > 0)
6805 body <- jsonlite::toJSON(list(workflow = workflow),
6810 response <- private$REST$http$exec("POST", url, headers, body,
6811 queryArgs, private$numRetries)
6812 resource <- private$REST$httpParser$parseJSONResponse(response)
6814 if(!is.null(resource$errors))
6815 stop(resource$errors)
6820 workflows.update = function(workflow, uuid)
6822 endPoint <- stringr::str_interp("workflows/${uuid}")
6823 url <- paste0(private$host, endPoint)
6824 headers <- list(Authorization = paste("OAuth2", private$token),
6825 "Content-Type" = "application/json")
6828 if(length(workflow) > 0)
6829 body <- jsonlite::toJSON(list(workflow = workflow),
6834 response <- private$REST$http$exec("PUT", url, headers, body,
6835 queryArgs, private$numRetries)
6836 resource <- private$REST$httpParser$parseJSONResponse(response)
6838 if(!is.null(resource$errors))
6839 stop(resource$errors)
6844 workflows.delete = function(uuid)
6846 endPoint <- stringr::str_interp("workflows/${uuid}")
6847 url <- paste0(private$host, endPoint)
6848 headers <- list(Authorization = paste("OAuth2", private$token),
6849 "Content-Type" = "application/json")
6854 response <- private$REST$http$exec("DELETE", url, headers, body,
6855 queryArgs, private$numRetries)
6856 resource <- private$REST$httpParser$parseJSONResponse(response)
6858 if(!is.null(resource$errors))
6859 stop(resource$errors)
6864 workflows.list = function(filters = NULL,
6865 where = NULL, order = NULL, select = NULL,
6866 distinct = NULL, limit = "100", offset = "0",
6869 endPoint <- stringr::str_interp("workflows")
6870 url <- paste0(private$host, endPoint)
6871 headers <- list(Authorization = paste("OAuth2", private$token),
6872 "Content-Type" = "application/json")
6873 queryArgs <- list(filters = filters, where = where,
6874 order = order, select = select, distinct = distinct,
6875 limit = limit, offset = offset, count = count)
6879 response <- private$REST$http$exec("GET", url, headers, body,
6880 queryArgs, private$numRetries)
6881 resource <- private$REST$httpParser$parseJSONResponse(response)
6883 if(!is.null(resource$errors))
6884 stop(resource$errors)
6889 workflows.show = function(uuid)
6891 endPoint <- stringr::str_interp("workflows/${uuid}")
6892 url <- paste0(private$host, endPoint)
6893 headers <- list(Authorization = paste("OAuth2", private$token),
6894 "Content-Type" = "application/json")
6899 response <- private$REST$http$exec("GET", url, headers, body,
6900 queryArgs, private$numRetries)
6901 resource <- private$REST$httpParser$parseJSONResponse(response)
6903 if(!is.null(resource$errors))
6904 stop(resource$errors)
6909 workflows.destroy = function(uuid)
6911 endPoint <- stringr::str_interp("workflows/${uuid}")
6912 url <- paste0(private$host, endPoint)
6913 headers <- list(Authorization = paste("OAuth2", private$token),
6914 "Content-Type" = "application/json")
6919 response <- private$REST$http$exec("DELETE", url, headers, body,
6920 queryArgs, private$numRetries)
6921 resource <- private$REST$httpParser$parseJSONResponse(response)
6923 if(!is.null(resource$errors))
6924 stop(resource$errors)
6929 groups.get = function(uuid)
6931 endPoint <- stringr::str_interp("groups/${uuid}")
6932 url <- paste0(private$host, endPoint)
6933 headers <- list(Authorization = paste("OAuth2", private$token),
6934 "Content-Type" = "application/json")
6939 response <- private$REST$http$exec("GET", url, headers, body,
6940 queryArgs, private$numRetries)
6941 resource <- private$REST$httpParser$parseJSONResponse(response)
6943 if(!is.null(resource$errors))
6944 stop(resource$errors)
6949 groups.index = function(filters = NULL, where = NULL,
6950 order = NULL, select = NULL, distinct = NULL,
6951 limit = "100", offset = "0", count = "exact",
6952 include_trash = NULL)
6954 endPoint <- stringr::str_interp("groups")
6955 url <- paste0(private$host, endPoint)
6956 headers <- list(Authorization = paste("OAuth2", private$token),
6957 "Content-Type" = "application/json")
6958 queryArgs <- list(filters = filters, where = where,
6959 order = order, select = select, distinct = distinct,
6960 limit = limit, offset = offset, count = count,
6961 include_trash = include_trash)
6965 response <- private$REST$http$exec("GET", url, headers, body,
6966 queryArgs, private$numRetries)
6967 resource <- private$REST$httpParser$parseJSONResponse(response)
6969 if(!is.null(resource$errors))
6970 stop(resource$errors)
6975 groups.create = function(group, ensure_unique_name = "false")
6977 endPoint <- stringr::str_interp("groups")
6978 url <- paste0(private$host, endPoint)
6979 headers <- list(Authorization = paste("OAuth2", private$token),
6980 "Content-Type" = "application/json")
6981 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6983 if(length(group) > 0)
6984 body <- jsonlite::toJSON(list(group = group),
6989 response <- private$REST$http$exec("POST", url, headers, body,
6990 queryArgs, private$numRetries)
6991 resource <- private$REST$httpParser$parseJSONResponse(response)
6993 if(!is.null(resource$errors))
6994 stop(resource$errors)
6999 groups.update = function(group, uuid)
7001 endPoint <- stringr::str_interp("groups/${uuid}")
7002 url <- paste0(private$host, endPoint)
7003 headers <- list(Authorization = paste("OAuth2", private$token),
7004 "Content-Type" = "application/json")
7007 if(length(group) > 0)
7008 body <- jsonlite::toJSON(list(group = group),
7013 response <- private$REST$http$exec("PUT", url, headers, body,
7014 queryArgs, private$numRetries)
7015 resource <- private$REST$httpParser$parseJSONResponse(response)
7017 if(!is.null(resource$errors))
7018 stop(resource$errors)
7023 groups.delete = function(uuid)
7025 endPoint <- stringr::str_interp("groups/${uuid}")
7026 url <- paste0(private$host, endPoint)
7027 headers <- list(Authorization = paste("OAuth2", private$token),
7028 "Content-Type" = "application/json")
7033 response <- private$REST$http$exec("DELETE", url, headers, body,
7034 queryArgs, private$numRetries)
7035 resource <- private$REST$httpParser$parseJSONResponse(response)
7037 if(!is.null(resource$errors))
7038 stop(resource$errors)
7043 groups.contents = function(filters = NULL,
7044 where = NULL, order = NULL, distinct = NULL,
7045 limit = "100", offset = "0", count = "exact",
7046 include_trash = NULL, uuid = NULL, recursive = NULL)
7048 endPoint <- stringr::str_interp("groups/contents")
7049 url <- paste0(private$host, endPoint)
7050 headers <- list(Authorization = paste("OAuth2", private$token),
7051 "Content-Type" = "application/json")
7052 queryArgs <- list(filters = filters, where = where,
7053 order = order, distinct = distinct, limit = limit,
7054 offset = offset, count = count, include_trash = include_trash,
7055 uuid = uuid, recursive = recursive)
7059 response <- private$REST$http$exec("GET", url, headers, body,
7060 queryArgs, private$numRetries)
7061 resource <- private$REST$httpParser$parseJSONResponse(response)
7063 if(!is.null(resource$errors))
7064 stop(resource$errors)
7069 groups.trash = function(uuid)
7071 endPoint <- stringr::str_interp("groups/${uuid}/trash")
7072 url <- paste0(private$host, endPoint)
7073 headers <- list(Authorization = paste("OAuth2", private$token),
7074 "Content-Type" = "application/json")
7079 response <- private$REST$http$exec("POST", url, headers, body,
7080 queryArgs, private$numRetries)
7081 resource <- private$REST$httpParser$parseJSONResponse(response)
7083 if(!is.null(resource$errors))
7084 stop(resource$errors)
7089 groups.untrash = function(uuid)
7091 endPoint <- stringr::str_interp("groups/${uuid}/untrash")
7092 url <- paste0(private$host, endPoint)
7093 headers <- list(Authorization = paste("OAuth2", private$token),
7094 "Content-Type" = "application/json")
7099 response <- private$REST$http$exec("POST", url, headers, body,
7100 queryArgs, private$numRetries)
7101 resource <- private$REST$httpParser$parseJSONResponse(response)
7103 if(!is.null(resource$errors))
7104 stop(resource$errors)
7109 groups.list = function(filters = NULL, where = NULL,
7110 order = NULL, select = NULL, distinct = NULL,
7111 limit = "100", offset = "0", count = "exact",
7112 include_trash = NULL)
7114 endPoint <- stringr::str_interp("groups")
7115 url <- paste0(private$host, endPoint)
7116 headers <- list(Authorization = paste("OAuth2", private$token),
7117 "Content-Type" = "application/json")
7118 queryArgs <- list(filters = filters, where = where,
7119 order = order, select = select, distinct = distinct,
7120 limit = limit, offset = offset, count = count,
7121 include_trash = include_trash)
7125 response <- private$REST$http$exec("GET", url, headers, body,
7126 queryArgs, private$numRetries)
7127 resource <- private$REST$httpParser$parseJSONResponse(response)
7129 if(!is.null(resource$errors))
7130 stop(resource$errors)
7135 groups.show = function(uuid)
7137 endPoint <- stringr::str_interp("groups/${uuid}")
7138 url <- paste0(private$host, endPoint)
7139 headers <- list(Authorization = paste("OAuth2", private$token),
7140 "Content-Type" = "application/json")
7145 response <- private$REST$http$exec("GET", url, headers, body,
7146 queryArgs, private$numRetries)
7147 resource <- private$REST$httpParser$parseJSONResponse(response)
7149 if(!is.null(resource$errors))
7150 stop(resource$errors)
7155 groups.destroy = function(uuid)
7157 endPoint <- stringr::str_interp("groups/${uuid}")
7158 url <- paste0(private$host, endPoint)
7159 headers <- list(Authorization = paste("OAuth2", private$token),
7160 "Content-Type" = "application/json")
7165 response <- private$REST$http$exec("DELETE", url, headers, body,
7166 queryArgs, private$numRetries)
7167 resource <- private$REST$httpParser$parseJSONResponse(response)
7169 if(!is.null(resource$errors))
7170 stop(resource$errors)
7175 user_agreements.get = function(uuid)
7177 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7178 url <- paste0(private$host, endPoint)
7179 headers <- list(Authorization = paste("OAuth2", private$token),
7180 "Content-Type" = "application/json")
7185 response <- private$REST$http$exec("GET", url, headers, body,
7186 queryArgs, private$numRetries)
7187 resource <- private$REST$httpParser$parseJSONResponse(response)
7189 if(!is.null(resource$errors))
7190 stop(resource$errors)
7195 user_agreements.index = function(filters = NULL,
7196 where = NULL, order = NULL, select = NULL,
7197 distinct = NULL, limit = "100", offset = "0",
7200 endPoint <- stringr::str_interp("user_agreements")
7201 url <- paste0(private$host, endPoint)
7202 headers <- list(Authorization = paste("OAuth2", private$token),
7203 "Content-Type" = "application/json")
7204 queryArgs <- list(filters = filters, where = where,
7205 order = order, select = select, distinct = distinct,
7206 limit = limit, offset = offset, count = count)
7210 response <- private$REST$http$exec("GET", url, headers, body,
7211 queryArgs, private$numRetries)
7212 resource <- private$REST$httpParser$parseJSONResponse(response)
7214 if(!is.null(resource$errors))
7215 stop(resource$errors)
7220 user_agreements.create = function(useragreement,
7221 ensure_unique_name = "false")
7223 endPoint <- stringr::str_interp("user_agreements")
7224 url <- paste0(private$host, endPoint)
7225 headers <- list(Authorization = paste("OAuth2", private$token),
7226 "Content-Type" = "application/json")
7227 queryArgs <- list(ensure_unique_name = ensure_unique_name)
7229 if(length(useragreement) > 0)
7230 body <- jsonlite::toJSON(list(useragreement = useragreement),
7235 response <- private$REST$http$exec("POST", url, headers, body,
7236 queryArgs, private$numRetries)
7237 resource <- private$REST$httpParser$parseJSONResponse(response)
7239 if(!is.null(resource$errors))
7240 stop(resource$errors)
7245 user_agreements.update = function(useragreement, uuid)
7247 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7248 url <- paste0(private$host, endPoint)
7249 headers <- list(Authorization = paste("OAuth2", private$token),
7250 "Content-Type" = "application/json")
7253 if(length(useragreement) > 0)
7254 body <- jsonlite::toJSON(list(useragreement = useragreement),
7259 response <- private$REST$http$exec("PUT", url, headers, body,
7260 queryArgs, private$numRetries)
7261 resource <- private$REST$httpParser$parseJSONResponse(response)
7263 if(!is.null(resource$errors))
7264 stop(resource$errors)
7269 user_agreements.delete = function(uuid)
7271 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7272 url <- paste0(private$host, endPoint)
7273 headers <- list(Authorization = paste("OAuth2", private$token),
7274 "Content-Type" = "application/json")
7279 response <- private$REST$http$exec("DELETE", url, headers, body,
7280 queryArgs, private$numRetries)
7281 resource <- private$REST$httpParser$parseJSONResponse(response)
7283 if(!is.null(resource$errors))
7284 stop(resource$errors)
7289 user_agreements.signatures = function()
7291 endPoint <- stringr::str_interp("user_agreements/signatures")
7292 url <- paste0(private$host, endPoint)
7293 headers <- list(Authorization = paste("OAuth2", private$token),
7294 "Content-Type" = "application/json")
7299 response <- private$REST$http$exec("GET", url, headers, body,
7300 queryArgs, private$numRetries)
7301 resource <- private$REST$httpParser$parseJSONResponse(response)
7303 if(!is.null(resource$errors))
7304 stop(resource$errors)
7309 user_agreements.sign = function()
7311 endPoint <- stringr::str_interp("user_agreements/sign")
7312 url <- paste0(private$host, endPoint)
7313 headers <- list(Authorization = paste("OAuth2", private$token),
7314 "Content-Type" = "application/json")
7319 response <- private$REST$http$exec("POST", url, headers, body,
7320 queryArgs, private$numRetries)
7321 resource <- private$REST$httpParser$parseJSONResponse(response)
7323 if(!is.null(resource$errors))
7324 stop(resource$errors)
7329 user_agreements.list = function(filters = NULL,
7330 where = NULL, order = NULL, select = NULL,
7331 distinct = NULL, limit = "100", offset = "0",
7334 endPoint <- stringr::str_interp("user_agreements")
7335 url <- paste0(private$host, endPoint)
7336 headers <- list(Authorization = paste("OAuth2", private$token),
7337 "Content-Type" = "application/json")
7338 queryArgs <- list(filters = filters, where = where,
7339 order = order, select = select, distinct = distinct,
7340 limit = limit, offset = offset, count = count)
7344 response <- private$REST$http$exec("GET", url, headers, body,
7345 queryArgs, private$numRetries)
7346 resource <- private$REST$httpParser$parseJSONResponse(response)
7348 if(!is.null(resource$errors))
7349 stop(resource$errors)
7354 user_agreements.new = function()
7356 endPoint <- stringr::str_interp("user_agreements/new")
7357 url <- paste0(private$host, endPoint)
7358 headers <- list(Authorization = paste("OAuth2", private$token),
7359 "Content-Type" = "application/json")
7364 response <- private$REST$http$exec("GET", url, headers, body,
7365 queryArgs, private$numRetries)
7366 resource <- private$REST$httpParser$parseJSONResponse(response)
7368 if(!is.null(resource$errors))
7369 stop(resource$errors)
7374 user_agreements.show = function(uuid)
7376 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7377 url <- paste0(private$host, endPoint)
7378 headers <- list(Authorization = paste("OAuth2", private$token),
7379 "Content-Type" = "application/json")
7384 response <- private$REST$http$exec("GET", url, headers, body,
7385 queryArgs, private$numRetries)
7386 resource <- private$REST$httpParser$parseJSONResponse(response)
7388 if(!is.null(resource$errors))
7389 stop(resource$errors)
7394 user_agreements.destroy = function(uuid)
7396 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7397 url <- paste0(private$host, endPoint)
7398 headers <- list(Authorization = paste("OAuth2", private$token),
7399 "Content-Type" = "application/json")
7404 response <- private$REST$http$exec("DELETE", url, headers, body,
7405 queryArgs, private$numRetries)
7406 resource <- private$REST$httpParser$parseJSONResponse(response)
7408 if(!is.null(resource$errors))
7409 stop(resource$errors)
7414 getHostName = function() private$host,
7415 getToken = function() private$token,
7416 setRESTService = function(newREST) private$REST <- newREST,
7417 getRESTService = function() private$REST