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 #' containers.get is a method defined in Arvados class.
246 #' @usage arv$containers.get(uuid)
247 #' @param uuid The UUID of the Container in question.
248 #' @return Container object.
249 #' @name containers.get
252 #' containers.index is a method defined in Arvados class.
254 #' @usage arv$containers.index(filters = NULL,
255 #' where = NULL, order = NULL, select = NULL,
256 #' distinct = NULL, limit = "100", offset = "0",
266 #' @return ContainerList object.
267 #' @name containers.index
270 #' containers.create is a method defined in Arvados class.
272 #' @usage arv$containers.create(container,
273 #' ensure_unique_name = "false")
274 #' @param container Container object.
275 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
276 #' @return Container object.
277 #' @name containers.create
280 #' containers.update is a method defined in Arvados class.
282 #' @usage arv$containers.update(container,
284 #' @param container Container object.
285 #' @param uuid The UUID of the Container in question.
286 #' @return Container object.
287 #' @name containers.update
290 #' containers.delete is a method defined in Arvados class.
292 #' @usage arv$containers.delete(uuid)
293 #' @param uuid The UUID of the Container in question.
294 #' @return Container object.
295 #' @name containers.delete
298 #' containers.auth is a method defined in Arvados class.
300 #' @usage arv$containers.auth(uuid)
302 #' @return Container object.
303 #' @name containers.auth
306 #' containers.lock is a method defined in Arvados class.
308 #' @usage arv$containers.lock(uuid)
310 #' @return Container object.
311 #' @name containers.lock
314 #' containers.unlock is a method defined in Arvados class.
316 #' @usage arv$containers.unlock(uuid)
318 #' @return Container object.
319 #' @name containers.unlock
322 #' containers.secret_mounts is a method defined in Arvados class.
324 #' @usage arv$containers.secret_mounts(uuid)
326 #' @return Container object.
327 #' @name containers.secret_mounts
330 #' containers.current is a method defined in Arvados class.
332 #' @usage arv$containers.current(NULL)
333 #' @return Container object.
334 #' @name containers.current
337 #' containers.list is a method defined in Arvados class.
339 #' @usage arv$containers.list(filters = NULL,
340 #' where = NULL, order = NULL, select = NULL,
341 #' distinct = NULL, limit = "100", offset = "0",
351 #' @return ContainerList object.
352 #' @name containers.list
355 #' containers.show is a method defined in Arvados class.
357 #' @usage arv$containers.show(uuid)
359 #' @return Container object.
360 #' @name containers.show
363 #' containers.destroy is a method defined in Arvados class.
365 #' @usage arv$containers.destroy(uuid)
367 #' @return Container object.
368 #' @name containers.destroy
371 #' api_clients.get is a method defined in Arvados class.
373 #' @usage arv$api_clients.get(uuid)
374 #' @param uuid The UUID of the ApiClient in question.
375 #' @return ApiClient object.
376 #' @name api_clients.get
379 #' api_clients.index is a method defined in Arvados class.
381 #' @usage arv$api_clients.index(filters = NULL,
382 #' where = NULL, order = NULL, select = NULL,
383 #' distinct = NULL, limit = "100", offset = "0",
393 #' @return ApiClientList object.
394 #' @name api_clients.index
397 #' api_clients.create is a method defined in Arvados class.
399 #' @usage arv$api_clients.create(apiclient,
400 #' ensure_unique_name = "false")
401 #' @param apiClient ApiClient object.
402 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
403 #' @return ApiClient object.
404 #' @name api_clients.create
407 #' api_clients.update is a method defined in Arvados class.
409 #' @usage arv$api_clients.update(apiclient,
411 #' @param apiClient ApiClient object.
412 #' @param uuid The UUID of the ApiClient in question.
413 #' @return ApiClient object.
414 #' @name api_clients.update
417 #' api_clients.delete is a method defined in Arvados class.
419 #' @usage arv$api_clients.delete(uuid)
420 #' @param uuid The UUID of the ApiClient in question.
421 #' @return ApiClient object.
422 #' @name api_clients.delete
425 #' api_clients.list is a method defined in Arvados class.
427 #' @usage arv$api_clients.list(filters = NULL,
428 #' where = NULL, order = NULL, select = NULL,
429 #' distinct = NULL, limit = "100", offset = "0",
439 #' @return ApiClientList object.
440 #' @name api_clients.list
443 #' api_clients.show is a method defined in Arvados class.
445 #' @usage arv$api_clients.show(uuid)
447 #' @return ApiClient object.
448 #' @name api_clients.show
451 #' api_clients.destroy is a method defined in Arvados class.
453 #' @usage arv$api_clients.destroy(uuid)
455 #' @return ApiClient object.
456 #' @name api_clients.destroy
459 #' authorized_keys.get is a method defined in Arvados class.
461 #' @usage arv$authorized_keys.get(uuid)
462 #' @param uuid The UUID of the AuthorizedKey in question.
463 #' @return AuthorizedKey object.
464 #' @name authorized_keys.get
467 #' authorized_keys.index is a method defined in Arvados class.
469 #' @usage arv$authorized_keys.index(filters = NULL,
470 #' where = NULL, order = NULL, select = NULL,
471 #' distinct = NULL, limit = "100", offset = "0",
481 #' @return AuthorizedKeyList object.
482 #' @name authorized_keys.index
485 #' authorized_keys.create is a method defined in Arvados class.
487 #' @usage arv$authorized_keys.create(authorizedkey,
488 #' ensure_unique_name = "false")
489 #' @param authorizedKey AuthorizedKey object.
490 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
491 #' @return AuthorizedKey object.
492 #' @name authorized_keys.create
495 #' authorized_keys.update is a method defined in Arvados class.
497 #' @usage arv$authorized_keys.update(authorizedkey,
499 #' @param authorizedKey AuthorizedKey object.
500 #' @param uuid The UUID of the AuthorizedKey in question.
501 #' @return AuthorizedKey object.
502 #' @name authorized_keys.update
505 #' authorized_keys.delete is a method defined in Arvados class.
507 #' @usage arv$authorized_keys.delete(uuid)
508 #' @param uuid The UUID of the AuthorizedKey in question.
509 #' @return AuthorizedKey object.
510 #' @name authorized_keys.delete
513 #' authorized_keys.list is a method defined in Arvados class.
515 #' @usage arv$authorized_keys.list(filters = NULL,
516 #' where = NULL, order = NULL, select = NULL,
517 #' distinct = NULL, limit = "100", offset = "0",
527 #' @return AuthorizedKeyList object.
528 #' @name authorized_keys.list
531 #' authorized_keys.show is a method defined in Arvados class.
533 #' @usage arv$authorized_keys.show(uuid)
535 #' @return AuthorizedKey object.
536 #' @name authorized_keys.show
539 #' authorized_keys.destroy is a method defined in Arvados class.
541 #' @usage arv$authorized_keys.destroy(uuid)
543 #' @return AuthorizedKey object.
544 #' @name authorized_keys.destroy
547 #' container_requests.get is a method defined in Arvados class.
549 #' @usage arv$container_requests.get(uuid)
550 #' @param uuid The UUID of the ContainerRequest in question.
551 #' @return ContainerRequest object.
552 #' @name container_requests.get
555 #' container_requests.index is a method defined in Arvados class.
557 #' @usage arv$container_requests.index(filters = NULL,
558 #' where = NULL, order = NULL, select = NULL,
559 #' distinct = NULL, limit = "100", offset = "0",
569 #' @return ContainerRequestList object.
570 #' @name container_requests.index
573 #' container_requests.create is a method defined in Arvados class.
575 #' @usage arv$container_requests.create(containerrequest,
576 #' ensure_unique_name = "false")
577 #' @param containerRequest ContainerRequest object.
578 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
579 #' @return ContainerRequest object.
580 #' @name container_requests.create
583 #' container_requests.update is a method defined in Arvados class.
585 #' @usage arv$container_requests.update(containerrequest,
587 #' @param containerRequest ContainerRequest object.
588 #' @param uuid The UUID of the ContainerRequest in question.
589 #' @return ContainerRequest object.
590 #' @name container_requests.update
593 #' container_requests.delete is a method defined in Arvados class.
595 #' @usage arv$container_requests.delete(uuid)
596 #' @param uuid The UUID of the ContainerRequest in question.
597 #' @return ContainerRequest object.
598 #' @name container_requests.delete
601 #' container_requests.list is a method defined in Arvados class.
603 #' @usage arv$container_requests.list(filters = NULL,
604 #' where = NULL, order = NULL, select = NULL,
605 #' distinct = NULL, limit = "100", offset = "0",
615 #' @return ContainerRequestList object.
616 #' @name container_requests.list
619 #' container_requests.show is a method defined in Arvados class.
621 #' @usage arv$container_requests.show(uuid)
623 #' @return ContainerRequest object.
624 #' @name container_requests.show
627 #' container_requests.destroy is a method defined in Arvados class.
629 #' @usage arv$container_requests.destroy(uuid)
631 #' @return ContainerRequest object.
632 #' @name container_requests.destroy
635 #' collections.get is a method defined in Arvados class.
637 #' @usage arv$collections.get(uuid)
638 #' @param uuid The UUID of the Collection in question.
639 #' @return Collection object.
640 #' @name collections.get
643 #' collections.index is a method defined in Arvados class.
645 #' @usage arv$collections.index(filters = NULL,
646 #' where = NULL, order = NULL, select = NULL,
647 #' distinct = NULL, limit = "100", offset = "0",
648 #' count = "exact", include_trash = NULL)
657 #' @param include_trash Include collections whose is_trashed attribute is true.
658 #' @return CollectionList object.
659 #' @name collections.index
662 #' collections.create is a method defined in Arvados class.
664 #' @usage arv$collections.create(collection,
665 #' ensure_unique_name = "false")
666 #' @param collection Collection object.
667 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
668 #' @return Collection object.
669 #' @name collections.create
672 #' collections.update is a method defined in Arvados class.
674 #' @usage arv$collections.update(collection,
676 #' @param collection Collection object.
677 #' @param uuid The UUID of the Collection in question.
678 #' @return Collection object.
679 #' @name collections.update
682 #' collections.delete is a method defined in Arvados class.
684 #' @usage arv$collections.delete(uuid)
685 #' @param uuid The UUID of the Collection in question.
686 #' @return Collection object.
687 #' @name collections.delete
690 #' collections.provenance is a method defined in Arvados class.
692 #' @usage arv$collections.provenance(uuid)
694 #' @return Collection object.
695 #' @name collections.provenance
698 #' collections.used_by is a method defined in Arvados class.
700 #' @usage arv$collections.used_by(uuid)
702 #' @return Collection object.
703 #' @name collections.used_by
706 #' collections.trash is a method defined in Arvados class.
708 #' @usage arv$collections.trash(uuid)
710 #' @return Collection object.
711 #' @name collections.trash
714 #' collections.untrash is a method defined in Arvados class.
716 #' @usage arv$collections.untrash(uuid)
718 #' @return Collection object.
719 #' @name collections.untrash
722 #' collections.list is a method defined in Arvados class.
724 #' @usage arv$collections.list(filters = NULL,
725 #' where = NULL, order = NULL, select = NULL,
726 #' distinct = NULL, limit = "100", offset = "0",
727 #' count = "exact", include_trash = NULL)
736 #' @param include_trash Include collections whose is_trashed attribute is true.
737 #' @return CollectionList object.
738 #' @name collections.list
741 #' collections.show is a method defined in Arvados class.
743 #' @usage arv$collections.show(uuid)
745 #' @return Collection object.
746 #' @name collections.show
749 #' collections.destroy is a method defined in Arvados class.
751 #' @usage arv$collections.destroy(uuid)
753 #' @return Collection object.
754 #' @name collections.destroy
757 #' humans.get is a method defined in Arvados class.
759 #' @usage arv$humans.get(uuid)
760 #' @param uuid The UUID of the Human in question.
761 #' @return Human object.
765 #' humans.index is a method defined in Arvados class.
767 #' @usage arv$humans.index(filters = NULL,
768 #' where = NULL, order = NULL, select = NULL,
769 #' distinct = NULL, limit = "100", offset = "0",
779 #' @return HumanList object.
780 #' @name humans.index
783 #' humans.create is a method defined in Arvados class.
785 #' @usage arv$humans.create(human, ensure_unique_name = "false")
786 #' @param human Human object.
787 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
788 #' @return Human object.
789 #' @name humans.create
792 #' humans.update is a method defined in Arvados class.
794 #' @usage arv$humans.update(human, uuid)
795 #' @param human Human object.
796 #' @param uuid The UUID of the Human in question.
797 #' @return Human object.
798 #' @name humans.update
801 #' humans.delete is a method defined in Arvados class.
803 #' @usage arv$humans.delete(uuid)
804 #' @param uuid The UUID of the Human in question.
805 #' @return Human object.
806 #' @name humans.delete
809 #' humans.list is a method defined in Arvados class.
811 #' @usage arv$humans.list(filters = NULL,
812 #' where = NULL, order = NULL, select = NULL,
813 #' distinct = NULL, limit = "100", offset = "0",
823 #' @return HumanList object.
827 #' humans.show is a method defined in Arvados class.
829 #' @usage arv$humans.show(uuid)
831 #' @return Human object.
835 #' humans.destroy is a method defined in Arvados class.
837 #' @usage arv$humans.destroy(uuid)
839 #' @return Human object.
840 #' @name humans.destroy
843 #' job_tasks.get is a method defined in Arvados class.
845 #' @usage arv$job_tasks.get(uuid)
846 #' @param uuid The UUID of the JobTask in question.
847 #' @return JobTask object.
848 #' @name job_tasks.get
851 #' job_tasks.index is a method defined in Arvados class.
853 #' @usage arv$job_tasks.index(filters = NULL,
854 #' where = NULL, order = NULL, select = NULL,
855 #' distinct = NULL, limit = "100", offset = "0",
865 #' @return JobTaskList object.
866 #' @name job_tasks.index
869 #' job_tasks.create is a method defined in Arvados class.
871 #' @usage arv$job_tasks.create(jobtask, ensure_unique_name = "false")
872 #' @param jobTask JobTask object.
873 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
874 #' @return JobTask object.
875 #' @name job_tasks.create
878 #' job_tasks.update is a method defined in Arvados class.
880 #' @usage arv$job_tasks.update(jobtask, uuid)
881 #' @param jobTask JobTask object.
882 #' @param uuid The UUID of the JobTask in question.
883 #' @return JobTask object.
884 #' @name job_tasks.update
887 #' job_tasks.delete is a method defined in Arvados class.
889 #' @usage arv$job_tasks.delete(uuid)
890 #' @param uuid The UUID of the JobTask in question.
891 #' @return JobTask object.
892 #' @name job_tasks.delete
895 #' job_tasks.list is a method defined in Arvados class.
897 #' @usage arv$job_tasks.list(filters = NULL,
898 #' where = NULL, order = NULL, select = NULL,
899 #' distinct = NULL, limit = "100", offset = "0",
909 #' @return JobTaskList object.
910 #' @name job_tasks.list
913 #' job_tasks.show is a method defined in Arvados class.
915 #' @usage arv$job_tasks.show(uuid)
917 #' @return JobTask object.
918 #' @name job_tasks.show
921 #' job_tasks.destroy is a method defined in Arvados class.
923 #' @usage arv$job_tasks.destroy(uuid)
925 #' @return JobTask object.
926 #' @name job_tasks.destroy
929 #' links.get is a method defined in Arvados class.
931 #' @usage arv$links.get(uuid)
932 #' @param uuid The UUID of the Link in question.
933 #' @return Link object.
937 #' links.index is a method defined in Arvados class.
939 #' @usage arv$links.index(filters = NULL,
940 #' where = NULL, order = NULL, select = NULL,
941 #' distinct = NULL, limit = "100", offset = "0",
951 #' @return LinkList object.
955 #' links.create is a method defined in Arvados class.
957 #' @usage arv$links.create(link, ensure_unique_name = "false")
958 #' @param link Link object.
959 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
960 #' @return Link object.
961 #' @name links.create
964 #' links.update is a method defined in Arvados class.
966 #' @usage arv$links.update(link, uuid)
967 #' @param link Link object.
968 #' @param uuid The UUID of the Link in question.
969 #' @return Link object.
970 #' @name links.update
973 #' links.delete is a method defined in Arvados class.
975 #' @usage arv$links.delete(uuid)
976 #' @param uuid The UUID of the Link in question.
977 #' @return Link object.
978 #' @name links.delete
981 #' links.list is a method defined in Arvados class.
983 #' @usage arv$links.list(filters = NULL,
984 #' where = NULL, order = NULL, select = NULL,
985 #' distinct = NULL, limit = "100", offset = "0",
995 #' @return LinkList object.
999 #' links.show is a method defined in Arvados class.
1001 #' @usage arv$links.show(uuid)
1003 #' @return Link object.
1007 #' links.destroy is a method defined in Arvados class.
1009 #' @usage arv$links.destroy(uuid)
1011 #' @return Link object.
1012 #' @name links.destroy
1015 #' links.get_permissions is a method defined in Arvados class.
1017 #' @usage arv$links.get_permissions(uuid)
1019 #' @return Link object.
1020 #' @name links.get_permissions
1023 #' jobs.get is a method defined in Arvados class.
1025 #' @usage arv$jobs.get(uuid)
1026 #' @param uuid The UUID of the Job in question.
1027 #' @return Job object.
1031 #' jobs.index is a method defined in Arvados class.
1033 #' @usage arv$jobs.index(filters = NULL,
1034 #' where = NULL, order = NULL, select = NULL,
1035 #' distinct = NULL, limit = "100", offset = "0",
1045 #' @return JobList object.
1049 #' jobs.create is a method defined in Arvados class.
1051 #' @usage arv$jobs.create(job, ensure_unique_name = "false",
1052 #' find_or_create = "false", filters = NULL,
1053 #' minimum_script_version = NULL, exclude_script_versions = NULL)
1054 #' @param job Job object.
1055 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1056 #' @param find_or_create
1058 #' @param minimum_script_version
1059 #' @param exclude_script_versions
1060 #' @return Job object.
1061 #' @name jobs.create
1064 #' jobs.update is a method defined in Arvados class.
1066 #' @usage arv$jobs.update(job, uuid)
1067 #' @param job Job object.
1068 #' @param uuid The UUID of the Job in question.
1069 #' @return Job object.
1070 #' @name jobs.update
1073 #' jobs.delete is a method defined in Arvados class.
1075 #' @usage arv$jobs.delete(uuid)
1076 #' @param uuid The UUID of the Job in question.
1077 #' @return Job object.
1078 #' @name jobs.delete
1081 #' jobs.queue is a method defined in Arvados class.
1083 #' @usage arv$jobs.queue(filters = NULL,
1084 #' where = NULL, order = NULL, select = NULL,
1085 #' distinct = NULL, limit = "100", offset = "0",
1095 #' @return Job object.
1099 #' jobs.queue_size is a method defined in Arvados class.
1101 #' @usage arv$jobs.queue_size(NULL)
1102 #' @return Job object.
1103 #' @name jobs.queue_size
1106 #' jobs.cancel is a method defined in Arvados class.
1108 #' @usage arv$jobs.cancel(uuid)
1110 #' @return Job object.
1111 #' @name jobs.cancel
1114 #' jobs.lock is a method defined in Arvados class.
1116 #' @usage arv$jobs.lock(uuid)
1118 #' @return Job object.
1122 #' jobs.list is a method defined in Arvados class.
1124 #' @usage arv$jobs.list(filters = NULL, where = NULL,
1125 #' order = NULL, select = NULL, distinct = NULL,
1126 #' limit = "100", offset = "0", count = "exact")
1135 #' @return JobList object.
1139 #' jobs.show is a method defined in Arvados class.
1141 #' @usage arv$jobs.show(uuid)
1143 #' @return Job object.
1147 #' jobs.destroy is a method defined in Arvados class.
1149 #' @usage arv$jobs.destroy(uuid)
1151 #' @return Job object.
1152 #' @name jobs.destroy
1155 #' keep_disks.get is a method defined in Arvados class.
1157 #' @usage arv$keep_disks.get(uuid)
1158 #' @param uuid The UUID of the KeepDisk in question.
1159 #' @return KeepDisk object.
1160 #' @name keep_disks.get
1163 #' keep_disks.index is a method defined in Arvados class.
1165 #' @usage arv$keep_disks.index(filters = NULL,
1166 #' where = NULL, order = NULL, select = NULL,
1167 #' distinct = NULL, limit = "100", offset = "0",
1177 #' @return KeepDiskList object.
1178 #' @name keep_disks.index
1181 #' keep_disks.create is a method defined in Arvados class.
1183 #' @usage arv$keep_disks.create(keepdisk,
1184 #' ensure_unique_name = "false")
1185 #' @param keepDisk KeepDisk object.
1186 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1187 #' @return KeepDisk object.
1188 #' @name keep_disks.create
1191 #' keep_disks.update is a method defined in Arvados class.
1193 #' @usage arv$keep_disks.update(keepdisk,
1195 #' @param keepDisk KeepDisk object.
1196 #' @param uuid The UUID of the KeepDisk in question.
1197 #' @return KeepDisk object.
1198 #' @name keep_disks.update
1201 #' keep_disks.delete is a method defined in Arvados class.
1203 #' @usage arv$keep_disks.delete(uuid)
1204 #' @param uuid The UUID of the KeepDisk in question.
1205 #' @return KeepDisk object.
1206 #' @name keep_disks.delete
1209 #' keep_disks.ping is a method defined in Arvados class.
1211 #' @usage arv$keep_disks.ping(uuid = NULL,
1212 #' ping_secret, node_uuid = NULL, filesystem_uuid = NULL,
1213 #' service_host = NULL, service_port, service_ssl_flag)
1215 #' @param ping_secret
1217 #' @param filesystem_uuid
1218 #' @param service_host
1219 #' @param service_port
1220 #' @param service_ssl_flag
1221 #' @return KeepDisk object.
1222 #' @name keep_disks.ping
1225 #' keep_disks.list is a method defined in Arvados class.
1227 #' @usage arv$keep_disks.list(filters = NULL,
1228 #' where = NULL, order = NULL, select = NULL,
1229 #' distinct = NULL, limit = "100", offset = "0",
1239 #' @return KeepDiskList object.
1240 #' @name keep_disks.list
1243 #' keep_disks.show is a method defined in Arvados class.
1245 #' @usage arv$keep_disks.show(uuid)
1247 #' @return KeepDisk object.
1248 #' @name keep_disks.show
1251 #' keep_disks.destroy is a method defined in Arvados class.
1253 #' @usage arv$keep_disks.destroy(uuid)
1255 #' @return KeepDisk object.
1256 #' @name keep_disks.destroy
1259 #' keep_services.get is a method defined in Arvados class.
1261 #' @usage arv$keep_services.get(uuid)
1262 #' @param uuid The UUID of the KeepService in question.
1263 #' @return KeepService object.
1264 #' @name keep_services.get
1267 #' keep_services.index is a method defined in Arvados class.
1269 #' @usage arv$keep_services.index(filters = NULL,
1270 #' where = NULL, order = NULL, select = NULL,
1271 #' distinct = NULL, limit = "100", offset = "0",
1281 #' @return KeepServiceList object.
1282 #' @name keep_services.index
1285 #' keep_services.create is a method defined in Arvados class.
1287 #' @usage arv$keep_services.create(keepservice,
1288 #' ensure_unique_name = "false")
1289 #' @param keepService KeepService object.
1290 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1291 #' @return KeepService object.
1292 #' @name keep_services.create
1295 #' keep_services.update is a method defined in Arvados class.
1297 #' @usage arv$keep_services.update(keepservice,
1299 #' @param keepService KeepService object.
1300 #' @param uuid The UUID of the KeepService in question.
1301 #' @return KeepService object.
1302 #' @name keep_services.update
1305 #' keep_services.delete is a method defined in Arvados class.
1307 #' @usage arv$keep_services.delete(uuid)
1308 #' @param uuid The UUID of the KeepService in question.
1309 #' @return KeepService object.
1310 #' @name keep_services.delete
1313 #' keep_services.accessible is a method defined in Arvados class.
1315 #' @usage arv$keep_services.accessible(NULL)
1316 #' @return KeepService object.
1317 #' @name keep_services.accessible
1320 #' keep_services.list is a method defined in Arvados class.
1322 #' @usage arv$keep_services.list(filters = NULL,
1323 #' where = NULL, order = NULL, select = NULL,
1324 #' distinct = NULL, limit = "100", offset = "0",
1334 #' @return KeepServiceList object.
1335 #' @name keep_services.list
1338 #' keep_services.show is a method defined in Arvados class.
1340 #' @usage arv$keep_services.show(uuid)
1342 #' @return KeepService object.
1343 #' @name keep_services.show
1346 #' keep_services.destroy is a method defined in Arvados class.
1348 #' @usage arv$keep_services.destroy(uuid)
1350 #' @return KeepService object.
1351 #' @name keep_services.destroy
1354 #' pipeline_templates.get is a method defined in Arvados class.
1356 #' @usage arv$pipeline_templates.get(uuid)
1357 #' @param uuid The UUID of the PipelineTemplate in question.
1358 #' @return PipelineTemplate object.
1359 #' @name pipeline_templates.get
1362 #' pipeline_templates.index is a method defined in Arvados class.
1364 #' @usage arv$pipeline_templates.index(filters = NULL,
1365 #' where = NULL, order = NULL, select = NULL,
1366 #' distinct = NULL, limit = "100", offset = "0",
1376 #' @return PipelineTemplateList object.
1377 #' @name pipeline_templates.index
1380 #' pipeline_templates.create is a method defined in Arvados class.
1382 #' @usage arv$pipeline_templates.create(pipelinetemplate,
1383 #' ensure_unique_name = "false")
1384 #' @param pipelineTemplate PipelineTemplate object.
1385 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1386 #' @return PipelineTemplate object.
1387 #' @name pipeline_templates.create
1390 #' pipeline_templates.update is a method defined in Arvados class.
1392 #' @usage arv$pipeline_templates.update(pipelinetemplate,
1394 #' @param pipelineTemplate PipelineTemplate object.
1395 #' @param uuid The UUID of the PipelineTemplate in question.
1396 #' @return PipelineTemplate object.
1397 #' @name pipeline_templates.update
1400 #' pipeline_templates.delete is a method defined in Arvados class.
1402 #' @usage arv$pipeline_templates.delete(uuid)
1403 #' @param uuid The UUID of the PipelineTemplate in question.
1404 #' @return PipelineTemplate object.
1405 #' @name pipeline_templates.delete
1408 #' pipeline_templates.list is a method defined in Arvados class.
1410 #' @usage arv$pipeline_templates.list(filters = NULL,
1411 #' where = NULL, order = NULL, select = NULL,
1412 #' distinct = NULL, limit = "100", offset = "0",
1422 #' @return PipelineTemplateList object.
1423 #' @name pipeline_templates.list
1426 #' pipeline_templates.show is a method defined in Arvados class.
1428 #' @usage arv$pipeline_templates.show(uuid)
1430 #' @return PipelineTemplate object.
1431 #' @name pipeline_templates.show
1434 #' pipeline_templates.destroy is a method defined in Arvados class.
1436 #' @usage arv$pipeline_templates.destroy(uuid)
1438 #' @return PipelineTemplate object.
1439 #' @name pipeline_templates.destroy
1442 #' pipeline_instances.get is a method defined in Arvados class.
1444 #' @usage arv$pipeline_instances.get(uuid)
1445 #' @param uuid The UUID of the PipelineInstance in question.
1446 #' @return PipelineInstance object.
1447 #' @name pipeline_instances.get
1450 #' pipeline_instances.index is a method defined in Arvados class.
1452 #' @usage arv$pipeline_instances.index(filters = NULL,
1453 #' where = NULL, order = NULL, select = NULL,
1454 #' distinct = NULL, limit = "100", offset = "0",
1464 #' @return PipelineInstanceList object.
1465 #' @name pipeline_instances.index
1468 #' pipeline_instances.create is a method defined in Arvados class.
1470 #' @usage arv$pipeline_instances.create(pipelineinstance,
1471 #' ensure_unique_name = "false")
1472 #' @param pipelineInstance PipelineInstance object.
1473 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1474 #' @return PipelineInstance object.
1475 #' @name pipeline_instances.create
1478 #' pipeline_instances.update is a method defined in Arvados class.
1480 #' @usage arv$pipeline_instances.update(pipelineinstance,
1482 #' @param pipelineInstance PipelineInstance object.
1483 #' @param uuid The UUID of the PipelineInstance in question.
1484 #' @return PipelineInstance object.
1485 #' @name pipeline_instances.update
1488 #' pipeline_instances.delete is a method defined in Arvados class.
1490 #' @usage arv$pipeline_instances.delete(uuid)
1491 #' @param uuid The UUID of the PipelineInstance in question.
1492 #' @return PipelineInstance object.
1493 #' @name pipeline_instances.delete
1496 #' pipeline_instances.cancel is a method defined in Arvados class.
1498 #' @usage arv$pipeline_instances.cancel(uuid)
1500 #' @return PipelineInstance object.
1501 #' @name pipeline_instances.cancel
1504 #' pipeline_instances.list is a method defined in Arvados class.
1506 #' @usage arv$pipeline_instances.list(filters = NULL,
1507 #' where = NULL, order = NULL, select = NULL,
1508 #' distinct = NULL, limit = "100", offset = "0",
1518 #' @return PipelineInstanceList object.
1519 #' @name pipeline_instances.list
1522 #' pipeline_instances.show is a method defined in Arvados class.
1524 #' @usage arv$pipeline_instances.show(uuid)
1526 #' @return PipelineInstance object.
1527 #' @name pipeline_instances.show
1530 #' pipeline_instances.destroy is a method defined in Arvados class.
1532 #' @usage arv$pipeline_instances.destroy(uuid)
1534 #' @return PipelineInstance object.
1535 #' @name pipeline_instances.destroy
1538 #' nodes.get is a method defined in Arvados class.
1540 #' @usage arv$nodes.get(uuid)
1541 #' @param uuid The UUID of the Node in question.
1542 #' @return Node object.
1546 #' nodes.index is a method defined in Arvados class.
1548 #' @usage arv$nodes.index(filters = NULL,
1549 #' where = NULL, order = NULL, select = NULL,
1550 #' distinct = NULL, limit = "100", offset = "0",
1560 #' @return NodeList object.
1561 #' @name nodes.index
1564 #' nodes.create is a method defined in Arvados class.
1566 #' @usage arv$nodes.create(node, ensure_unique_name = "false",
1567 #' assign_slot = NULL)
1568 #' @param node Node object.
1569 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1570 #' @param assign_slot assign slot and hostname
1571 #' @return Node object.
1572 #' @name nodes.create
1575 #' nodes.update is a method defined in Arvados class.
1577 #' @usage arv$nodes.update(node, uuid, assign_slot = NULL)
1578 #' @param node Node object.
1579 #' @param uuid The UUID of the Node in question.
1580 #' @param assign_slot assign slot and hostname
1581 #' @return Node object.
1582 #' @name nodes.update
1585 #' nodes.delete is a method defined in Arvados class.
1587 #' @usage arv$nodes.delete(uuid)
1588 #' @param uuid The UUID of the Node in question.
1589 #' @return Node object.
1590 #' @name nodes.delete
1593 #' nodes.ping is a method defined in Arvados class.
1595 #' @usage arv$nodes.ping(uuid, ping_secret)
1597 #' @param ping_secret
1598 #' @return Node object.
1602 #' nodes.list is a method defined in Arvados class.
1604 #' @usage arv$nodes.list(filters = NULL,
1605 #' where = NULL, order = NULL, select = NULL,
1606 #' distinct = NULL, limit = "100", offset = "0",
1616 #' @return NodeList object.
1620 #' nodes.show is a method defined in Arvados class.
1622 #' @usage arv$nodes.show(uuid)
1624 #' @return Node object.
1628 #' nodes.destroy is a method defined in Arvados class.
1630 #' @usage arv$nodes.destroy(uuid)
1632 #' @return Node object.
1633 #' @name nodes.destroy
1636 #' repositories.get is a method defined in Arvados class.
1638 #' @usage arv$repositories.get(uuid)
1639 #' @param uuid The UUID of the Repository in question.
1640 #' @return Repository object.
1641 #' @name repositories.get
1644 #' repositories.index is a method defined in Arvados class.
1646 #' @usage arv$repositories.index(filters = NULL,
1647 #' where = NULL, order = NULL, select = NULL,
1648 #' distinct = NULL, limit = "100", offset = "0",
1658 #' @return RepositoryList object.
1659 #' @name repositories.index
1662 #' repositories.create is a method defined in Arvados class.
1664 #' @usage arv$repositories.create(repository,
1665 #' ensure_unique_name = "false")
1666 #' @param repository Repository object.
1667 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1668 #' @return Repository object.
1669 #' @name repositories.create
1672 #' repositories.update is a method defined in Arvados class.
1674 #' @usage arv$repositories.update(repository,
1676 #' @param repository Repository object.
1677 #' @param uuid The UUID of the Repository in question.
1678 #' @return Repository object.
1679 #' @name repositories.update
1682 #' repositories.delete is a method defined in Arvados class.
1684 #' @usage arv$repositories.delete(uuid)
1685 #' @param uuid The UUID of the Repository in question.
1686 #' @return Repository object.
1687 #' @name repositories.delete
1690 #' repositories.get_all_permissions is a method defined in Arvados class.
1692 #' @usage arv$repositories.get_all_permissions(NULL)
1693 #' @return Repository object.
1694 #' @name repositories.get_all_permissions
1697 #' repositories.list is a method defined in Arvados class.
1699 #' @usage arv$repositories.list(filters = NULL,
1700 #' where = NULL, order = NULL, select = NULL,
1701 #' distinct = NULL, limit = "100", offset = "0",
1711 #' @return RepositoryList object.
1712 #' @name repositories.list
1715 #' repositories.show is a method defined in Arvados class.
1717 #' @usage arv$repositories.show(uuid)
1719 #' @return Repository object.
1720 #' @name repositories.show
1723 #' repositories.destroy is a method defined in Arvados class.
1725 #' @usage arv$repositories.destroy(uuid)
1727 #' @return Repository object.
1728 #' @name repositories.destroy
1731 #' specimens.get is a method defined in Arvados class.
1733 #' @usage arv$specimens.get(uuid)
1734 #' @param uuid The UUID of the Specimen in question.
1735 #' @return Specimen object.
1736 #' @name specimens.get
1739 #' specimens.index is a method defined in Arvados class.
1741 #' @usage arv$specimens.index(filters = NULL,
1742 #' where = NULL, order = NULL, select = NULL,
1743 #' distinct = NULL, limit = "100", offset = "0",
1753 #' @return SpecimenList object.
1754 #' @name specimens.index
1757 #' specimens.create is a method defined in Arvados class.
1759 #' @usage arv$specimens.create(specimen,
1760 #' ensure_unique_name = "false")
1761 #' @param specimen Specimen object.
1762 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1763 #' @return Specimen object.
1764 #' @name specimens.create
1767 #' specimens.update is a method defined in Arvados class.
1769 #' @usage arv$specimens.update(specimen,
1771 #' @param specimen Specimen object.
1772 #' @param uuid The UUID of the Specimen in question.
1773 #' @return Specimen object.
1774 #' @name specimens.update
1777 #' specimens.delete is a method defined in Arvados class.
1779 #' @usage arv$specimens.delete(uuid)
1780 #' @param uuid The UUID of the Specimen in question.
1781 #' @return Specimen object.
1782 #' @name specimens.delete
1785 #' specimens.list is a method defined in Arvados class.
1787 #' @usage arv$specimens.list(filters = NULL,
1788 #' where = NULL, order = NULL, select = NULL,
1789 #' distinct = NULL, limit = "100", offset = "0",
1799 #' @return SpecimenList object.
1800 #' @name specimens.list
1803 #' specimens.show is a method defined in Arvados class.
1805 #' @usage arv$specimens.show(uuid)
1807 #' @return Specimen object.
1808 #' @name specimens.show
1811 #' specimens.destroy is a method defined in Arvados class.
1813 #' @usage arv$specimens.destroy(uuid)
1815 #' @return Specimen object.
1816 #' @name specimens.destroy
1819 #' logs.get is a method defined in Arvados class.
1821 #' @usage arv$logs.get(uuid)
1822 #' @param uuid The UUID of the Log in question.
1823 #' @return Log object.
1827 #' logs.index is a method defined in Arvados class.
1829 #' @usage arv$logs.index(filters = NULL,
1830 #' where = NULL, order = NULL, select = NULL,
1831 #' distinct = NULL, limit = "100", offset = "0",
1841 #' @return LogList object.
1845 #' logs.create is a method defined in Arvados class.
1847 #' @usage arv$logs.create(log, ensure_unique_name = "false")
1848 #' @param log Log object.
1849 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1850 #' @return Log object.
1851 #' @name logs.create
1854 #' logs.update is a method defined in Arvados class.
1856 #' @usage arv$logs.update(log, uuid)
1857 #' @param log Log object.
1858 #' @param uuid The UUID of the Log in question.
1859 #' @return Log object.
1860 #' @name logs.update
1863 #' logs.delete is a method defined in Arvados class.
1865 #' @usage arv$logs.delete(uuid)
1866 #' @param uuid The UUID of the Log in question.
1867 #' @return Log object.
1868 #' @name logs.delete
1871 #' logs.list is a method defined in Arvados class.
1873 #' @usage arv$logs.list(filters = NULL, where = NULL,
1874 #' order = NULL, select = NULL, distinct = NULL,
1875 #' limit = "100", offset = "0", count = "exact")
1884 #' @return LogList object.
1888 #' logs.show is a method defined in Arvados class.
1890 #' @usage arv$logs.show(uuid)
1892 #' @return Log object.
1896 #' logs.destroy is a method defined in Arvados class.
1898 #' @usage arv$logs.destroy(uuid)
1900 #' @return Log object.
1901 #' @name logs.destroy
1904 #' traits.get is a method defined in Arvados class.
1906 #' @usage arv$traits.get(uuid)
1907 #' @param uuid The UUID of the Trait in question.
1908 #' @return Trait object.
1912 #' traits.index is a method defined in Arvados class.
1914 #' @usage arv$traits.index(filters = NULL,
1915 #' where = NULL, order = NULL, select = NULL,
1916 #' distinct = NULL, limit = "100", offset = "0",
1926 #' @return TraitList object.
1927 #' @name traits.index
1930 #' traits.create is a method defined in Arvados class.
1932 #' @usage arv$traits.create(trait, ensure_unique_name = "false")
1933 #' @param trait Trait object.
1934 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1935 #' @return Trait object.
1936 #' @name traits.create
1939 #' traits.update is a method defined in Arvados class.
1941 #' @usage arv$traits.update(trait, uuid)
1942 #' @param trait Trait object.
1943 #' @param uuid The UUID of the Trait in question.
1944 #' @return Trait object.
1945 #' @name traits.update
1948 #' traits.delete is a method defined in Arvados class.
1950 #' @usage arv$traits.delete(uuid)
1951 #' @param uuid The UUID of the Trait in question.
1952 #' @return Trait object.
1953 #' @name traits.delete
1956 #' traits.list is a method defined in Arvados class.
1958 #' @usage arv$traits.list(filters = NULL,
1959 #' where = NULL, order = NULL, select = NULL,
1960 #' distinct = NULL, limit = "100", offset = "0",
1970 #' @return TraitList object.
1971 #' @name traits.list
1974 #' traits.show is a method defined in Arvados class.
1976 #' @usage arv$traits.show(uuid)
1978 #' @return Trait object.
1979 #' @name traits.show
1982 #' traits.destroy is a method defined in Arvados class.
1984 #' @usage arv$traits.destroy(uuid)
1986 #' @return Trait object.
1987 #' @name traits.destroy
1990 #' virtual_machines.get is a method defined in Arvados class.
1992 #' @usage arv$virtual_machines.get(uuid)
1993 #' @param uuid The UUID of the VirtualMachine in question.
1994 #' @return VirtualMachine object.
1995 #' @name virtual_machines.get
1998 #' virtual_machines.index is a method defined in Arvados class.
2000 #' @usage arv$virtual_machines.index(filters = NULL,
2001 #' where = NULL, order = NULL, select = NULL,
2002 #' distinct = NULL, limit = "100", offset = "0",
2012 #' @return VirtualMachineList object.
2013 #' @name virtual_machines.index
2016 #' virtual_machines.create is a method defined in Arvados class.
2018 #' @usage arv$virtual_machines.create(virtualmachine,
2019 #' ensure_unique_name = "false")
2020 #' @param virtualMachine VirtualMachine object.
2021 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2022 #' @return VirtualMachine object.
2023 #' @name virtual_machines.create
2026 #' virtual_machines.update is a method defined in Arvados class.
2028 #' @usage arv$virtual_machines.update(virtualmachine,
2030 #' @param virtualMachine VirtualMachine object.
2031 #' @param uuid The UUID of the VirtualMachine in question.
2032 #' @return VirtualMachine object.
2033 #' @name virtual_machines.update
2036 #' virtual_machines.delete is a method defined in Arvados class.
2038 #' @usage arv$virtual_machines.delete(uuid)
2039 #' @param uuid The UUID of the VirtualMachine in question.
2040 #' @return VirtualMachine object.
2041 #' @name virtual_machines.delete
2044 #' virtual_machines.logins is a method defined in Arvados class.
2046 #' @usage arv$virtual_machines.logins(uuid)
2048 #' @return VirtualMachine object.
2049 #' @name virtual_machines.logins
2052 #' virtual_machines.get_all_logins is a method defined in Arvados class.
2054 #' @usage arv$virtual_machines.get_all_logins(NULL)
2055 #' @return VirtualMachine object.
2056 #' @name virtual_machines.get_all_logins
2059 #' virtual_machines.list is a method defined in Arvados class.
2061 #' @usage arv$virtual_machines.list(filters = NULL,
2062 #' where = NULL, order = NULL, select = NULL,
2063 #' distinct = NULL, limit = "100", offset = "0",
2073 #' @return VirtualMachineList object.
2074 #' @name virtual_machines.list
2077 #' virtual_machines.show is a method defined in Arvados class.
2079 #' @usage arv$virtual_machines.show(uuid)
2081 #' @return VirtualMachine object.
2082 #' @name virtual_machines.show
2085 #' virtual_machines.destroy is a method defined in Arvados class.
2087 #' @usage arv$virtual_machines.destroy(uuid)
2089 #' @return VirtualMachine object.
2090 #' @name virtual_machines.destroy
2093 #' workflows.get is a method defined in Arvados class.
2095 #' @usage arv$workflows.get(uuid)
2096 #' @param uuid The UUID of the Workflow in question.
2097 #' @return Workflow object.
2098 #' @name workflows.get
2101 #' workflows.index is a method defined in Arvados class.
2103 #' @usage arv$workflows.index(filters = NULL,
2104 #' where = NULL, order = NULL, select = NULL,
2105 #' distinct = NULL, limit = "100", offset = "0",
2115 #' @return WorkflowList object.
2116 #' @name workflows.index
2119 #' workflows.create is a method defined in Arvados class.
2121 #' @usage arv$workflows.create(workflow,
2122 #' ensure_unique_name = "false")
2123 #' @param workflow Workflow object.
2124 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2125 #' @return Workflow object.
2126 #' @name workflows.create
2129 #' workflows.update is a method defined in Arvados class.
2131 #' @usage arv$workflows.update(workflow,
2133 #' @param workflow Workflow object.
2134 #' @param uuid The UUID of the Workflow in question.
2135 #' @return Workflow object.
2136 #' @name workflows.update
2139 #' workflows.delete is a method defined in Arvados class.
2141 #' @usage arv$workflows.delete(uuid)
2142 #' @param uuid The UUID of the Workflow in question.
2143 #' @return Workflow object.
2144 #' @name workflows.delete
2147 #' workflows.list is a method defined in Arvados class.
2149 #' @usage arv$workflows.list(filters = NULL,
2150 #' where = NULL, order = NULL, select = NULL,
2151 #' distinct = NULL, limit = "100", offset = "0",
2161 #' @return WorkflowList object.
2162 #' @name workflows.list
2165 #' workflows.show is a method defined in Arvados class.
2167 #' @usage arv$workflows.show(uuid)
2169 #' @return Workflow object.
2170 #' @name workflows.show
2173 #' workflows.destroy is a method defined in Arvados class.
2175 #' @usage arv$workflows.destroy(uuid)
2177 #' @return Workflow object.
2178 #' @name workflows.destroy
2181 #' groups.get is a method defined in Arvados class.
2183 #' @usage arv$groups.get(uuid)
2184 #' @param uuid The UUID of the Group in question.
2185 #' @return Group object.
2189 #' groups.index is a method defined in Arvados class.
2191 #' @usage arv$groups.index(filters = NULL,
2192 #' where = NULL, order = NULL, select = NULL,
2193 #' distinct = NULL, limit = "100", offset = "0",
2194 #' count = "exact", include_trash = NULL)
2203 #' @param include_trash Include items whose is_trashed attribute is true.
2204 #' @return GroupList object.
2205 #' @name groups.index
2208 #' groups.create is a method defined in Arvados class.
2210 #' @usage arv$groups.create(group, ensure_unique_name = "false")
2211 #' @param group Group object.
2212 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2213 #' @return Group object.
2214 #' @name groups.create
2217 #' groups.update is a method defined in Arvados class.
2219 #' @usage arv$groups.update(group, uuid)
2220 #' @param group Group object.
2221 #' @param uuid The UUID of the Group in question.
2222 #' @return Group object.
2223 #' @name groups.update
2226 #' groups.delete is a method defined in Arvados class.
2228 #' @usage arv$groups.delete(uuid)
2229 #' @param uuid The UUID of the Group in question.
2230 #' @return Group object.
2231 #' @name groups.delete
2234 #' groups.contents is a method defined in Arvados class.
2236 #' @usage arv$groups.contents(filters = NULL,
2237 #' where = NULL, order = NULL, distinct = NULL,
2238 #' limit = "100", offset = "0", count = "exact",
2239 #' include_trash = NULL, uuid = NULL, recursive = NULL)
2247 #' @param include_trash Include items whose is_trashed attribute is true.
2249 #' @param recursive Include contents from child groups recursively.
2250 #' @return Group object.
2251 #' @name groups.contents
2254 #' groups.trash is a method defined in Arvados class.
2256 #' @usage arv$groups.trash(uuid)
2258 #' @return Group object.
2259 #' @name groups.trash
2262 #' groups.untrash is a method defined in Arvados class.
2264 #' @usage arv$groups.untrash(uuid)
2266 #' @return Group object.
2267 #' @name groups.untrash
2270 #' groups.list is a method defined in Arvados class.
2272 #' @usage arv$groups.list(filters = NULL,
2273 #' where = NULL, order = NULL, select = NULL,
2274 #' distinct = NULL, limit = "100", offset = "0",
2275 #' count = "exact", include_trash = NULL)
2284 #' @param include_trash Include items whose is_trashed attribute is true.
2285 #' @return GroupList object.
2286 #' @name groups.list
2289 #' groups.show is a method defined in Arvados class.
2291 #' @usage arv$groups.show(uuid)
2293 #' @return Group object.
2294 #' @name groups.show
2297 #' groups.destroy is a method defined in Arvados class.
2299 #' @usage arv$groups.destroy(uuid)
2301 #' @return Group object.
2302 #' @name groups.destroy
2305 #' user_agreements.get is a method defined in Arvados class.
2307 #' @usage arv$user_agreements.get(uuid)
2308 #' @param uuid The UUID of the UserAgreement in question.
2309 #' @return UserAgreement object.
2310 #' @name user_agreements.get
2313 #' user_agreements.index is a method defined in Arvados class.
2315 #' @usage arv$user_agreements.index(filters = NULL,
2316 #' where = NULL, order = NULL, select = NULL,
2317 #' distinct = NULL, limit = "100", offset = "0",
2327 #' @return UserAgreementList object.
2328 #' @name user_agreements.index
2331 #' user_agreements.create is a method defined in Arvados class.
2333 #' @usage arv$user_agreements.create(useragreement,
2334 #' ensure_unique_name = "false")
2335 #' @param userAgreement UserAgreement object.
2336 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2337 #' @return UserAgreement object.
2338 #' @name user_agreements.create
2341 #' user_agreements.update is a method defined in Arvados class.
2343 #' @usage arv$user_agreements.update(useragreement,
2345 #' @param userAgreement UserAgreement object.
2346 #' @param uuid The UUID of the UserAgreement in question.
2347 #' @return UserAgreement object.
2348 #' @name user_agreements.update
2351 #' user_agreements.delete is a method defined in Arvados class.
2353 #' @usage arv$user_agreements.delete(uuid)
2354 #' @param uuid The UUID of the UserAgreement in question.
2355 #' @return UserAgreement object.
2356 #' @name user_agreements.delete
2359 #' user_agreements.signatures is a method defined in Arvados class.
2361 #' @usage arv$user_agreements.signatures(NULL)
2362 #' @return UserAgreement object.
2363 #' @name user_agreements.signatures
2366 #' user_agreements.sign is a method defined in Arvados class.
2368 #' @usage arv$user_agreements.sign(NULL)
2369 #' @return UserAgreement object.
2370 #' @name user_agreements.sign
2373 #' user_agreements.list is a method defined in Arvados class.
2375 #' @usage arv$user_agreements.list(filters = NULL,
2376 #' where = NULL, order = NULL, select = NULL,
2377 #' distinct = NULL, limit = "100", offset = "0",
2387 #' @return UserAgreementList object.
2388 #' @name user_agreements.list
2391 #' user_agreements.new is a method defined in Arvados class.
2393 #' @usage arv$user_agreements.new(NULL)
2394 #' @return UserAgreement object.
2395 #' @name user_agreements.new
2398 #' user_agreements.show is a method defined in Arvados class.
2400 #' @usage arv$user_agreements.show(uuid)
2402 #' @return UserAgreement object.
2403 #' @name user_agreements.show
2406 #' user_agreements.destroy is a method defined in Arvados class.
2408 #' @usage arv$user_agreements.destroy(uuid)
2410 #' @return UserAgreement object.
2411 #' @name user_agreements.destroy
2415 Arvados <- R6::R6Class(
2421 initialize = function(authToken = NULL, hostName = NULL, numRetries = 0)
2423 if(!is.null(hostName))
2424 Sys.setenv(ARVADOS_API_HOST = hostName)
2426 if(!is.null(authToken))
2427 Sys.setenv(ARVADOS_API_TOKEN = authToken)
2429 hostName <- Sys.getenv("ARVADOS_API_HOST")
2430 token <- Sys.getenv("ARVADOS_API_TOKEN")
2432 if(hostName == "" | token == "")
2433 stop(paste("Please provide host name and authentification token",
2434 "or set ARVADOS_API_HOST and ARVADOS_API_TOKEN",
2435 "environment variables."))
2437 private$token <- token
2438 private$host <- paste0("https://", hostName, "/arvados/v1/")
2439 private$numRetries <- numRetries
2440 private$REST <- RESTService$new(token, hostName,
2441 HttpRequest$new(), HttpParser$new(),
2446 project.get = function(uuid)
2448 self$groups.get(uuid)
2451 project.create = function(group, ensure_unique_name = "false")
2453 group <- c("group_class" = "project", group)
2454 self$groups.create(group, ensure_unique_name)
2457 project.update = function(group, uuid)
2459 group <- c("group_class" = "project", group)
2460 self$groups.update(group, uuid)
2463 project.list = function(filters = NULL, where = NULL,
2464 order = NULL, select = NULL, distinct = NULL,
2465 limit = "100", offset = "0", count = "exact",
2466 include_trash = NULL)
2468 filters[[length(filters) + 1]] <- list("group_class", "=", "project")
2469 self$groups.list(filters, where, order, select, distinct,
2470 limit, offset, count, include_trash)
2473 project.delete = function(uuid)
2475 self$groups.delete(uuid)
2478 users.get = function(uuid)
2480 endPoint <- stringr::str_interp("users/${uuid}")
2481 url <- paste0(private$host, endPoint)
2482 headers <- list(Authorization = paste("OAuth2", private$token),
2483 "Content-Type" = "application/json")
2488 response <- private$REST$http$exec("GET", url, headers, body,
2489 queryArgs, private$numRetries)
2490 resource <- private$REST$httpParser$parseJSONResponse(response)
2492 if(!is.null(resource$errors))
2493 stop(resource$errors)
2498 users.index = function(filters = NULL, where = NULL,
2499 order = NULL, select = NULL, distinct = NULL,
2500 limit = "100", offset = "0", count = "exact")
2502 endPoint <- stringr::str_interp("users")
2503 url <- paste0(private$host, endPoint)
2504 headers <- list(Authorization = paste("OAuth2", private$token),
2505 "Content-Type" = "application/json")
2506 queryArgs <- list(filters = filters, where = where,
2507 order = order, select = select, distinct = distinct,
2508 limit = limit, offset = offset, count = count)
2512 response <- private$REST$http$exec("GET", url, headers, body,
2513 queryArgs, private$numRetries)
2514 resource <- private$REST$httpParser$parseJSONResponse(response)
2516 if(!is.null(resource$errors))
2517 stop(resource$errors)
2522 users.create = function(user, ensure_unique_name = "false")
2524 endPoint <- stringr::str_interp("users")
2525 url <- paste0(private$host, endPoint)
2526 headers <- list(Authorization = paste("OAuth2", private$token),
2527 "Content-Type" = "application/json")
2528 queryArgs <- list(ensure_unique_name = ensure_unique_name)
2530 if(length(user) > 0)
2531 body <- jsonlite::toJSON(list(user = user),
2536 response <- private$REST$http$exec("POST", url, headers, body,
2537 queryArgs, private$numRetries)
2538 resource <- private$REST$httpParser$parseJSONResponse(response)
2540 if(!is.null(resource$errors))
2541 stop(resource$errors)
2546 users.update = function(user, uuid)
2548 endPoint <- stringr::str_interp("users/${uuid}")
2549 url <- paste0(private$host, endPoint)
2550 headers <- list(Authorization = paste("OAuth2", private$token),
2551 "Content-Type" = "application/json")
2554 if(length(user) > 0)
2555 body <- jsonlite::toJSON(list(user = user),
2560 response <- private$REST$http$exec("PUT", 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.delete = function(uuid)
2572 endPoint <- stringr::str_interp("users/${uuid}")
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("DELETE", 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.current = function()
2592 endPoint <- stringr::str_interp("users/current")
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("GET", 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.system = function()
2612 endPoint <- stringr::str_interp("users/system")
2613 url <- paste0(private$host, endPoint)
2614 headers <- list(Authorization = paste("OAuth2", private$token),
2615 "Content-Type" = "application/json")
2620 response <- private$REST$http$exec("GET", url, headers, body,
2621 queryArgs, private$numRetries)
2622 resource <- private$REST$httpParser$parseJSONResponse(response)
2624 if(!is.null(resource$errors))
2625 stop(resource$errors)
2630 users.activate = function(uuid)
2632 endPoint <- stringr::str_interp("users/${uuid}/activate")
2633 url <- paste0(private$host, endPoint)
2634 headers <- list(Authorization = paste("OAuth2", private$token),
2635 "Content-Type" = "application/json")
2640 response <- private$REST$http$exec("POST", url, headers, body,
2641 queryArgs, private$numRetries)
2642 resource <- private$REST$httpParser$parseJSONResponse(response)
2644 if(!is.null(resource$errors))
2645 stop(resource$errors)
2650 users.setup = function(user = NULL, openid_prefix = NULL,
2651 repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
2653 endPoint <- stringr::str_interp("users/setup")
2654 url <- paste0(private$host, endPoint)
2655 headers <- list(Authorization = paste("OAuth2", private$token),
2656 "Content-Type" = "application/json")
2657 queryArgs <- list(user = user, openid_prefix = openid_prefix,
2658 repo_name = repo_name, vm_uuid = vm_uuid,
2659 send_notification_email = send_notification_email)
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.unsetup = function(uuid)
2675 endPoint <- stringr::str_interp("users/${uuid}/unsetup")
2676 url <- paste0(private$host, endPoint)
2677 headers <- list(Authorization = paste("OAuth2", private$token),
2678 "Content-Type" = "application/json")
2683 response <- private$REST$http$exec("POST", url, headers, body,
2684 queryArgs, private$numRetries)
2685 resource <- private$REST$httpParser$parseJSONResponse(response)
2687 if(!is.null(resource$errors))
2688 stop(resource$errors)
2693 users.update_uuid = function(uuid, new_uuid)
2695 endPoint <- stringr::str_interp("users/${uuid}/update_uuid")
2696 url <- paste0(private$host, endPoint)
2697 headers <- list(Authorization = paste("OAuth2", private$token),
2698 "Content-Type" = "application/json")
2699 queryArgs <- list(new_uuid = new_uuid)
2703 response <- private$REST$http$exec("POST", url, headers, body,
2704 queryArgs, private$numRetries)
2705 resource <- private$REST$httpParser$parseJSONResponse(response)
2707 if(!is.null(resource$errors))
2708 stop(resource$errors)
2713 users.list = function(filters = NULL, where = NULL,
2714 order = NULL, select = NULL, distinct = NULL,
2715 limit = "100", offset = "0", count = "exact")
2717 endPoint <- stringr::str_interp("users")
2718 url <- paste0(private$host, endPoint)
2719 headers <- list(Authorization = paste("OAuth2", private$token),
2720 "Content-Type" = "application/json")
2721 queryArgs <- list(filters = filters, where = where,
2722 order = order, select = select, distinct = distinct,
2723 limit = limit, offset = offset, count = count)
2727 response <- private$REST$http$exec("GET", 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 users.show = function(uuid)
2739 endPoint <- stringr::str_interp("users/${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 users.destroy = function(uuid)
2759 endPoint <- stringr::str_interp("users/${uuid}")
2760 url <- paste0(private$host, endPoint)
2761 headers <- list(Authorization = paste("OAuth2", private$token),
2762 "Content-Type" = "application/json")
2767 response <- private$REST$http$exec("DELETE", url, headers, body,
2768 queryArgs, private$numRetries)
2769 resource <- private$REST$httpParser$parseJSONResponse(response)
2771 if(!is.null(resource$errors))
2772 stop(resource$errors)
2777 api_client_authorizations.get = function(uuid)
2779 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2780 url <- paste0(private$host, endPoint)
2781 headers <- list(Authorization = paste("OAuth2", private$token),
2782 "Content-Type" = "application/json")
2787 response <- private$REST$http$exec("GET", url, headers, body,
2788 queryArgs, private$numRetries)
2789 resource <- private$REST$httpParser$parseJSONResponse(response)
2791 if(!is.null(resource$errors))
2792 stop(resource$errors)
2797 api_client_authorizations.index = function(filters = NULL,
2798 where = NULL, order = NULL, select = NULL,
2799 distinct = NULL, limit = "100", offset = "0",
2802 endPoint <- stringr::str_interp("api_client_authorizations")
2803 url <- paste0(private$host, endPoint)
2804 headers <- list(Authorization = paste("OAuth2", private$token),
2805 "Content-Type" = "application/json")
2806 queryArgs <- list(filters = filters, where = where,
2807 order = order, select = select, distinct = distinct,
2808 limit = limit, offset = offset, count = count)
2812 response <- private$REST$http$exec("GET", url, headers, body,
2813 queryArgs, private$numRetries)
2814 resource <- private$REST$httpParser$parseJSONResponse(response)
2816 if(!is.null(resource$errors))
2817 stop(resource$errors)
2822 api_client_authorizations.create = function(apiclientauthorization,
2823 ensure_unique_name = "false")
2825 endPoint <- stringr::str_interp("api_client_authorizations")
2826 url <- paste0(private$host, endPoint)
2827 headers <- list(Authorization = paste("OAuth2", private$token),
2828 "Content-Type" = "application/json")
2829 queryArgs <- list(ensure_unique_name = ensure_unique_name)
2831 if(length(apiclientauthorization) > 0)
2832 body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization),
2837 response <- private$REST$http$exec("POST", url, headers, body,
2838 queryArgs, private$numRetries)
2839 resource <- private$REST$httpParser$parseJSONResponse(response)
2841 if(!is.null(resource$errors))
2842 stop(resource$errors)
2847 api_client_authorizations.update = function(apiclientauthorization, uuid)
2849 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2850 url <- paste0(private$host, endPoint)
2851 headers <- list(Authorization = paste("OAuth2", private$token),
2852 "Content-Type" = "application/json")
2855 if(length(apiclientauthorization) > 0)
2856 body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization),
2861 response <- private$REST$http$exec("PUT", url, headers, body,
2862 queryArgs, private$numRetries)
2863 resource <- private$REST$httpParser$parseJSONResponse(response)
2865 if(!is.null(resource$errors))
2866 stop(resource$errors)
2871 api_client_authorizations.delete = function(uuid)
2873 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2874 url <- paste0(private$host, endPoint)
2875 headers <- list(Authorization = paste("OAuth2", private$token),
2876 "Content-Type" = "application/json")
2881 response <- private$REST$http$exec("DELETE", url, headers, body,
2882 queryArgs, private$numRetries)
2883 resource <- private$REST$httpParser$parseJSONResponse(response)
2885 if(!is.null(resource$errors))
2886 stop(resource$errors)
2891 api_client_authorizations.create_system_auth = function(api_client_id = NULL, scopes = NULL)
2893 endPoint <- stringr::str_interp("api_client_authorizations/create_system_auth")
2894 url <- paste0(private$host, endPoint)
2895 headers <- list(Authorization = paste("OAuth2", private$token),
2896 "Content-Type" = "application/json")
2897 queryArgs <- list(api_client_id = api_client_id,
2902 response <- private$REST$http$exec("POST", url, headers, body,
2903 queryArgs, private$numRetries)
2904 resource <- private$REST$httpParser$parseJSONResponse(response)
2906 if(!is.null(resource$errors))
2907 stop(resource$errors)
2912 api_client_authorizations.current = function()
2914 endPoint <- stringr::str_interp("api_client_authorizations/current")
2915 url <- paste0(private$host, endPoint)
2916 headers <- list(Authorization = paste("OAuth2", private$token),
2917 "Content-Type" = "application/json")
2922 response <- private$REST$http$exec("GET", url, headers, body,
2923 queryArgs, private$numRetries)
2924 resource <- private$REST$httpParser$parseJSONResponse(response)
2926 if(!is.null(resource$errors))
2927 stop(resource$errors)
2932 api_client_authorizations.list = function(filters = NULL,
2933 where = NULL, order = NULL, select = NULL,
2934 distinct = NULL, limit = "100", offset = "0",
2937 endPoint <- stringr::str_interp("api_client_authorizations")
2938 url <- paste0(private$host, endPoint)
2939 headers <- list(Authorization = paste("OAuth2", private$token),
2940 "Content-Type" = "application/json")
2941 queryArgs <- list(filters = filters, where = where,
2942 order = order, select = select, distinct = distinct,
2943 limit = limit, offset = offset, count = count)
2947 response <- private$REST$http$exec("GET", 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_client_authorizations.show = function(uuid)
2959 endPoint <- stringr::str_interp("api_client_authorizations/${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_client_authorizations.destroy = function(uuid)
2979 endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2980 url <- paste0(private$host, endPoint)
2981 headers <- list(Authorization = paste("OAuth2", private$token),
2982 "Content-Type" = "application/json")
2987 response <- private$REST$http$exec("DELETE", url, headers, body,
2988 queryArgs, private$numRetries)
2989 resource <- private$REST$httpParser$parseJSONResponse(response)
2991 if(!is.null(resource$errors))
2992 stop(resource$errors)
2997 containers.get = function(uuid)
2999 endPoint <- stringr::str_interp("containers/${uuid}")
3000 url <- paste0(private$host, endPoint)
3001 headers <- list(Authorization = paste("OAuth2", private$token),
3002 "Content-Type" = "application/json")
3007 response <- private$REST$http$exec("GET", url, headers, body,
3008 queryArgs, private$numRetries)
3009 resource <- private$REST$httpParser$parseJSONResponse(response)
3011 if(!is.null(resource$errors))
3012 stop(resource$errors)
3017 containers.index = function(filters = NULL,
3018 where = NULL, order = NULL, select = NULL,
3019 distinct = NULL, limit = "100", offset = "0",
3022 endPoint <- stringr::str_interp("containers")
3023 url <- paste0(private$host, endPoint)
3024 headers <- list(Authorization = paste("OAuth2", private$token),
3025 "Content-Type" = "application/json")
3026 queryArgs <- list(filters = filters, where = where,
3027 order = order, select = select, distinct = distinct,
3028 limit = limit, offset = offset, count = count)
3032 response <- private$REST$http$exec("GET", url, headers, body,
3033 queryArgs, private$numRetries)
3034 resource <- private$REST$httpParser$parseJSONResponse(response)
3036 if(!is.null(resource$errors))
3037 stop(resource$errors)
3042 containers.create = function(container, ensure_unique_name = "false")
3044 endPoint <- stringr::str_interp("containers")
3045 url <- paste0(private$host, endPoint)
3046 headers <- list(Authorization = paste("OAuth2", private$token),
3047 "Content-Type" = "application/json")
3048 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3050 if(length(container) > 0)
3051 body <- jsonlite::toJSON(list(container = container),
3056 response <- private$REST$http$exec("POST", url, headers, body,
3057 queryArgs, private$numRetries)
3058 resource <- private$REST$httpParser$parseJSONResponse(response)
3060 if(!is.null(resource$errors))
3061 stop(resource$errors)
3066 containers.update = function(container, uuid)
3068 endPoint <- stringr::str_interp("containers/${uuid}")
3069 url <- paste0(private$host, endPoint)
3070 headers <- list(Authorization = paste("OAuth2", private$token),
3071 "Content-Type" = "application/json")
3074 if(length(container) > 0)
3075 body <- jsonlite::toJSON(list(container = container),
3080 response <- private$REST$http$exec("PUT", url, headers, body,
3081 queryArgs, private$numRetries)
3082 resource <- private$REST$httpParser$parseJSONResponse(response)
3084 if(!is.null(resource$errors))
3085 stop(resource$errors)
3090 containers.delete = function(uuid)
3092 endPoint <- stringr::str_interp("containers/${uuid}")
3093 url <- paste0(private$host, endPoint)
3094 headers <- list(Authorization = paste("OAuth2", private$token),
3095 "Content-Type" = "application/json")
3100 response <- private$REST$http$exec("DELETE", url, headers, body,
3101 queryArgs, private$numRetries)
3102 resource <- private$REST$httpParser$parseJSONResponse(response)
3104 if(!is.null(resource$errors))
3105 stop(resource$errors)
3110 containers.auth = function(uuid)
3112 endPoint <- stringr::str_interp("containers/${uuid}/auth")
3113 url <- paste0(private$host, endPoint)
3114 headers <- list(Authorization = paste("OAuth2", private$token),
3115 "Content-Type" = "application/json")
3120 response <- private$REST$http$exec("GET", url, headers, body,
3121 queryArgs, private$numRetries)
3122 resource <- private$REST$httpParser$parseJSONResponse(response)
3124 if(!is.null(resource$errors))
3125 stop(resource$errors)
3130 containers.lock = function(uuid)
3132 endPoint <- stringr::str_interp("containers/${uuid}/lock")
3133 url <- paste0(private$host, endPoint)
3134 headers <- list(Authorization = paste("OAuth2", private$token),
3135 "Content-Type" = "application/json")
3140 response <- private$REST$http$exec("POST", url, headers, body,
3141 queryArgs, private$numRetries)
3142 resource <- private$REST$httpParser$parseJSONResponse(response)
3144 if(!is.null(resource$errors))
3145 stop(resource$errors)
3150 containers.unlock = function(uuid)
3152 endPoint <- stringr::str_interp("containers/${uuid}/unlock")
3153 url <- paste0(private$host, endPoint)
3154 headers <- list(Authorization = paste("OAuth2", private$token),
3155 "Content-Type" = "application/json")
3160 response <- private$REST$http$exec("POST", url, headers, body,
3161 queryArgs, private$numRetries)
3162 resource <- private$REST$httpParser$parseJSONResponse(response)
3164 if(!is.null(resource$errors))
3165 stop(resource$errors)
3170 containers.secret_mounts = function(uuid)
3172 endPoint <- stringr::str_interp("containers/${uuid}/secret_mounts")
3173 url <- paste0(private$host, endPoint)
3174 headers <- list(Authorization = paste("OAuth2", private$token),
3175 "Content-Type" = "application/json")
3180 response <- private$REST$http$exec("GET", url, headers, body,
3181 queryArgs, private$numRetries)
3182 resource <- private$REST$httpParser$parseJSONResponse(response)
3184 if(!is.null(resource$errors))
3185 stop(resource$errors)
3190 containers.current = function()
3192 endPoint <- stringr::str_interp("containers/current")
3193 url <- paste0(private$host, endPoint)
3194 headers <- list(Authorization = paste("OAuth2", private$token),
3195 "Content-Type" = "application/json")
3200 response <- private$REST$http$exec("GET", url, headers, body,
3201 queryArgs, private$numRetries)
3202 resource <- private$REST$httpParser$parseJSONResponse(response)
3204 if(!is.null(resource$errors))
3205 stop(resource$errors)
3210 containers.list = function(filters = NULL,
3211 where = NULL, order = NULL, select = NULL,
3212 distinct = NULL, limit = "100", offset = "0",
3215 endPoint <- stringr::str_interp("containers")
3216 url <- paste0(private$host, endPoint)
3217 headers <- list(Authorization = paste("OAuth2", private$token),
3218 "Content-Type" = "application/json")
3219 queryArgs <- list(filters = filters, where = where,
3220 order = order, select = select, distinct = distinct,
3221 limit = limit, offset = offset, count = count)
3225 response <- private$REST$http$exec("GET", url, headers, body,
3226 queryArgs, private$numRetries)
3227 resource <- private$REST$httpParser$parseJSONResponse(response)
3229 if(!is.null(resource$errors))
3230 stop(resource$errors)
3235 containers.show = function(uuid)
3237 endPoint <- stringr::str_interp("containers/${uuid}")
3238 url <- paste0(private$host, endPoint)
3239 headers <- list(Authorization = paste("OAuth2", private$token),
3240 "Content-Type" = "application/json")
3245 response <- private$REST$http$exec("GET", url, headers, body,
3246 queryArgs, private$numRetries)
3247 resource <- private$REST$httpParser$parseJSONResponse(response)
3249 if(!is.null(resource$errors))
3250 stop(resource$errors)
3255 containers.destroy = function(uuid)
3257 endPoint <- stringr::str_interp("containers/${uuid}")
3258 url <- paste0(private$host, endPoint)
3259 headers <- list(Authorization = paste("OAuth2", private$token),
3260 "Content-Type" = "application/json")
3265 response <- private$REST$http$exec("DELETE", url, headers, body,
3266 queryArgs, private$numRetries)
3267 resource <- private$REST$httpParser$parseJSONResponse(response)
3269 if(!is.null(resource$errors))
3270 stop(resource$errors)
3275 api_clients.get = function(uuid)
3277 endPoint <- stringr::str_interp("api_clients/${uuid}")
3278 url <- paste0(private$host, endPoint)
3279 headers <- list(Authorization = paste("OAuth2", private$token),
3280 "Content-Type" = "application/json")
3285 response <- private$REST$http$exec("GET", url, headers, body,
3286 queryArgs, private$numRetries)
3287 resource <- private$REST$httpParser$parseJSONResponse(response)
3289 if(!is.null(resource$errors))
3290 stop(resource$errors)
3295 api_clients.index = function(filters = NULL,
3296 where = NULL, order = NULL, select = NULL,
3297 distinct = NULL, limit = "100", offset = "0",
3300 endPoint <- stringr::str_interp("api_clients")
3301 url <- paste0(private$host, endPoint)
3302 headers <- list(Authorization = paste("OAuth2", private$token),
3303 "Content-Type" = "application/json")
3304 queryArgs <- list(filters = filters, where = where,
3305 order = order, select = select, distinct = distinct,
3306 limit = limit, offset = offset, count = count)
3310 response <- private$REST$http$exec("GET", url, headers, body,
3311 queryArgs, private$numRetries)
3312 resource <- private$REST$httpParser$parseJSONResponse(response)
3314 if(!is.null(resource$errors))
3315 stop(resource$errors)
3320 api_clients.create = function(apiclient, ensure_unique_name = "false")
3322 endPoint <- stringr::str_interp("api_clients")
3323 url <- paste0(private$host, endPoint)
3324 headers <- list(Authorization = paste("OAuth2", private$token),
3325 "Content-Type" = "application/json")
3326 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3328 if(length(apiclient) > 0)
3329 body <- jsonlite::toJSON(list(apiclient = apiclient),
3334 response <- private$REST$http$exec("POST", url, headers, body,
3335 queryArgs, private$numRetries)
3336 resource <- private$REST$httpParser$parseJSONResponse(response)
3338 if(!is.null(resource$errors))
3339 stop(resource$errors)
3344 api_clients.update = function(apiclient, uuid)
3346 endPoint <- stringr::str_interp("api_clients/${uuid}")
3347 url <- paste0(private$host, endPoint)
3348 headers <- list(Authorization = paste("OAuth2", private$token),
3349 "Content-Type" = "application/json")
3352 if(length(apiclient) > 0)
3353 body <- jsonlite::toJSON(list(apiclient = apiclient),
3358 response <- private$REST$http$exec("PUT", url, headers, body,
3359 queryArgs, private$numRetries)
3360 resource <- private$REST$httpParser$parseJSONResponse(response)
3362 if(!is.null(resource$errors))
3363 stop(resource$errors)
3368 api_clients.delete = function(uuid)
3370 endPoint <- stringr::str_interp("api_clients/${uuid}")
3371 url <- paste0(private$host, endPoint)
3372 headers <- list(Authorization = paste("OAuth2", private$token),
3373 "Content-Type" = "application/json")
3378 response <- private$REST$http$exec("DELETE", url, headers, body,
3379 queryArgs, private$numRetries)
3380 resource <- private$REST$httpParser$parseJSONResponse(response)
3382 if(!is.null(resource$errors))
3383 stop(resource$errors)
3388 api_clients.list = function(filters = NULL,
3389 where = NULL, order = NULL, select = NULL,
3390 distinct = NULL, limit = "100", offset = "0",
3393 endPoint <- stringr::str_interp("api_clients")
3394 url <- paste0(private$host, endPoint)
3395 headers <- list(Authorization = paste("OAuth2", private$token),
3396 "Content-Type" = "application/json")
3397 queryArgs <- list(filters = filters, where = where,
3398 order = order, select = select, distinct = distinct,
3399 limit = limit, offset = offset, count = count)
3403 response <- private$REST$http$exec("GET", url, headers, body,
3404 queryArgs, private$numRetries)
3405 resource <- private$REST$httpParser$parseJSONResponse(response)
3407 if(!is.null(resource$errors))
3408 stop(resource$errors)
3413 api_clients.show = function(uuid)
3415 endPoint <- stringr::str_interp("api_clients/${uuid}")
3416 url <- paste0(private$host, endPoint)
3417 headers <- list(Authorization = paste("OAuth2", private$token),
3418 "Content-Type" = "application/json")
3423 response <- private$REST$http$exec("GET", url, headers, body,
3424 queryArgs, private$numRetries)
3425 resource <- private$REST$httpParser$parseJSONResponse(response)
3427 if(!is.null(resource$errors))
3428 stop(resource$errors)
3433 api_clients.destroy = function(uuid)
3435 endPoint <- stringr::str_interp("api_clients/${uuid}")
3436 url <- paste0(private$host, endPoint)
3437 headers <- list(Authorization = paste("OAuth2", private$token),
3438 "Content-Type" = "application/json")
3443 response <- private$REST$http$exec("DELETE", 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.get = 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.index = function(filters = NULL,
3474 where = NULL, order = NULL, select = NULL,
3475 distinct = NULL, limit = "100", offset = "0",
3478 endPoint <- stringr::str_interp("authorized_keys")
3479 url <- paste0(private$host, endPoint)
3480 headers <- list(Authorization = paste("OAuth2", private$token),
3481 "Content-Type" = "application/json")
3482 queryArgs <- list(filters = filters, where = where,
3483 order = order, select = select, distinct = distinct,
3484 limit = limit, offset = offset, count = count)
3488 response <- private$REST$http$exec("GET", url, headers, body,
3489 queryArgs, private$numRetries)
3490 resource <- private$REST$httpParser$parseJSONResponse(response)
3492 if(!is.null(resource$errors))
3493 stop(resource$errors)
3498 authorized_keys.create = function(authorizedkey,
3499 ensure_unique_name = "false")
3501 endPoint <- stringr::str_interp("authorized_keys")
3502 url <- paste0(private$host, endPoint)
3503 headers <- list(Authorization = paste("OAuth2", private$token),
3504 "Content-Type" = "application/json")
3505 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3507 if(length(authorizedkey) > 0)
3508 body <- jsonlite::toJSON(list(authorizedkey = authorizedkey),
3513 response <- private$REST$http$exec("POST", url, headers, body,
3514 queryArgs, private$numRetries)
3515 resource <- private$REST$httpParser$parseJSONResponse(response)
3517 if(!is.null(resource$errors))
3518 stop(resource$errors)
3523 authorized_keys.update = function(authorizedkey, uuid)
3525 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3526 url <- paste0(private$host, endPoint)
3527 headers <- list(Authorization = paste("OAuth2", private$token),
3528 "Content-Type" = "application/json")
3531 if(length(authorizedkey) > 0)
3532 body <- jsonlite::toJSON(list(authorizedkey = authorizedkey),
3537 response <- private$REST$http$exec("PUT", url, headers, body,
3538 queryArgs, private$numRetries)
3539 resource <- private$REST$httpParser$parseJSONResponse(response)
3541 if(!is.null(resource$errors))
3542 stop(resource$errors)
3547 authorized_keys.delete = function(uuid)
3549 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3550 url <- paste0(private$host, endPoint)
3551 headers <- list(Authorization = paste("OAuth2", private$token),
3552 "Content-Type" = "application/json")
3557 response <- private$REST$http$exec("DELETE", url, headers, body,
3558 queryArgs, private$numRetries)
3559 resource <- private$REST$httpParser$parseJSONResponse(response)
3561 if(!is.null(resource$errors))
3562 stop(resource$errors)
3567 authorized_keys.list = function(filters = NULL,
3568 where = NULL, order = NULL, select = NULL,
3569 distinct = NULL, limit = "100", offset = "0",
3572 endPoint <- stringr::str_interp("authorized_keys")
3573 url <- paste0(private$host, endPoint)
3574 headers <- list(Authorization = paste("OAuth2", private$token),
3575 "Content-Type" = "application/json")
3576 queryArgs <- list(filters = filters, where = where,
3577 order = order, select = select, distinct = distinct,
3578 limit = limit, offset = offset, count = count)
3582 response <- private$REST$http$exec("GET", url, headers, body,
3583 queryArgs, private$numRetries)
3584 resource <- private$REST$httpParser$parseJSONResponse(response)
3586 if(!is.null(resource$errors))
3587 stop(resource$errors)
3592 authorized_keys.show = function(uuid)
3594 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3595 url <- paste0(private$host, endPoint)
3596 headers <- list(Authorization = paste("OAuth2", private$token),
3597 "Content-Type" = "application/json")
3602 response <- private$REST$http$exec("GET", url, headers, body,
3603 queryArgs, private$numRetries)
3604 resource <- private$REST$httpParser$parseJSONResponse(response)
3606 if(!is.null(resource$errors))
3607 stop(resource$errors)
3612 authorized_keys.destroy = function(uuid)
3614 endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3615 url <- paste0(private$host, endPoint)
3616 headers <- list(Authorization = paste("OAuth2", private$token),
3617 "Content-Type" = "application/json")
3622 response <- private$REST$http$exec("DELETE", url, headers, body,
3623 queryArgs, private$numRetries)
3624 resource <- private$REST$httpParser$parseJSONResponse(response)
3626 if(!is.null(resource$errors))
3627 stop(resource$errors)
3632 container_requests.get = function(uuid)
3634 endPoint <- stringr::str_interp("container_requests/${uuid}")
3635 url <- paste0(private$host, endPoint)
3636 headers <- list(Authorization = paste("OAuth2", private$token),
3637 "Content-Type" = "application/json")
3642 response <- private$REST$http$exec("GET", url, headers, body,
3643 queryArgs, private$numRetries)
3644 resource <- private$REST$httpParser$parseJSONResponse(response)
3646 if(!is.null(resource$errors))
3647 stop(resource$errors)
3652 container_requests.index = function(filters = NULL,
3653 where = NULL, order = NULL, select = NULL,
3654 distinct = NULL, limit = "100", offset = "0",
3657 endPoint <- stringr::str_interp("container_requests")
3658 url <- paste0(private$host, endPoint)
3659 headers <- list(Authorization = paste("OAuth2", private$token),
3660 "Content-Type" = "application/json")
3661 queryArgs <- list(filters = filters, where = where,
3662 order = order, select = select, distinct = distinct,
3663 limit = limit, offset = offset, count = count)
3667 response <- private$REST$http$exec("GET", url, headers, body,
3668 queryArgs, private$numRetries)
3669 resource <- private$REST$httpParser$parseJSONResponse(response)
3671 if(!is.null(resource$errors))
3672 stop(resource$errors)
3677 container_requests.create = function(containerrequest,
3678 ensure_unique_name = "false")
3680 endPoint <- stringr::str_interp("container_requests")
3681 url <- paste0(private$host, endPoint)
3682 headers <- list(Authorization = paste("OAuth2", private$token),
3683 "Content-Type" = "application/json")
3684 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3686 if(length(containerrequest) > 0)
3687 body <- jsonlite::toJSON(list(containerrequest = containerrequest),
3692 response <- private$REST$http$exec("POST", url, headers, body,
3693 queryArgs, private$numRetries)
3694 resource <- private$REST$httpParser$parseJSONResponse(response)
3696 if(!is.null(resource$errors))
3697 stop(resource$errors)
3702 container_requests.update = function(containerrequest, uuid)
3704 endPoint <- stringr::str_interp("container_requests/${uuid}")
3705 url <- paste0(private$host, endPoint)
3706 headers <- list(Authorization = paste("OAuth2", private$token),
3707 "Content-Type" = "application/json")
3710 if(length(containerrequest) > 0)
3711 body <- jsonlite::toJSON(list(containerrequest = containerrequest),
3716 response <- private$REST$http$exec("PUT", url, headers, body,
3717 queryArgs, private$numRetries)
3718 resource <- private$REST$httpParser$parseJSONResponse(response)
3720 if(!is.null(resource$errors))
3721 stop(resource$errors)
3726 container_requests.delete = function(uuid)
3728 endPoint <- stringr::str_interp("container_requests/${uuid}")
3729 url <- paste0(private$host, endPoint)
3730 headers <- list(Authorization = paste("OAuth2", private$token),
3731 "Content-Type" = "application/json")
3736 response <- private$REST$http$exec("DELETE", url, headers, body,
3737 queryArgs, private$numRetries)
3738 resource <- private$REST$httpParser$parseJSONResponse(response)
3740 if(!is.null(resource$errors))
3741 stop(resource$errors)
3746 container_requests.list = function(filters = NULL,
3747 where = NULL, order = NULL, select = NULL,
3748 distinct = NULL, limit = "100", offset = "0",
3751 endPoint <- stringr::str_interp("container_requests")
3752 url <- paste0(private$host, endPoint)
3753 headers <- list(Authorization = paste("OAuth2", private$token),
3754 "Content-Type" = "application/json")
3755 queryArgs <- list(filters = filters, where = where,
3756 order = order, select = select, distinct = distinct,
3757 limit = limit, offset = offset, count = count)
3761 response <- private$REST$http$exec("GET", url, headers, body,
3762 queryArgs, private$numRetries)
3763 resource <- private$REST$httpParser$parseJSONResponse(response)
3765 if(!is.null(resource$errors))
3766 stop(resource$errors)
3771 container_requests.show = function(uuid)
3773 endPoint <- stringr::str_interp("container_requests/${uuid}")
3774 url <- paste0(private$host, endPoint)
3775 headers <- list(Authorization = paste("OAuth2", private$token),
3776 "Content-Type" = "application/json")
3781 response <- private$REST$http$exec("GET", url, headers, body,
3782 queryArgs, private$numRetries)
3783 resource <- private$REST$httpParser$parseJSONResponse(response)
3785 if(!is.null(resource$errors))
3786 stop(resource$errors)
3791 container_requests.destroy = function(uuid)
3793 endPoint <- stringr::str_interp("container_requests/${uuid}")
3794 url <- paste0(private$host, endPoint)
3795 headers <- list(Authorization = paste("OAuth2", private$token),
3796 "Content-Type" = "application/json")
3801 response <- private$REST$http$exec("DELETE", url, headers, body,
3802 queryArgs, private$numRetries)
3803 resource <- private$REST$httpParser$parseJSONResponse(response)
3805 if(!is.null(resource$errors))
3806 stop(resource$errors)
3811 collections.get = function(uuid)
3813 endPoint <- stringr::str_interp("collections/${uuid}")
3814 url <- paste0(private$host, endPoint)
3815 headers <- list(Authorization = paste("OAuth2", private$token),
3816 "Content-Type" = "application/json")
3821 response <- private$REST$http$exec("GET", url, headers, body,
3822 queryArgs, private$numRetries)
3823 resource <- private$REST$httpParser$parseJSONResponse(response)
3825 if(!is.null(resource$errors))
3826 stop(resource$errors)
3831 collections.index = function(filters = NULL,
3832 where = NULL, order = NULL, select = NULL,
3833 distinct = NULL, limit = "100", offset = "0",
3834 count = "exact", include_trash = NULL)
3836 endPoint <- stringr::str_interp("collections")
3837 url <- paste0(private$host, endPoint)
3838 headers <- list(Authorization = paste("OAuth2", private$token),
3839 "Content-Type" = "application/json")
3840 queryArgs <- list(filters = filters, where = where,
3841 order = order, select = select, distinct = distinct,
3842 limit = limit, offset = offset, count = count,
3843 include_trash = include_trash)
3847 response <- private$REST$http$exec("GET", url, headers, body,
3848 queryArgs, private$numRetries)
3849 resource <- private$REST$httpParser$parseJSONResponse(response)
3851 if(!is.null(resource$errors))
3852 stop(resource$errors)
3857 collections.create = function(collection, ensure_unique_name = "false")
3859 endPoint <- stringr::str_interp("collections")
3860 url <- paste0(private$host, endPoint)
3861 headers <- list(Authorization = paste("OAuth2", private$token),
3862 "Content-Type" = "application/json")
3863 queryArgs <- list(ensure_unique_name = ensure_unique_name)
3865 if(length(collection) > 0)
3866 body <- jsonlite::toJSON(list(collection = collection),
3871 response <- private$REST$http$exec("POST", url, headers, body,
3872 queryArgs, private$numRetries)
3873 resource <- private$REST$httpParser$parseJSONResponse(response)
3875 if(!is.null(resource$errors))
3876 stop(resource$errors)
3881 collections.update = function(collection, uuid)
3883 endPoint <- stringr::str_interp("collections/${uuid}")
3884 url <- paste0(private$host, endPoint)
3885 headers <- list(Authorization = paste("OAuth2", private$token),
3886 "Content-Type" = "application/json")
3889 if(length(collection) > 0)
3890 body <- jsonlite::toJSON(list(collection = collection),
3895 response <- private$REST$http$exec("PUT", url, headers, body,
3896 queryArgs, private$numRetries)
3897 resource <- private$REST$httpParser$parseJSONResponse(response)
3899 if(!is.null(resource$errors))
3900 stop(resource$errors)
3905 collections.delete = function(uuid)
3907 endPoint <- stringr::str_interp("collections/${uuid}")
3908 url <- paste0(private$host, endPoint)
3909 headers <- list(Authorization = paste("OAuth2", private$token),
3910 "Content-Type" = "application/json")
3915 response <- private$REST$http$exec("DELETE", url, headers, body,
3916 queryArgs, private$numRetries)
3917 resource <- private$REST$httpParser$parseJSONResponse(response)
3919 if(!is.null(resource$errors))
3920 stop(resource$errors)
3925 collections.provenance = function(uuid)
3927 endPoint <- stringr::str_interp("collections/${uuid}/provenance")
3928 url <- paste0(private$host, endPoint)
3929 headers <- list(Authorization = paste("OAuth2", private$token),
3930 "Content-Type" = "application/json")
3935 response <- private$REST$http$exec("GET", url, headers, body,
3936 queryArgs, private$numRetries)
3937 resource <- private$REST$httpParser$parseJSONResponse(response)
3939 if(!is.null(resource$errors))
3940 stop(resource$errors)
3945 collections.used_by = function(uuid)
3947 endPoint <- stringr::str_interp("collections/${uuid}/used_by")
3948 url <- paste0(private$host, endPoint)
3949 headers <- list(Authorization = paste("OAuth2", private$token),
3950 "Content-Type" = "application/json")
3955 response <- private$REST$http$exec("GET", url, headers, body,
3956 queryArgs, private$numRetries)
3957 resource <- private$REST$httpParser$parseJSONResponse(response)
3959 if(!is.null(resource$errors))
3960 stop(resource$errors)
3965 collections.trash = function(uuid)
3967 endPoint <- stringr::str_interp("collections/${uuid}/trash")
3968 url <- paste0(private$host, endPoint)
3969 headers <- list(Authorization = paste("OAuth2", private$token),
3970 "Content-Type" = "application/json")
3975 response <- private$REST$http$exec("POST", url, headers, body,
3976 queryArgs, private$numRetries)
3977 resource <- private$REST$httpParser$parseJSONResponse(response)
3979 if(!is.null(resource$errors))
3980 stop(resource$errors)
3985 collections.untrash = function(uuid)
3987 endPoint <- stringr::str_interp("collections/${uuid}/untrash")
3988 url <- paste0(private$host, endPoint)
3989 headers <- list(Authorization = paste("OAuth2", private$token),
3990 "Content-Type" = "application/json")
3995 response <- private$REST$http$exec("POST", url, headers, body,
3996 queryArgs, private$numRetries)
3997 resource <- private$REST$httpParser$parseJSONResponse(response)
3999 if(!is.null(resource$errors))
4000 stop(resource$errors)
4005 collections.list = function(filters = NULL,
4006 where = NULL, order = NULL, select = NULL,
4007 distinct = NULL, limit = "100", offset = "0",
4008 count = "exact", include_trash = NULL)
4010 endPoint <- stringr::str_interp("collections")
4011 url <- paste0(private$host, endPoint)
4012 headers <- list(Authorization = paste("OAuth2", private$token),
4013 "Content-Type" = "application/json")
4014 queryArgs <- list(filters = filters, where = where,
4015 order = order, select = select, distinct = distinct,
4016 limit = limit, offset = offset, count = count,
4017 include_trash = include_trash)
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 collections.show = function(uuid)
4033 endPoint <- stringr::str_interp("collections/${uuid}")
4034 url <- paste0(private$host, endPoint)
4035 headers <- list(Authorization = paste("OAuth2", private$token),
4036 "Content-Type" = "application/json")
4041 response <- private$REST$http$exec("GET", url, headers, body,
4042 queryArgs, private$numRetries)
4043 resource <- private$REST$httpParser$parseJSONResponse(response)
4045 if(!is.null(resource$errors))
4046 stop(resource$errors)
4051 collections.destroy = function(uuid)
4053 endPoint <- stringr::str_interp("collections/${uuid}")
4054 url <- paste0(private$host, endPoint)
4055 headers <- list(Authorization = paste("OAuth2", private$token),
4056 "Content-Type" = "application/json")
4061 response <- private$REST$http$exec("DELETE", url, headers, body,
4062 queryArgs, private$numRetries)
4063 resource <- private$REST$httpParser$parseJSONResponse(response)
4065 if(!is.null(resource$errors))
4066 stop(resource$errors)
4071 humans.get = function(uuid)
4073 endPoint <- stringr::str_interp("humans/${uuid}")
4074 url <- paste0(private$host, endPoint)
4075 headers <- list(Authorization = paste("OAuth2", private$token),
4076 "Content-Type" = "application/json")
4081 response <- private$REST$http$exec("GET", url, headers, body,
4082 queryArgs, private$numRetries)
4083 resource <- private$REST$httpParser$parseJSONResponse(response)
4085 if(!is.null(resource$errors))
4086 stop(resource$errors)
4091 humans.index = function(filters = NULL, where = NULL,
4092 order = NULL, select = NULL, distinct = NULL,
4093 limit = "100", offset = "0", count = "exact")
4095 endPoint <- stringr::str_interp("humans")
4096 url <- paste0(private$host, endPoint)
4097 headers <- list(Authorization = paste("OAuth2", private$token),
4098 "Content-Type" = "application/json")
4099 queryArgs <- list(filters = filters, where = where,
4100 order = order, select = select, distinct = distinct,
4101 limit = limit, offset = offset, count = count)
4105 response <- private$REST$http$exec("GET", url, headers, body,
4106 queryArgs, private$numRetries)
4107 resource <- private$REST$httpParser$parseJSONResponse(response)
4109 if(!is.null(resource$errors))
4110 stop(resource$errors)
4115 humans.create = function(human, ensure_unique_name = "false")
4117 endPoint <- stringr::str_interp("humans")
4118 url <- paste0(private$host, endPoint)
4119 headers <- list(Authorization = paste("OAuth2", private$token),
4120 "Content-Type" = "application/json")
4121 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4123 if(length(human) > 0)
4124 body <- jsonlite::toJSON(list(human = human),
4129 response <- private$REST$http$exec("POST", url, headers, body,
4130 queryArgs, private$numRetries)
4131 resource <- private$REST$httpParser$parseJSONResponse(response)
4133 if(!is.null(resource$errors))
4134 stop(resource$errors)
4139 humans.update = function(human, uuid)
4141 endPoint <- stringr::str_interp("humans/${uuid}")
4142 url <- paste0(private$host, endPoint)
4143 headers <- list(Authorization = paste("OAuth2", private$token),
4144 "Content-Type" = "application/json")
4147 if(length(human) > 0)
4148 body <- jsonlite::toJSON(list(human = human),
4153 response <- private$REST$http$exec("PUT", url, headers, body,
4154 queryArgs, private$numRetries)
4155 resource <- private$REST$httpParser$parseJSONResponse(response)
4157 if(!is.null(resource$errors))
4158 stop(resource$errors)
4163 humans.delete = function(uuid)
4165 endPoint <- stringr::str_interp("humans/${uuid}")
4166 url <- paste0(private$host, endPoint)
4167 headers <- list(Authorization = paste("OAuth2", private$token),
4168 "Content-Type" = "application/json")
4173 response <- private$REST$http$exec("DELETE", url, headers, body,
4174 queryArgs, private$numRetries)
4175 resource <- private$REST$httpParser$parseJSONResponse(response)
4177 if(!is.null(resource$errors))
4178 stop(resource$errors)
4183 humans.list = function(filters = NULL, where = NULL,
4184 order = NULL, select = NULL, distinct = NULL,
4185 limit = "100", offset = "0", count = "exact")
4187 endPoint <- stringr::str_interp("humans")
4188 url <- paste0(private$host, endPoint)
4189 headers <- list(Authorization = paste("OAuth2", private$token),
4190 "Content-Type" = "application/json")
4191 queryArgs <- list(filters = filters, where = where,
4192 order = order, select = select, distinct = distinct,
4193 limit = limit, offset = offset, count = count)
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 humans.show = function(uuid)
4209 endPoint <- stringr::str_interp("humans/${uuid}")
4210 url <- paste0(private$host, endPoint)
4211 headers <- list(Authorization = paste("OAuth2", private$token),
4212 "Content-Type" = "application/json")
4217 response <- private$REST$http$exec("GET", url, headers, body,
4218 queryArgs, private$numRetries)
4219 resource <- private$REST$httpParser$parseJSONResponse(response)
4221 if(!is.null(resource$errors))
4222 stop(resource$errors)
4227 humans.destroy = function(uuid)
4229 endPoint <- stringr::str_interp("humans/${uuid}")
4230 url <- paste0(private$host, endPoint)
4231 headers <- list(Authorization = paste("OAuth2", private$token),
4232 "Content-Type" = "application/json")
4237 response <- private$REST$http$exec("DELETE", url, headers, body,
4238 queryArgs, private$numRetries)
4239 resource <- private$REST$httpParser$parseJSONResponse(response)
4241 if(!is.null(resource$errors))
4242 stop(resource$errors)
4247 job_tasks.get = function(uuid)
4249 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4250 url <- paste0(private$host, endPoint)
4251 headers <- list(Authorization = paste("OAuth2", private$token),
4252 "Content-Type" = "application/json")
4257 response <- private$REST$http$exec("GET", url, headers, body,
4258 queryArgs, private$numRetries)
4259 resource <- private$REST$httpParser$parseJSONResponse(response)
4261 if(!is.null(resource$errors))
4262 stop(resource$errors)
4267 job_tasks.index = function(filters = NULL,
4268 where = NULL, order = NULL, select = NULL,
4269 distinct = NULL, limit = "100", offset = "0",
4272 endPoint <- stringr::str_interp("job_tasks")
4273 url <- paste0(private$host, endPoint)
4274 headers <- list(Authorization = paste("OAuth2", private$token),
4275 "Content-Type" = "application/json")
4276 queryArgs <- list(filters = filters, where = where,
4277 order = order, select = select, distinct = distinct,
4278 limit = limit, offset = offset, count = count)
4282 response <- private$REST$http$exec("GET", url, headers, body,
4283 queryArgs, private$numRetries)
4284 resource <- private$REST$httpParser$parseJSONResponse(response)
4286 if(!is.null(resource$errors))
4287 stop(resource$errors)
4292 job_tasks.create = function(jobtask, ensure_unique_name = "false")
4294 endPoint <- stringr::str_interp("job_tasks")
4295 url <- paste0(private$host, endPoint)
4296 headers <- list(Authorization = paste("OAuth2", private$token),
4297 "Content-Type" = "application/json")
4298 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4300 if(length(jobtask) > 0)
4301 body <- jsonlite::toJSON(list(jobtask = jobtask),
4306 response <- private$REST$http$exec("POST", url, headers, body,
4307 queryArgs, private$numRetries)
4308 resource <- private$REST$httpParser$parseJSONResponse(response)
4310 if(!is.null(resource$errors))
4311 stop(resource$errors)
4316 job_tasks.update = function(jobtask, uuid)
4318 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4319 url <- paste0(private$host, endPoint)
4320 headers <- list(Authorization = paste("OAuth2", private$token),
4321 "Content-Type" = "application/json")
4324 if(length(jobtask) > 0)
4325 body <- jsonlite::toJSON(list(jobtask = jobtask),
4330 response <- private$REST$http$exec("PUT", url, headers, body,
4331 queryArgs, private$numRetries)
4332 resource <- private$REST$httpParser$parseJSONResponse(response)
4334 if(!is.null(resource$errors))
4335 stop(resource$errors)
4340 job_tasks.delete = function(uuid)
4342 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4343 url <- paste0(private$host, endPoint)
4344 headers <- list(Authorization = paste("OAuth2", private$token),
4345 "Content-Type" = "application/json")
4350 response <- private$REST$http$exec("DELETE", url, headers, body,
4351 queryArgs, private$numRetries)
4352 resource <- private$REST$httpParser$parseJSONResponse(response)
4354 if(!is.null(resource$errors))
4355 stop(resource$errors)
4360 job_tasks.list = function(filters = NULL,
4361 where = NULL, order = NULL, select = NULL,
4362 distinct = NULL, limit = "100", offset = "0",
4365 endPoint <- stringr::str_interp("job_tasks")
4366 url <- paste0(private$host, endPoint)
4367 headers <- list(Authorization = paste("OAuth2", private$token),
4368 "Content-Type" = "application/json")
4369 queryArgs <- list(filters = filters, where = where,
4370 order = order, select = select, distinct = distinct,
4371 limit = limit, offset = offset, count = count)
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 job_tasks.show = function(uuid)
4387 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4388 url <- paste0(private$host, endPoint)
4389 headers <- list(Authorization = paste("OAuth2", private$token),
4390 "Content-Type" = "application/json")
4395 response <- private$REST$http$exec("GET", url, headers, body,
4396 queryArgs, private$numRetries)
4397 resource <- private$REST$httpParser$parseJSONResponse(response)
4399 if(!is.null(resource$errors))
4400 stop(resource$errors)
4405 job_tasks.destroy = function(uuid)
4407 endPoint <- stringr::str_interp("job_tasks/${uuid}")
4408 url <- paste0(private$host, endPoint)
4409 headers <- list(Authorization = paste("OAuth2", private$token),
4410 "Content-Type" = "application/json")
4415 response <- private$REST$http$exec("DELETE", url, headers, body,
4416 queryArgs, private$numRetries)
4417 resource <- private$REST$httpParser$parseJSONResponse(response)
4419 if(!is.null(resource$errors))
4420 stop(resource$errors)
4425 links.get = function(uuid)
4427 endPoint <- stringr::str_interp("links/${uuid}")
4428 url <- paste0(private$host, endPoint)
4429 headers <- list(Authorization = paste("OAuth2", private$token),
4430 "Content-Type" = "application/json")
4435 response <- private$REST$http$exec("GET", url, headers, body,
4436 queryArgs, private$numRetries)
4437 resource <- private$REST$httpParser$parseJSONResponse(response)
4439 if(!is.null(resource$errors))
4440 stop(resource$errors)
4445 links.index = function(filters = NULL, where = NULL,
4446 order = NULL, select = NULL, distinct = NULL,
4447 limit = "100", offset = "0", count = "exact")
4449 endPoint <- stringr::str_interp("links")
4450 url <- paste0(private$host, endPoint)
4451 headers <- list(Authorization = paste("OAuth2", private$token),
4452 "Content-Type" = "application/json")
4453 queryArgs <- list(filters = filters, where = where,
4454 order = order, select = select, distinct = distinct,
4455 limit = limit, offset = offset, count = count)
4459 response <- private$REST$http$exec("GET", url, headers, body,
4460 queryArgs, private$numRetries)
4461 resource <- private$REST$httpParser$parseJSONResponse(response)
4463 if(!is.null(resource$errors))
4464 stop(resource$errors)
4469 links.create = function(link, ensure_unique_name = "false")
4471 endPoint <- stringr::str_interp("links")
4472 url <- paste0(private$host, endPoint)
4473 headers <- list(Authorization = paste("OAuth2", private$token),
4474 "Content-Type" = "application/json")
4475 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4477 if(length(link) > 0)
4478 body <- jsonlite::toJSON(list(link = link),
4483 response <- private$REST$http$exec("POST", url, headers, body,
4484 queryArgs, private$numRetries)
4485 resource <- private$REST$httpParser$parseJSONResponse(response)
4487 if(!is.null(resource$errors))
4488 stop(resource$errors)
4493 links.update = function(link, uuid)
4495 endPoint <- stringr::str_interp("links/${uuid}")
4496 url <- paste0(private$host, endPoint)
4497 headers <- list(Authorization = paste("OAuth2", private$token),
4498 "Content-Type" = "application/json")
4501 if(length(link) > 0)
4502 body <- jsonlite::toJSON(list(link = link),
4507 response <- private$REST$http$exec("PUT", url, headers, body,
4508 queryArgs, private$numRetries)
4509 resource <- private$REST$httpParser$parseJSONResponse(response)
4511 if(!is.null(resource$errors))
4512 stop(resource$errors)
4517 links.delete = function(uuid)
4519 endPoint <- stringr::str_interp("links/${uuid}")
4520 url <- paste0(private$host, endPoint)
4521 headers <- list(Authorization = paste("OAuth2", private$token),
4522 "Content-Type" = "application/json")
4527 response <- private$REST$http$exec("DELETE", url, headers, body,
4528 queryArgs, private$numRetries)
4529 resource <- private$REST$httpParser$parseJSONResponse(response)
4531 if(!is.null(resource$errors))
4532 stop(resource$errors)
4537 links.list = function(filters = NULL, where = NULL,
4538 order = NULL, select = NULL, distinct = NULL,
4539 limit = "100", offset = "0", count = "exact")
4541 endPoint <- stringr::str_interp("links")
4542 url <- paste0(private$host, endPoint)
4543 headers <- list(Authorization = paste("OAuth2", private$token),
4544 "Content-Type" = "application/json")
4545 queryArgs <- list(filters = filters, where = where,
4546 order = order, select = select, distinct = distinct,
4547 limit = limit, offset = offset, count = count)
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 links.show = function(uuid)
4563 endPoint <- stringr::str_interp("links/${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 links.destroy = function(uuid)
4583 endPoint <- stringr::str_interp("links/${uuid}")
4584 url <- paste0(private$host, endPoint)
4585 headers <- list(Authorization = paste("OAuth2", private$token),
4586 "Content-Type" = "application/json")
4591 response <- private$REST$http$exec("DELETE", url, headers, body,
4592 queryArgs, private$numRetries)
4593 resource <- private$REST$httpParser$parseJSONResponse(response)
4595 if(!is.null(resource$errors))
4596 stop(resource$errors)
4601 links.get_permissions = function(uuid)
4603 endPoint <- stringr::str_interp("permissions/${uuid}")
4604 url <- paste0(private$host, endPoint)
4605 headers <- list(Authorization = paste("OAuth2", private$token),
4606 "Content-Type" = "application/json")
4611 response <- private$REST$http$exec("GET", url, headers, body,
4612 queryArgs, private$numRetries)
4613 resource <- private$REST$httpParser$parseJSONResponse(response)
4615 if(!is.null(resource$errors))
4616 stop(resource$errors)
4621 jobs.get = function(uuid)
4623 endPoint <- stringr::str_interp("jobs/${uuid}")
4624 url <- paste0(private$host, endPoint)
4625 headers <- list(Authorization = paste("OAuth2", private$token),
4626 "Content-Type" = "application/json")
4631 response <- private$REST$http$exec("GET", url, headers, body,
4632 queryArgs, private$numRetries)
4633 resource <- private$REST$httpParser$parseJSONResponse(response)
4635 if(!is.null(resource$errors))
4636 stop(resource$errors)
4641 jobs.index = function(filters = NULL, where = NULL,
4642 order = NULL, select = NULL, distinct = NULL,
4643 limit = "100", offset = "0", count = "exact")
4645 endPoint <- stringr::str_interp("jobs")
4646 url <- paste0(private$host, endPoint)
4647 headers <- list(Authorization = paste("OAuth2", private$token),
4648 "Content-Type" = "application/json")
4649 queryArgs <- list(filters = filters, where = where,
4650 order = order, select = select, distinct = distinct,
4651 limit = limit, offset = offset, count = count)
4655 response <- private$REST$http$exec("GET", url, headers, body,
4656 queryArgs, private$numRetries)
4657 resource <- private$REST$httpParser$parseJSONResponse(response)
4659 if(!is.null(resource$errors))
4660 stop(resource$errors)
4665 jobs.create = function(job, ensure_unique_name = "false",
4666 find_or_create = "false", filters = NULL,
4667 minimum_script_version = NULL, exclude_script_versions = NULL)
4669 endPoint <- stringr::str_interp("jobs")
4670 url <- paste0(private$host, endPoint)
4671 headers <- list(Authorization = paste("OAuth2", private$token),
4672 "Content-Type" = "application/json")
4673 queryArgs <- list(ensure_unique_name = ensure_unique_name,
4674 find_or_create = find_or_create, filters = filters,
4675 minimum_script_version = minimum_script_version,
4676 exclude_script_versions = exclude_script_versions)
4679 body <- jsonlite::toJSON(list(job = job),
4684 response <- private$REST$http$exec("POST", url, headers, body,
4685 queryArgs, private$numRetries)
4686 resource <- private$REST$httpParser$parseJSONResponse(response)
4688 if(!is.null(resource$errors))
4689 stop(resource$errors)
4694 jobs.update = function(job, uuid)
4696 endPoint <- stringr::str_interp("jobs/${uuid}")
4697 url <- paste0(private$host, endPoint)
4698 headers <- list(Authorization = paste("OAuth2", private$token),
4699 "Content-Type" = "application/json")
4703 body <- jsonlite::toJSON(list(job = job),
4708 response <- private$REST$http$exec("PUT", url, headers, body,
4709 queryArgs, private$numRetries)
4710 resource <- private$REST$httpParser$parseJSONResponse(response)
4712 if(!is.null(resource$errors))
4713 stop(resource$errors)
4718 jobs.delete = function(uuid)
4720 endPoint <- stringr::str_interp("jobs/${uuid}")
4721 url <- paste0(private$host, endPoint)
4722 headers <- list(Authorization = paste("OAuth2", private$token),
4723 "Content-Type" = "application/json")
4728 response <- private$REST$http$exec("DELETE", url, headers, body,
4729 queryArgs, private$numRetries)
4730 resource <- private$REST$httpParser$parseJSONResponse(response)
4732 if(!is.null(resource$errors))
4733 stop(resource$errors)
4738 jobs.queue = function(filters = NULL, where = NULL,
4739 order = NULL, select = NULL, distinct = NULL,
4740 limit = "100", offset = "0", count = "exact")
4742 endPoint <- stringr::str_interp("jobs/queue")
4743 url <- paste0(private$host, endPoint)
4744 headers <- list(Authorization = paste("OAuth2", private$token),
4745 "Content-Type" = "application/json")
4746 queryArgs <- list(filters = filters, where = where,
4747 order = order, select = select, distinct = distinct,
4748 limit = limit, offset = offset, count = count)
4752 response <- private$REST$http$exec("GET", 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.queue_size = function()
4764 endPoint <- stringr::str_interp("jobs/queue_size")
4765 url <- paste0(private$host, endPoint)
4766 headers <- list(Authorization = paste("OAuth2", private$token),
4767 "Content-Type" = "application/json")
4772 response <- private$REST$http$exec("GET", url, headers, body,
4773 queryArgs, private$numRetries)
4774 resource <- private$REST$httpParser$parseJSONResponse(response)
4776 if(!is.null(resource$errors))
4777 stop(resource$errors)
4782 jobs.cancel = function(uuid)
4784 endPoint <- stringr::str_interp("jobs/${uuid}/cancel")
4785 url <- paste0(private$host, endPoint)
4786 headers <- list(Authorization = paste("OAuth2", private$token),
4787 "Content-Type" = "application/json")
4792 response <- private$REST$http$exec("POST", url, headers, body,
4793 queryArgs, private$numRetries)
4794 resource <- private$REST$httpParser$parseJSONResponse(response)
4796 if(!is.null(resource$errors))
4797 stop(resource$errors)
4802 jobs.lock = function(uuid)
4804 endPoint <- stringr::str_interp("jobs/${uuid}/lock")
4805 url <- paste0(private$host, endPoint)
4806 headers <- list(Authorization = paste("OAuth2", private$token),
4807 "Content-Type" = "application/json")
4812 response <- private$REST$http$exec("POST", url, headers, body,
4813 queryArgs, private$numRetries)
4814 resource <- private$REST$httpParser$parseJSONResponse(response)
4816 if(!is.null(resource$errors))
4817 stop(resource$errors)
4822 jobs.list = function(filters = NULL, where = NULL,
4823 order = NULL, select = NULL, distinct = NULL,
4824 limit = "100", offset = "0", count = "exact")
4826 endPoint <- stringr::str_interp("jobs")
4827 url <- paste0(private$host, endPoint)
4828 headers <- list(Authorization = paste("OAuth2", private$token),
4829 "Content-Type" = "application/json")
4830 queryArgs <- list(filters = filters, where = where,
4831 order = order, select = select, distinct = distinct,
4832 limit = limit, offset = offset, count = count)
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 jobs.show = function(uuid)
4848 endPoint <- stringr::str_interp("jobs/${uuid}")
4849 url <- paste0(private$host, endPoint)
4850 headers <- list(Authorization = paste("OAuth2", private$token),
4851 "Content-Type" = "application/json")
4856 response <- private$REST$http$exec("GET", url, headers, body,
4857 queryArgs, private$numRetries)
4858 resource <- private$REST$httpParser$parseJSONResponse(response)
4860 if(!is.null(resource$errors))
4861 stop(resource$errors)
4866 jobs.destroy = function(uuid)
4868 endPoint <- stringr::str_interp("jobs/${uuid}")
4869 url <- paste0(private$host, endPoint)
4870 headers <- list(Authorization = paste("OAuth2", private$token),
4871 "Content-Type" = "application/json")
4876 response <- private$REST$http$exec("DELETE", url, headers, body,
4877 queryArgs, private$numRetries)
4878 resource <- private$REST$httpParser$parseJSONResponse(response)
4880 if(!is.null(resource$errors))
4881 stop(resource$errors)
4886 keep_disks.get = function(uuid)
4888 endPoint <- stringr::str_interp("keep_disks/${uuid}")
4889 url <- paste0(private$host, endPoint)
4890 headers <- list(Authorization = paste("OAuth2", private$token),
4891 "Content-Type" = "application/json")
4896 response <- private$REST$http$exec("GET", url, headers, body,
4897 queryArgs, private$numRetries)
4898 resource <- private$REST$httpParser$parseJSONResponse(response)
4900 if(!is.null(resource$errors))
4901 stop(resource$errors)
4906 keep_disks.index = function(filters = NULL,
4907 where = NULL, order = NULL, select = NULL,
4908 distinct = NULL, limit = "100", offset = "0",
4911 endPoint <- stringr::str_interp("keep_disks")
4912 url <- paste0(private$host, endPoint)
4913 headers <- list(Authorization = paste("OAuth2", private$token),
4914 "Content-Type" = "application/json")
4915 queryArgs <- list(filters = filters, where = where,
4916 order = order, select = select, distinct = distinct,
4917 limit = limit, offset = offset, count = count)
4921 response <- private$REST$http$exec("GET", url, headers, body,
4922 queryArgs, private$numRetries)
4923 resource <- private$REST$httpParser$parseJSONResponse(response)
4925 if(!is.null(resource$errors))
4926 stop(resource$errors)
4931 keep_disks.create = function(keepdisk, ensure_unique_name = "false")
4933 endPoint <- stringr::str_interp("keep_disks")
4934 url <- paste0(private$host, endPoint)
4935 headers <- list(Authorization = paste("OAuth2", private$token),
4936 "Content-Type" = "application/json")
4937 queryArgs <- list(ensure_unique_name = ensure_unique_name)
4939 if(length(keepdisk) > 0)
4940 body <- jsonlite::toJSON(list(keepdisk = keepdisk),
4945 response <- private$REST$http$exec("POST", url, headers, body,
4946 queryArgs, private$numRetries)
4947 resource <- private$REST$httpParser$parseJSONResponse(response)
4949 if(!is.null(resource$errors))
4950 stop(resource$errors)
4955 keep_disks.update = function(keepdisk, uuid)
4957 endPoint <- stringr::str_interp("keep_disks/${uuid}")
4958 url <- paste0(private$host, endPoint)
4959 headers <- list(Authorization = paste("OAuth2", private$token),
4960 "Content-Type" = "application/json")
4963 if(length(keepdisk) > 0)
4964 body <- jsonlite::toJSON(list(keepdisk = keepdisk),
4969 response <- private$REST$http$exec("PUT", url, headers, body,
4970 queryArgs, private$numRetries)
4971 resource <- private$REST$httpParser$parseJSONResponse(response)
4973 if(!is.null(resource$errors))
4974 stop(resource$errors)
4979 keep_disks.delete = function(uuid)
4981 endPoint <- stringr::str_interp("keep_disks/${uuid}")
4982 url <- paste0(private$host, endPoint)
4983 headers <- list(Authorization = paste("OAuth2", private$token),
4984 "Content-Type" = "application/json")
4989 response <- private$REST$http$exec("DELETE", url, headers, body,
4990 queryArgs, private$numRetries)
4991 resource <- private$REST$httpParser$parseJSONResponse(response)
4993 if(!is.null(resource$errors))
4994 stop(resource$errors)
4999 keep_disks.ping = function(uuid = NULL, ping_secret,
5000 node_uuid = NULL, filesystem_uuid = NULL,
5001 service_host = NULL, service_port, service_ssl_flag)
5003 endPoint <- stringr::str_interp("keep_disks/ping")
5004 url <- paste0(private$host, endPoint)
5005 headers <- list(Authorization = paste("OAuth2", private$token),
5006 "Content-Type" = "application/json")
5007 queryArgs <- list(uuid = uuid, ping_secret = ping_secret,
5008 node_uuid = node_uuid, filesystem_uuid = filesystem_uuid,
5009 service_host = service_host, service_port = service_port,
5010 service_ssl_flag = service_ssl_flag)
5014 response <- private$REST$http$exec("POST", url, headers, body,
5015 queryArgs, private$numRetries)
5016 resource <- private$REST$httpParser$parseJSONResponse(response)
5018 if(!is.null(resource$errors))
5019 stop(resource$errors)
5024 keep_disks.list = function(filters = NULL,
5025 where = NULL, order = NULL, select = NULL,
5026 distinct = NULL, limit = "100", offset = "0",
5029 endPoint <- stringr::str_interp("keep_disks")
5030 url <- paste0(private$host, endPoint)
5031 headers <- list(Authorization = paste("OAuth2", private$token),
5032 "Content-Type" = "application/json")
5033 queryArgs <- list(filters = filters, where = where,
5034 order = order, select = select, distinct = distinct,
5035 limit = limit, offset = offset, count = count)
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_disks.show = function(uuid)
5051 endPoint <- stringr::str_interp("keep_disks/${uuid}")
5052 url <- paste0(private$host, endPoint)
5053 headers <- list(Authorization = paste("OAuth2", private$token),
5054 "Content-Type" = "application/json")
5059 response <- private$REST$http$exec("GET", url, headers, body,
5060 queryArgs, private$numRetries)
5061 resource <- private$REST$httpParser$parseJSONResponse(response)
5063 if(!is.null(resource$errors))
5064 stop(resource$errors)
5069 keep_disks.destroy = function(uuid)
5071 endPoint <- stringr::str_interp("keep_disks/${uuid}")
5072 url <- paste0(private$host, endPoint)
5073 headers <- list(Authorization = paste("OAuth2", private$token),
5074 "Content-Type" = "application/json")
5079 response <- private$REST$http$exec("DELETE", url, headers, body,
5080 queryArgs, private$numRetries)
5081 resource <- private$REST$httpParser$parseJSONResponse(response)
5083 if(!is.null(resource$errors))
5084 stop(resource$errors)
5089 keep_services.get = function(uuid)
5091 endPoint <- stringr::str_interp("keep_services/${uuid}")
5092 url <- paste0(private$host, endPoint)
5093 headers <- list(Authorization = paste("OAuth2", private$token),
5094 "Content-Type" = "application/json")
5099 response <- private$REST$http$exec("GET", url, headers, body,
5100 queryArgs, private$numRetries)
5101 resource <- private$REST$httpParser$parseJSONResponse(response)
5103 if(!is.null(resource$errors))
5104 stop(resource$errors)
5109 keep_services.index = function(filters = NULL,
5110 where = NULL, order = NULL, select = NULL,
5111 distinct = NULL, limit = "100", offset = "0",
5114 endPoint <- stringr::str_interp("keep_services")
5115 url <- paste0(private$host, endPoint)
5116 headers <- list(Authorization = paste("OAuth2", private$token),
5117 "Content-Type" = "application/json")
5118 queryArgs <- list(filters = filters, where = where,
5119 order = order, select = select, distinct = distinct,
5120 limit = limit, offset = offset, count = count)
5124 response <- private$REST$http$exec("GET", url, headers, body,
5125 queryArgs, private$numRetries)
5126 resource <- private$REST$httpParser$parseJSONResponse(response)
5128 if(!is.null(resource$errors))
5129 stop(resource$errors)
5134 keep_services.create = function(keepservice,
5135 ensure_unique_name = "false")
5137 endPoint <- stringr::str_interp("keep_services")
5138 url <- paste0(private$host, endPoint)
5139 headers <- list(Authorization = paste("OAuth2", private$token),
5140 "Content-Type" = "application/json")
5141 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5143 if(length(keepservice) > 0)
5144 body <- jsonlite::toJSON(list(keepservice = keepservice),
5149 response <- private$REST$http$exec("POST", url, headers, body,
5150 queryArgs, private$numRetries)
5151 resource <- private$REST$httpParser$parseJSONResponse(response)
5153 if(!is.null(resource$errors))
5154 stop(resource$errors)
5159 keep_services.update = function(keepservice, uuid)
5161 endPoint <- stringr::str_interp("keep_services/${uuid}")
5162 url <- paste0(private$host, endPoint)
5163 headers <- list(Authorization = paste("OAuth2", private$token),
5164 "Content-Type" = "application/json")
5167 if(length(keepservice) > 0)
5168 body <- jsonlite::toJSON(list(keepservice = keepservice),
5173 response <- private$REST$http$exec("PUT", url, headers, body,
5174 queryArgs, private$numRetries)
5175 resource <- private$REST$httpParser$parseJSONResponse(response)
5177 if(!is.null(resource$errors))
5178 stop(resource$errors)
5183 keep_services.delete = function(uuid)
5185 endPoint <- stringr::str_interp("keep_services/${uuid}")
5186 url <- paste0(private$host, endPoint)
5187 headers <- list(Authorization = paste("OAuth2", private$token),
5188 "Content-Type" = "application/json")
5193 response <- private$REST$http$exec("DELETE", url, headers, body,
5194 queryArgs, private$numRetries)
5195 resource <- private$REST$httpParser$parseJSONResponse(response)
5197 if(!is.null(resource$errors))
5198 stop(resource$errors)
5203 keep_services.accessible = function()
5205 endPoint <- stringr::str_interp("keep_services/accessible")
5206 url <- paste0(private$host, endPoint)
5207 headers <- list(Authorization = paste("OAuth2", private$token),
5208 "Content-Type" = "application/json")
5213 response <- private$REST$http$exec("GET", url, headers, body,
5214 queryArgs, private$numRetries)
5215 resource <- private$REST$httpParser$parseJSONResponse(response)
5217 if(!is.null(resource$errors))
5218 stop(resource$errors)
5223 keep_services.list = function(filters = NULL,
5224 where = NULL, order = NULL, select = NULL,
5225 distinct = NULL, limit = "100", offset = "0",
5228 endPoint <- stringr::str_interp("keep_services")
5229 url <- paste0(private$host, endPoint)
5230 headers <- list(Authorization = paste("OAuth2", private$token),
5231 "Content-Type" = "application/json")
5232 queryArgs <- list(filters = filters, where = where,
5233 order = order, select = select, distinct = distinct,
5234 limit = limit, offset = offset, count = count)
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 keep_services.show = function(uuid)
5250 endPoint <- stringr::str_interp("keep_services/${uuid}")
5251 url <- paste0(private$host, endPoint)
5252 headers <- list(Authorization = paste("OAuth2", private$token),
5253 "Content-Type" = "application/json")
5258 response <- private$REST$http$exec("GET", url, headers, body,
5259 queryArgs, private$numRetries)
5260 resource <- private$REST$httpParser$parseJSONResponse(response)
5262 if(!is.null(resource$errors))
5263 stop(resource$errors)
5268 keep_services.destroy = function(uuid)
5270 endPoint <- stringr::str_interp("keep_services/${uuid}")
5271 url <- paste0(private$host, endPoint)
5272 headers <- list(Authorization = paste("OAuth2", private$token),
5273 "Content-Type" = "application/json")
5278 response <- private$REST$http$exec("DELETE", url, headers, body,
5279 queryArgs, private$numRetries)
5280 resource <- private$REST$httpParser$parseJSONResponse(response)
5282 if(!is.null(resource$errors))
5283 stop(resource$errors)
5288 pipeline_templates.get = function(uuid)
5290 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5291 url <- paste0(private$host, endPoint)
5292 headers <- list(Authorization = paste("OAuth2", private$token),
5293 "Content-Type" = "application/json")
5298 response <- private$REST$http$exec("GET", url, headers, body,
5299 queryArgs, private$numRetries)
5300 resource <- private$REST$httpParser$parseJSONResponse(response)
5302 if(!is.null(resource$errors))
5303 stop(resource$errors)
5308 pipeline_templates.index = function(filters = NULL,
5309 where = NULL, order = NULL, select = NULL,
5310 distinct = NULL, limit = "100", offset = "0",
5313 endPoint <- stringr::str_interp("pipeline_templates")
5314 url <- paste0(private$host, endPoint)
5315 headers <- list(Authorization = paste("OAuth2", private$token),
5316 "Content-Type" = "application/json")
5317 queryArgs <- list(filters = filters, where = where,
5318 order = order, select = select, distinct = distinct,
5319 limit = limit, offset = offset, count = count)
5323 response <- private$REST$http$exec("GET", url, headers, body,
5324 queryArgs, private$numRetries)
5325 resource <- private$REST$httpParser$parseJSONResponse(response)
5327 if(!is.null(resource$errors))
5328 stop(resource$errors)
5333 pipeline_templates.create = function(pipelinetemplate,
5334 ensure_unique_name = "false")
5336 endPoint <- stringr::str_interp("pipeline_templates")
5337 url <- paste0(private$host, endPoint)
5338 headers <- list(Authorization = paste("OAuth2", private$token),
5339 "Content-Type" = "application/json")
5340 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5342 if(length(pipelinetemplate) > 0)
5343 body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate),
5348 response <- private$REST$http$exec("POST", url, headers, body,
5349 queryArgs, private$numRetries)
5350 resource <- private$REST$httpParser$parseJSONResponse(response)
5352 if(!is.null(resource$errors))
5353 stop(resource$errors)
5358 pipeline_templates.update = function(pipelinetemplate, uuid)
5360 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5361 url <- paste0(private$host, endPoint)
5362 headers <- list(Authorization = paste("OAuth2", private$token),
5363 "Content-Type" = "application/json")
5366 if(length(pipelinetemplate) > 0)
5367 body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate),
5372 response <- private$REST$http$exec("PUT", url, headers, body,
5373 queryArgs, private$numRetries)
5374 resource <- private$REST$httpParser$parseJSONResponse(response)
5376 if(!is.null(resource$errors))
5377 stop(resource$errors)
5382 pipeline_templates.delete = function(uuid)
5384 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5385 url <- paste0(private$host, endPoint)
5386 headers <- list(Authorization = paste("OAuth2", private$token),
5387 "Content-Type" = "application/json")
5392 response <- private$REST$http$exec("DELETE", url, headers, body,
5393 queryArgs, private$numRetries)
5394 resource <- private$REST$httpParser$parseJSONResponse(response)
5396 if(!is.null(resource$errors))
5397 stop(resource$errors)
5402 pipeline_templates.list = function(filters = NULL,
5403 where = NULL, order = NULL, select = NULL,
5404 distinct = NULL, limit = "100", offset = "0",
5407 endPoint <- stringr::str_interp("pipeline_templates")
5408 url <- paste0(private$host, endPoint)
5409 headers <- list(Authorization = paste("OAuth2", private$token),
5410 "Content-Type" = "application/json")
5411 queryArgs <- list(filters = filters, where = where,
5412 order = order, select = select, distinct = distinct,
5413 limit = limit, offset = offset, count = count)
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_templates.show = function(uuid)
5429 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5430 url <- paste0(private$host, endPoint)
5431 headers <- list(Authorization = paste("OAuth2", private$token),
5432 "Content-Type" = "application/json")
5437 response <- private$REST$http$exec("GET", url, headers, body,
5438 queryArgs, private$numRetries)
5439 resource <- private$REST$httpParser$parseJSONResponse(response)
5441 if(!is.null(resource$errors))
5442 stop(resource$errors)
5447 pipeline_templates.destroy = function(uuid)
5449 endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5450 url <- paste0(private$host, endPoint)
5451 headers <- list(Authorization = paste("OAuth2", private$token),
5452 "Content-Type" = "application/json")
5457 response <- private$REST$http$exec("DELETE", url, headers, body,
5458 queryArgs, private$numRetries)
5459 resource <- private$REST$httpParser$parseJSONResponse(response)
5461 if(!is.null(resource$errors))
5462 stop(resource$errors)
5467 pipeline_instances.get = function(uuid)
5469 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5470 url <- paste0(private$host, endPoint)
5471 headers <- list(Authorization = paste("OAuth2", private$token),
5472 "Content-Type" = "application/json")
5477 response <- private$REST$http$exec("GET", url, headers, body,
5478 queryArgs, private$numRetries)
5479 resource <- private$REST$httpParser$parseJSONResponse(response)
5481 if(!is.null(resource$errors))
5482 stop(resource$errors)
5487 pipeline_instances.index = function(filters = NULL,
5488 where = NULL, order = NULL, select = NULL,
5489 distinct = NULL, limit = "100", offset = "0",
5492 endPoint <- stringr::str_interp("pipeline_instances")
5493 url <- paste0(private$host, endPoint)
5494 headers <- list(Authorization = paste("OAuth2", private$token),
5495 "Content-Type" = "application/json")
5496 queryArgs <- list(filters = filters, where = where,
5497 order = order, select = select, distinct = distinct,
5498 limit = limit, offset = offset, count = count)
5502 response <- private$REST$http$exec("GET", url, headers, body,
5503 queryArgs, private$numRetries)
5504 resource <- private$REST$httpParser$parseJSONResponse(response)
5506 if(!is.null(resource$errors))
5507 stop(resource$errors)
5512 pipeline_instances.create = function(pipelineinstance,
5513 ensure_unique_name = "false")
5515 endPoint <- stringr::str_interp("pipeline_instances")
5516 url <- paste0(private$host, endPoint)
5517 headers <- list(Authorization = paste("OAuth2", private$token),
5518 "Content-Type" = "application/json")
5519 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5521 if(length(pipelineinstance) > 0)
5522 body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance),
5527 response <- private$REST$http$exec("POST", url, headers, body,
5528 queryArgs, private$numRetries)
5529 resource <- private$REST$httpParser$parseJSONResponse(response)
5531 if(!is.null(resource$errors))
5532 stop(resource$errors)
5537 pipeline_instances.update = function(pipelineinstance, uuid)
5539 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5540 url <- paste0(private$host, endPoint)
5541 headers <- list(Authorization = paste("OAuth2", private$token),
5542 "Content-Type" = "application/json")
5545 if(length(pipelineinstance) > 0)
5546 body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance),
5551 response <- private$REST$http$exec("PUT", url, headers, body,
5552 queryArgs, private$numRetries)
5553 resource <- private$REST$httpParser$parseJSONResponse(response)
5555 if(!is.null(resource$errors))
5556 stop(resource$errors)
5561 pipeline_instances.delete = function(uuid)
5563 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5564 url <- paste0(private$host, endPoint)
5565 headers <- list(Authorization = paste("OAuth2", private$token),
5566 "Content-Type" = "application/json")
5571 response <- private$REST$http$exec("DELETE", url, headers, body,
5572 queryArgs, private$numRetries)
5573 resource <- private$REST$httpParser$parseJSONResponse(response)
5575 if(!is.null(resource$errors))
5576 stop(resource$errors)
5581 pipeline_instances.cancel = function(uuid)
5583 endPoint <- stringr::str_interp("pipeline_instances/${uuid}/cancel")
5584 url <- paste0(private$host, endPoint)
5585 headers <- list(Authorization = paste("OAuth2", private$token),
5586 "Content-Type" = "application/json")
5591 response <- private$REST$http$exec("POST", url, headers, body,
5592 queryArgs, private$numRetries)
5593 resource <- private$REST$httpParser$parseJSONResponse(response)
5595 if(!is.null(resource$errors))
5596 stop(resource$errors)
5601 pipeline_instances.list = function(filters = NULL,
5602 where = NULL, order = NULL, select = NULL,
5603 distinct = NULL, limit = "100", offset = "0",
5606 endPoint <- stringr::str_interp("pipeline_instances")
5607 url <- paste0(private$host, endPoint)
5608 headers <- list(Authorization = paste("OAuth2", private$token),
5609 "Content-Type" = "application/json")
5610 queryArgs <- list(filters = filters, where = where,
5611 order = order, select = select, distinct = distinct,
5612 limit = limit, offset = offset, count = count)
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 pipeline_instances.show = function(uuid)
5628 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5629 url <- paste0(private$host, endPoint)
5630 headers <- list(Authorization = paste("OAuth2", private$token),
5631 "Content-Type" = "application/json")
5636 response <- private$REST$http$exec("GET", url, headers, body,
5637 queryArgs, private$numRetries)
5638 resource <- private$REST$httpParser$parseJSONResponse(response)
5640 if(!is.null(resource$errors))
5641 stop(resource$errors)
5646 pipeline_instances.destroy = function(uuid)
5648 endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5649 url <- paste0(private$host, endPoint)
5650 headers <- list(Authorization = paste("OAuth2", private$token),
5651 "Content-Type" = "application/json")
5656 response <- private$REST$http$exec("DELETE", url, headers, body,
5657 queryArgs, private$numRetries)
5658 resource <- private$REST$httpParser$parseJSONResponse(response)
5660 if(!is.null(resource$errors))
5661 stop(resource$errors)
5666 nodes.get = function(uuid)
5668 endPoint <- stringr::str_interp("nodes/${uuid}")
5669 url <- paste0(private$host, endPoint)
5670 headers <- list(Authorization = paste("OAuth2", private$token),
5671 "Content-Type" = "application/json")
5676 response <- private$REST$http$exec("GET", url, headers, body,
5677 queryArgs, private$numRetries)
5678 resource <- private$REST$httpParser$parseJSONResponse(response)
5680 if(!is.null(resource$errors))
5681 stop(resource$errors)
5686 nodes.index = function(filters = NULL, where = NULL,
5687 order = NULL, select = NULL, distinct = NULL,
5688 limit = "100", offset = "0", count = "exact")
5690 endPoint <- stringr::str_interp("nodes")
5691 url <- paste0(private$host, endPoint)
5692 headers <- list(Authorization = paste("OAuth2", private$token),
5693 "Content-Type" = "application/json")
5694 queryArgs <- list(filters = filters, where = where,
5695 order = order, select = select, distinct = distinct,
5696 limit = limit, offset = offset, count = count)
5700 response <- private$REST$http$exec("GET", url, headers, body,
5701 queryArgs, private$numRetries)
5702 resource <- private$REST$httpParser$parseJSONResponse(response)
5704 if(!is.null(resource$errors))
5705 stop(resource$errors)
5710 nodes.create = function(node, ensure_unique_name = "false",
5713 endPoint <- stringr::str_interp("nodes")
5714 url <- paste0(private$host, endPoint)
5715 headers <- list(Authorization = paste("OAuth2", private$token),
5716 "Content-Type" = "application/json")
5717 queryArgs <- list(ensure_unique_name = ensure_unique_name,
5718 assign_slot = assign_slot)
5720 if(length(node) > 0)
5721 body <- jsonlite::toJSON(list(node = node),
5726 response <- private$REST$http$exec("POST", url, headers, body,
5727 queryArgs, private$numRetries)
5728 resource <- private$REST$httpParser$parseJSONResponse(response)
5730 if(!is.null(resource$errors))
5731 stop(resource$errors)
5736 nodes.update = function(node, uuid, assign_slot = NULL)
5738 endPoint <- stringr::str_interp("nodes/${uuid}")
5739 url <- paste0(private$host, endPoint)
5740 headers <- list(Authorization = paste("OAuth2", private$token),
5741 "Content-Type" = "application/json")
5742 queryArgs <- list(assign_slot = assign_slot)
5744 if(length(node) > 0)
5745 body <- jsonlite::toJSON(list(node = node),
5750 response <- private$REST$http$exec("PUT", url, headers, body,
5751 queryArgs, private$numRetries)
5752 resource <- private$REST$httpParser$parseJSONResponse(response)
5754 if(!is.null(resource$errors))
5755 stop(resource$errors)
5760 nodes.delete = function(uuid)
5762 endPoint <- stringr::str_interp("nodes/${uuid}")
5763 url <- paste0(private$host, endPoint)
5764 headers <- list(Authorization = paste("OAuth2", private$token),
5765 "Content-Type" = "application/json")
5770 response <- private$REST$http$exec("DELETE", url, headers, body,
5771 queryArgs, private$numRetries)
5772 resource <- private$REST$httpParser$parseJSONResponse(response)
5774 if(!is.null(resource$errors))
5775 stop(resource$errors)
5780 nodes.ping = function(uuid, ping_secret)
5782 endPoint <- stringr::str_interp("nodes/${uuid}/ping")
5783 url <- paste0(private$host, endPoint)
5784 headers <- list(Authorization = paste("OAuth2", private$token),
5785 "Content-Type" = "application/json")
5786 queryArgs <- list(ping_secret = ping_secret)
5790 response <- private$REST$http$exec("POST", url, headers, body,
5791 queryArgs, private$numRetries)
5792 resource <- private$REST$httpParser$parseJSONResponse(response)
5794 if(!is.null(resource$errors))
5795 stop(resource$errors)
5800 nodes.list = function(filters = NULL, where = NULL,
5801 order = NULL, select = NULL, distinct = NULL,
5802 limit = "100", offset = "0", count = "exact")
5804 endPoint <- stringr::str_interp("nodes")
5805 url <- paste0(private$host, endPoint)
5806 headers <- list(Authorization = paste("OAuth2", private$token),
5807 "Content-Type" = "application/json")
5808 queryArgs <- list(filters = filters, where = where,
5809 order = order, select = select, distinct = distinct,
5810 limit = limit, offset = offset, count = count)
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 nodes.show = function(uuid)
5826 endPoint <- stringr::str_interp("nodes/${uuid}")
5827 url <- paste0(private$host, endPoint)
5828 headers <- list(Authorization = paste("OAuth2", private$token),
5829 "Content-Type" = "application/json")
5834 response <- private$REST$http$exec("GET", url, headers, body,
5835 queryArgs, private$numRetries)
5836 resource <- private$REST$httpParser$parseJSONResponse(response)
5838 if(!is.null(resource$errors))
5839 stop(resource$errors)
5844 nodes.destroy = function(uuid)
5846 endPoint <- stringr::str_interp("nodes/${uuid}")
5847 url <- paste0(private$host, endPoint)
5848 headers <- list(Authorization = paste("OAuth2", private$token),
5849 "Content-Type" = "application/json")
5854 response <- private$REST$http$exec("DELETE", url, headers, body,
5855 queryArgs, private$numRetries)
5856 resource <- private$REST$httpParser$parseJSONResponse(response)
5858 if(!is.null(resource$errors))
5859 stop(resource$errors)
5864 repositories.get = function(uuid)
5866 endPoint <- stringr::str_interp("repositories/${uuid}")
5867 url <- paste0(private$host, endPoint)
5868 headers <- list(Authorization = paste("OAuth2", private$token),
5869 "Content-Type" = "application/json")
5874 response <- private$REST$http$exec("GET", url, headers, body,
5875 queryArgs, private$numRetries)
5876 resource <- private$REST$httpParser$parseJSONResponse(response)
5878 if(!is.null(resource$errors))
5879 stop(resource$errors)
5884 repositories.index = function(filters = NULL,
5885 where = NULL, order = NULL, select = NULL,
5886 distinct = NULL, limit = "100", offset = "0",
5889 endPoint <- stringr::str_interp("repositories")
5890 url <- paste0(private$host, endPoint)
5891 headers <- list(Authorization = paste("OAuth2", private$token),
5892 "Content-Type" = "application/json")
5893 queryArgs <- list(filters = filters, where = where,
5894 order = order, select = select, distinct = distinct,
5895 limit = limit, offset = offset, count = count)
5899 response <- private$REST$http$exec("GET", url, headers, body,
5900 queryArgs, private$numRetries)
5901 resource <- private$REST$httpParser$parseJSONResponse(response)
5903 if(!is.null(resource$errors))
5904 stop(resource$errors)
5909 repositories.create = function(repository, ensure_unique_name = "false")
5911 endPoint <- stringr::str_interp("repositories")
5912 url <- paste0(private$host, endPoint)
5913 headers <- list(Authorization = paste("OAuth2", private$token),
5914 "Content-Type" = "application/json")
5915 queryArgs <- list(ensure_unique_name = ensure_unique_name)
5917 if(length(repository) > 0)
5918 body <- jsonlite::toJSON(list(repository = repository),
5923 response <- private$REST$http$exec("POST", url, headers, body,
5924 queryArgs, private$numRetries)
5925 resource <- private$REST$httpParser$parseJSONResponse(response)
5927 if(!is.null(resource$errors))
5928 stop(resource$errors)
5933 repositories.update = function(repository, uuid)
5935 endPoint <- stringr::str_interp("repositories/${uuid}")
5936 url <- paste0(private$host, endPoint)
5937 headers <- list(Authorization = paste("OAuth2", private$token),
5938 "Content-Type" = "application/json")
5941 if(length(repository) > 0)
5942 body <- jsonlite::toJSON(list(repository = repository),
5947 response <- private$REST$http$exec("PUT", url, headers, body,
5948 queryArgs, private$numRetries)
5949 resource <- private$REST$httpParser$parseJSONResponse(response)
5951 if(!is.null(resource$errors))
5952 stop(resource$errors)
5957 repositories.delete = function(uuid)
5959 endPoint <- stringr::str_interp("repositories/${uuid}")
5960 url <- paste0(private$host, endPoint)
5961 headers <- list(Authorization = paste("OAuth2", private$token),
5962 "Content-Type" = "application/json")
5967 response <- private$REST$http$exec("DELETE", url, headers, body,
5968 queryArgs, private$numRetries)
5969 resource <- private$REST$httpParser$parseJSONResponse(response)
5971 if(!is.null(resource$errors))
5972 stop(resource$errors)
5977 repositories.get_all_permissions = function()
5979 endPoint <- stringr::str_interp("repositories/get_all_permissions")
5980 url <- paste0(private$host, endPoint)
5981 headers <- list(Authorization = paste("OAuth2", private$token),
5982 "Content-Type" = "application/json")
5987 response <- private$REST$http$exec("GET", url, headers, body,
5988 queryArgs, private$numRetries)
5989 resource <- private$REST$httpParser$parseJSONResponse(response)
5991 if(!is.null(resource$errors))
5992 stop(resource$errors)
5997 repositories.list = function(filters = NULL,
5998 where = NULL, order = NULL, select = NULL,
5999 distinct = NULL, limit = "100", offset = "0",
6002 endPoint <- stringr::str_interp("repositories")
6003 url <- paste0(private$host, endPoint)
6004 headers <- list(Authorization = paste("OAuth2", private$token),
6005 "Content-Type" = "application/json")
6006 queryArgs <- list(filters = filters, where = where,
6007 order = order, select = select, distinct = distinct,
6008 limit = limit, offset = offset, count = count)
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 repositories.show = function(uuid)
6024 endPoint <- stringr::str_interp("repositories/${uuid}")
6025 url <- paste0(private$host, endPoint)
6026 headers <- list(Authorization = paste("OAuth2", private$token),
6027 "Content-Type" = "application/json")
6032 response <- private$REST$http$exec("GET", url, headers, body,
6033 queryArgs, private$numRetries)
6034 resource <- private$REST$httpParser$parseJSONResponse(response)
6036 if(!is.null(resource$errors))
6037 stop(resource$errors)
6042 repositories.destroy = function(uuid)
6044 endPoint <- stringr::str_interp("repositories/${uuid}")
6045 url <- paste0(private$host, endPoint)
6046 headers <- list(Authorization = paste("OAuth2", private$token),
6047 "Content-Type" = "application/json")
6052 response <- private$REST$http$exec("DELETE", url, headers, body,
6053 queryArgs, private$numRetries)
6054 resource <- private$REST$httpParser$parseJSONResponse(response)
6056 if(!is.null(resource$errors))
6057 stop(resource$errors)
6062 specimens.get = function(uuid)
6064 endPoint <- stringr::str_interp("specimens/${uuid}")
6065 url <- paste0(private$host, endPoint)
6066 headers <- list(Authorization = paste("OAuth2", private$token),
6067 "Content-Type" = "application/json")
6072 response <- private$REST$http$exec("GET", url, headers, body,
6073 queryArgs, private$numRetries)
6074 resource <- private$REST$httpParser$parseJSONResponse(response)
6076 if(!is.null(resource$errors))
6077 stop(resource$errors)
6082 specimens.index = function(filters = NULL,
6083 where = NULL, order = NULL, select = NULL,
6084 distinct = NULL, limit = "100", offset = "0",
6087 endPoint <- stringr::str_interp("specimens")
6088 url <- paste0(private$host, endPoint)
6089 headers <- list(Authorization = paste("OAuth2", private$token),
6090 "Content-Type" = "application/json")
6091 queryArgs <- list(filters = filters, where = where,
6092 order = order, select = select, distinct = distinct,
6093 limit = limit, offset = offset, count = count)
6097 response <- private$REST$http$exec("GET", url, headers, body,
6098 queryArgs, private$numRetries)
6099 resource <- private$REST$httpParser$parseJSONResponse(response)
6101 if(!is.null(resource$errors))
6102 stop(resource$errors)
6107 specimens.create = function(specimen, ensure_unique_name = "false")
6109 endPoint <- stringr::str_interp("specimens")
6110 url <- paste0(private$host, endPoint)
6111 headers <- list(Authorization = paste("OAuth2", private$token),
6112 "Content-Type" = "application/json")
6113 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6115 if(length(specimen) > 0)
6116 body <- jsonlite::toJSON(list(specimen = specimen),
6121 response <- private$REST$http$exec("POST", url, headers, body,
6122 queryArgs, private$numRetries)
6123 resource <- private$REST$httpParser$parseJSONResponse(response)
6125 if(!is.null(resource$errors))
6126 stop(resource$errors)
6131 specimens.update = function(specimen, uuid)
6133 endPoint <- stringr::str_interp("specimens/${uuid}")
6134 url <- paste0(private$host, endPoint)
6135 headers <- list(Authorization = paste("OAuth2", private$token),
6136 "Content-Type" = "application/json")
6139 if(length(specimen) > 0)
6140 body <- jsonlite::toJSON(list(specimen = specimen),
6145 response <- private$REST$http$exec("PUT", url, headers, body,
6146 queryArgs, private$numRetries)
6147 resource <- private$REST$httpParser$parseJSONResponse(response)
6149 if(!is.null(resource$errors))
6150 stop(resource$errors)
6155 specimens.delete = function(uuid)
6157 endPoint <- stringr::str_interp("specimens/${uuid}")
6158 url <- paste0(private$host, endPoint)
6159 headers <- list(Authorization = paste("OAuth2", private$token),
6160 "Content-Type" = "application/json")
6165 response <- private$REST$http$exec("DELETE", url, headers, body,
6166 queryArgs, private$numRetries)
6167 resource <- private$REST$httpParser$parseJSONResponse(response)
6169 if(!is.null(resource$errors))
6170 stop(resource$errors)
6175 specimens.list = function(filters = NULL,
6176 where = NULL, order = NULL, select = NULL,
6177 distinct = NULL, limit = "100", offset = "0",
6180 endPoint <- stringr::str_interp("specimens")
6181 url <- paste0(private$host, endPoint)
6182 headers <- list(Authorization = paste("OAuth2", private$token),
6183 "Content-Type" = "application/json")
6184 queryArgs <- list(filters = filters, where = where,
6185 order = order, select = select, distinct = distinct,
6186 limit = limit, offset = offset, count = count)
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 specimens.show = function(uuid)
6202 endPoint <- stringr::str_interp("specimens/${uuid}")
6203 url <- paste0(private$host, endPoint)
6204 headers <- list(Authorization = paste("OAuth2", private$token),
6205 "Content-Type" = "application/json")
6210 response <- private$REST$http$exec("GET", url, headers, body,
6211 queryArgs, private$numRetries)
6212 resource <- private$REST$httpParser$parseJSONResponse(response)
6214 if(!is.null(resource$errors))
6215 stop(resource$errors)
6220 specimens.destroy = function(uuid)
6222 endPoint <- stringr::str_interp("specimens/${uuid}")
6223 url <- paste0(private$host, endPoint)
6224 headers <- list(Authorization = paste("OAuth2", private$token),
6225 "Content-Type" = "application/json")
6230 response <- private$REST$http$exec("DELETE", url, headers, body,
6231 queryArgs, private$numRetries)
6232 resource <- private$REST$httpParser$parseJSONResponse(response)
6234 if(!is.null(resource$errors))
6235 stop(resource$errors)
6240 logs.get = function(uuid)
6242 endPoint <- stringr::str_interp("logs/${uuid}")
6243 url <- paste0(private$host, endPoint)
6244 headers <- list(Authorization = paste("OAuth2", private$token),
6245 "Content-Type" = "application/json")
6250 response <- private$REST$http$exec("GET", url, headers, body,
6251 queryArgs, private$numRetries)
6252 resource <- private$REST$httpParser$parseJSONResponse(response)
6254 if(!is.null(resource$errors))
6255 stop(resource$errors)
6260 logs.index = function(filters = NULL, where = NULL,
6261 order = NULL, select = NULL, distinct = NULL,
6262 limit = "100", offset = "0", count = "exact")
6264 endPoint <- stringr::str_interp("logs")
6265 url <- paste0(private$host, endPoint)
6266 headers <- list(Authorization = paste("OAuth2", private$token),
6267 "Content-Type" = "application/json")
6268 queryArgs <- list(filters = filters, where = where,
6269 order = order, select = select, distinct = distinct,
6270 limit = limit, offset = offset, count = count)
6274 response <- private$REST$http$exec("GET", url, headers, body,
6275 queryArgs, private$numRetries)
6276 resource <- private$REST$httpParser$parseJSONResponse(response)
6278 if(!is.null(resource$errors))
6279 stop(resource$errors)
6284 logs.create = function(log, ensure_unique_name = "false")
6286 endPoint <- stringr::str_interp("logs")
6287 url <- paste0(private$host, endPoint)
6288 headers <- list(Authorization = paste("OAuth2", private$token),
6289 "Content-Type" = "application/json")
6290 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6293 body <- jsonlite::toJSON(list(log = log),
6298 response <- private$REST$http$exec("POST", url, headers, body,
6299 queryArgs, private$numRetries)
6300 resource <- private$REST$httpParser$parseJSONResponse(response)
6302 if(!is.null(resource$errors))
6303 stop(resource$errors)
6308 logs.update = function(log, uuid)
6310 endPoint <- stringr::str_interp("logs/${uuid}")
6311 url <- paste0(private$host, endPoint)
6312 headers <- list(Authorization = paste("OAuth2", private$token),
6313 "Content-Type" = "application/json")
6317 body <- jsonlite::toJSON(list(log = log),
6322 response <- private$REST$http$exec("PUT", url, headers, body,
6323 queryArgs, private$numRetries)
6324 resource <- private$REST$httpParser$parseJSONResponse(response)
6326 if(!is.null(resource$errors))
6327 stop(resource$errors)
6332 logs.delete = function(uuid)
6334 endPoint <- stringr::str_interp("logs/${uuid}")
6335 url <- paste0(private$host, endPoint)
6336 headers <- list(Authorization = paste("OAuth2", private$token),
6337 "Content-Type" = "application/json")
6342 response <- private$REST$http$exec("DELETE", url, headers, body,
6343 queryArgs, private$numRetries)
6344 resource <- private$REST$httpParser$parseJSONResponse(response)
6346 if(!is.null(resource$errors))
6347 stop(resource$errors)
6352 logs.list = function(filters = NULL, where = NULL,
6353 order = NULL, select = NULL, distinct = NULL,
6354 limit = "100", offset = "0", count = "exact")
6356 endPoint <- stringr::str_interp("logs")
6357 url <- paste0(private$host, endPoint)
6358 headers <- list(Authorization = paste("OAuth2", private$token),
6359 "Content-Type" = "application/json")
6360 queryArgs <- list(filters = filters, where = where,
6361 order = order, select = select, distinct = distinct,
6362 limit = limit, offset = offset, count = count)
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 logs.show = function(uuid)
6378 endPoint <- stringr::str_interp("logs/${uuid}")
6379 url <- paste0(private$host, endPoint)
6380 headers <- list(Authorization = paste("OAuth2", private$token),
6381 "Content-Type" = "application/json")
6386 response <- private$REST$http$exec("GET", url, headers, body,
6387 queryArgs, private$numRetries)
6388 resource <- private$REST$httpParser$parseJSONResponse(response)
6390 if(!is.null(resource$errors))
6391 stop(resource$errors)
6396 logs.destroy = function(uuid)
6398 endPoint <- stringr::str_interp("logs/${uuid}")
6399 url <- paste0(private$host, endPoint)
6400 headers <- list(Authorization = paste("OAuth2", private$token),
6401 "Content-Type" = "application/json")
6406 response <- private$REST$http$exec("DELETE", url, headers, body,
6407 queryArgs, private$numRetries)
6408 resource <- private$REST$httpParser$parseJSONResponse(response)
6410 if(!is.null(resource$errors))
6411 stop(resource$errors)
6416 traits.get = function(uuid)
6418 endPoint <- stringr::str_interp("traits/${uuid}")
6419 url <- paste0(private$host, endPoint)
6420 headers <- list(Authorization = paste("OAuth2", private$token),
6421 "Content-Type" = "application/json")
6426 response <- private$REST$http$exec("GET", url, headers, body,
6427 queryArgs, private$numRetries)
6428 resource <- private$REST$httpParser$parseJSONResponse(response)
6430 if(!is.null(resource$errors))
6431 stop(resource$errors)
6436 traits.index = function(filters = NULL, where = NULL,
6437 order = NULL, select = NULL, distinct = NULL,
6438 limit = "100", offset = "0", count = "exact")
6440 endPoint <- stringr::str_interp("traits")
6441 url <- paste0(private$host, endPoint)
6442 headers <- list(Authorization = paste("OAuth2", private$token),
6443 "Content-Type" = "application/json")
6444 queryArgs <- list(filters = filters, where = where,
6445 order = order, select = select, distinct = distinct,
6446 limit = limit, offset = offset, count = count)
6450 response <- private$REST$http$exec("GET", url, headers, body,
6451 queryArgs, private$numRetries)
6452 resource <- private$REST$httpParser$parseJSONResponse(response)
6454 if(!is.null(resource$errors))
6455 stop(resource$errors)
6460 traits.create = function(trait, ensure_unique_name = "false")
6462 endPoint <- stringr::str_interp("traits")
6463 url <- paste0(private$host, endPoint)
6464 headers <- list(Authorization = paste("OAuth2", private$token),
6465 "Content-Type" = "application/json")
6466 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6468 if(length(trait) > 0)
6469 body <- jsonlite::toJSON(list(trait = trait),
6474 response <- private$REST$http$exec("POST", url, headers, body,
6475 queryArgs, private$numRetries)
6476 resource <- private$REST$httpParser$parseJSONResponse(response)
6478 if(!is.null(resource$errors))
6479 stop(resource$errors)
6484 traits.update = function(trait, uuid)
6486 endPoint <- stringr::str_interp("traits/${uuid}")
6487 url <- paste0(private$host, endPoint)
6488 headers <- list(Authorization = paste("OAuth2", private$token),
6489 "Content-Type" = "application/json")
6492 if(length(trait) > 0)
6493 body <- jsonlite::toJSON(list(trait = trait),
6498 response <- private$REST$http$exec("PUT", url, headers, body,
6499 queryArgs, private$numRetries)
6500 resource <- private$REST$httpParser$parseJSONResponse(response)
6502 if(!is.null(resource$errors))
6503 stop(resource$errors)
6508 traits.delete = function(uuid)
6510 endPoint <- stringr::str_interp("traits/${uuid}")
6511 url <- paste0(private$host, endPoint)
6512 headers <- list(Authorization = paste("OAuth2", private$token),
6513 "Content-Type" = "application/json")
6518 response <- private$REST$http$exec("DELETE", url, headers, body,
6519 queryArgs, private$numRetries)
6520 resource <- private$REST$httpParser$parseJSONResponse(response)
6522 if(!is.null(resource$errors))
6523 stop(resource$errors)
6528 traits.list = function(filters = NULL, where = NULL,
6529 order = NULL, select = NULL, distinct = NULL,
6530 limit = "100", offset = "0", count = "exact")
6532 endPoint <- stringr::str_interp("traits")
6533 url <- paste0(private$host, endPoint)
6534 headers <- list(Authorization = paste("OAuth2", private$token),
6535 "Content-Type" = "application/json")
6536 queryArgs <- list(filters = filters, where = where,
6537 order = order, select = select, distinct = distinct,
6538 limit = limit, offset = offset, count = count)
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 traits.show = function(uuid)
6554 endPoint <- stringr::str_interp("traits/${uuid}")
6555 url <- paste0(private$host, endPoint)
6556 headers <- list(Authorization = paste("OAuth2", private$token),
6557 "Content-Type" = "application/json")
6562 response <- private$REST$http$exec("GET", url, headers, body,
6563 queryArgs, private$numRetries)
6564 resource <- private$REST$httpParser$parseJSONResponse(response)
6566 if(!is.null(resource$errors))
6567 stop(resource$errors)
6572 traits.destroy = function(uuid)
6574 endPoint <- stringr::str_interp("traits/${uuid}")
6575 url <- paste0(private$host, endPoint)
6576 headers <- list(Authorization = paste("OAuth2", private$token),
6577 "Content-Type" = "application/json")
6582 response <- private$REST$http$exec("DELETE", url, headers, body,
6583 queryArgs, private$numRetries)
6584 resource <- private$REST$httpParser$parseJSONResponse(response)
6586 if(!is.null(resource$errors))
6587 stop(resource$errors)
6592 virtual_machines.get = function(uuid)
6594 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6595 url <- paste0(private$host, endPoint)
6596 headers <- list(Authorization = paste("OAuth2", private$token),
6597 "Content-Type" = "application/json")
6602 response <- private$REST$http$exec("GET", url, headers, body,
6603 queryArgs, private$numRetries)
6604 resource <- private$REST$httpParser$parseJSONResponse(response)
6606 if(!is.null(resource$errors))
6607 stop(resource$errors)
6612 virtual_machines.index = function(filters = NULL,
6613 where = NULL, order = NULL, select = NULL,
6614 distinct = NULL, limit = "100", offset = "0",
6617 endPoint <- stringr::str_interp("virtual_machines")
6618 url <- paste0(private$host, endPoint)
6619 headers <- list(Authorization = paste("OAuth2", private$token),
6620 "Content-Type" = "application/json")
6621 queryArgs <- list(filters = filters, where = where,
6622 order = order, select = select, distinct = distinct,
6623 limit = limit, offset = offset, count = count)
6627 response <- private$REST$http$exec("GET", url, headers, body,
6628 queryArgs, private$numRetries)
6629 resource <- private$REST$httpParser$parseJSONResponse(response)
6631 if(!is.null(resource$errors))
6632 stop(resource$errors)
6637 virtual_machines.create = function(virtualmachine,
6638 ensure_unique_name = "false")
6640 endPoint <- stringr::str_interp("virtual_machines")
6641 url <- paste0(private$host, endPoint)
6642 headers <- list(Authorization = paste("OAuth2", private$token),
6643 "Content-Type" = "application/json")
6644 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6646 if(length(virtualmachine) > 0)
6647 body <- jsonlite::toJSON(list(virtualmachine = virtualmachine),
6652 response <- private$REST$http$exec("POST", url, headers, body,
6653 queryArgs, private$numRetries)
6654 resource <- private$REST$httpParser$parseJSONResponse(response)
6656 if(!is.null(resource$errors))
6657 stop(resource$errors)
6662 virtual_machines.update = function(virtualmachine, uuid)
6664 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6665 url <- paste0(private$host, endPoint)
6666 headers <- list(Authorization = paste("OAuth2", private$token),
6667 "Content-Type" = "application/json")
6670 if(length(virtualmachine) > 0)
6671 body <- jsonlite::toJSON(list(virtualmachine = virtualmachine),
6676 response <- private$REST$http$exec("PUT", 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.delete = function(uuid)
6688 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6689 url <- paste0(private$host, endPoint)
6690 headers <- list(Authorization = paste("OAuth2", private$token),
6691 "Content-Type" = "application/json")
6696 response <- private$REST$http$exec("DELETE", url, headers, body,
6697 queryArgs, private$numRetries)
6698 resource <- private$REST$httpParser$parseJSONResponse(response)
6700 if(!is.null(resource$errors))
6701 stop(resource$errors)
6706 virtual_machines.logins = function(uuid)
6708 endPoint <- stringr::str_interp("virtual_machines/${uuid}/logins")
6709 url <- paste0(private$host, endPoint)
6710 headers <- list(Authorization = paste("OAuth2", private$token),
6711 "Content-Type" = "application/json")
6716 response <- private$REST$http$exec("GET", url, headers, body,
6717 queryArgs, private$numRetries)
6718 resource <- private$REST$httpParser$parseJSONResponse(response)
6720 if(!is.null(resource$errors))
6721 stop(resource$errors)
6726 virtual_machines.get_all_logins = function()
6728 endPoint <- stringr::str_interp("virtual_machines/get_all_logins")
6729 url <- paste0(private$host, endPoint)
6730 headers <- list(Authorization = paste("OAuth2", private$token),
6731 "Content-Type" = "application/json")
6736 response <- private$REST$http$exec("GET", url, headers, body,
6737 queryArgs, private$numRetries)
6738 resource <- private$REST$httpParser$parseJSONResponse(response)
6740 if(!is.null(resource$errors))
6741 stop(resource$errors)
6746 virtual_machines.list = function(filters = NULL,
6747 where = NULL, order = NULL, select = NULL,
6748 distinct = NULL, limit = "100", offset = "0",
6751 endPoint <- stringr::str_interp("virtual_machines")
6752 url <- paste0(private$host, endPoint)
6753 headers <- list(Authorization = paste("OAuth2", private$token),
6754 "Content-Type" = "application/json")
6755 queryArgs <- list(filters = filters, where = where,
6756 order = order, select = select, distinct = distinct,
6757 limit = limit, offset = offset, count = count)
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 virtual_machines.show = function(uuid)
6773 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6774 url <- paste0(private$host, endPoint)
6775 headers <- list(Authorization = paste("OAuth2", private$token),
6776 "Content-Type" = "application/json")
6781 response <- private$REST$http$exec("GET", url, headers, body,
6782 queryArgs, private$numRetries)
6783 resource <- private$REST$httpParser$parseJSONResponse(response)
6785 if(!is.null(resource$errors))
6786 stop(resource$errors)
6791 virtual_machines.destroy = function(uuid)
6793 endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6794 url <- paste0(private$host, endPoint)
6795 headers <- list(Authorization = paste("OAuth2", private$token),
6796 "Content-Type" = "application/json")
6801 response <- private$REST$http$exec("DELETE", url, headers, body,
6802 queryArgs, private$numRetries)
6803 resource <- private$REST$httpParser$parseJSONResponse(response)
6805 if(!is.null(resource$errors))
6806 stop(resource$errors)
6811 workflows.get = function(uuid)
6813 endPoint <- stringr::str_interp("workflows/${uuid}")
6814 url <- paste0(private$host, endPoint)
6815 headers <- list(Authorization = paste("OAuth2", private$token),
6816 "Content-Type" = "application/json")
6821 response <- private$REST$http$exec("GET", url, headers, body,
6822 queryArgs, private$numRetries)
6823 resource <- private$REST$httpParser$parseJSONResponse(response)
6825 if(!is.null(resource$errors))
6826 stop(resource$errors)
6831 workflows.index = function(filters = NULL,
6832 where = NULL, order = NULL, select = NULL,
6833 distinct = NULL, limit = "100", offset = "0",
6836 endPoint <- stringr::str_interp("workflows")
6837 url <- paste0(private$host, endPoint)
6838 headers <- list(Authorization = paste("OAuth2", private$token),
6839 "Content-Type" = "application/json")
6840 queryArgs <- list(filters = filters, where = where,
6841 order = order, select = select, distinct = distinct,
6842 limit = limit, offset = offset, count = count)
6846 response <- private$REST$http$exec("GET", url, headers, body,
6847 queryArgs, private$numRetries)
6848 resource <- private$REST$httpParser$parseJSONResponse(response)
6850 if(!is.null(resource$errors))
6851 stop(resource$errors)
6856 workflows.create = function(workflow, ensure_unique_name = "false")
6858 endPoint <- stringr::str_interp("workflows")
6859 url <- paste0(private$host, endPoint)
6860 headers <- list(Authorization = paste("OAuth2", private$token),
6861 "Content-Type" = "application/json")
6862 queryArgs <- list(ensure_unique_name = ensure_unique_name)
6864 if(length(workflow) > 0)
6865 body <- jsonlite::toJSON(list(workflow = workflow),
6870 response <- private$REST$http$exec("POST", url, headers, body,
6871 queryArgs, private$numRetries)
6872 resource <- private$REST$httpParser$parseJSONResponse(response)
6874 if(!is.null(resource$errors))
6875 stop(resource$errors)
6880 workflows.update = function(workflow, uuid)
6882 endPoint <- stringr::str_interp("workflows/${uuid}")
6883 url <- paste0(private$host, endPoint)
6884 headers <- list(Authorization = paste("OAuth2", private$token),
6885 "Content-Type" = "application/json")
6888 if(length(workflow) > 0)
6889 body <- jsonlite::toJSON(list(workflow = workflow),
6894 response <- private$REST$http$exec("PUT", url, headers, body,
6895 queryArgs, private$numRetries)
6896 resource <- private$REST$httpParser$parseJSONResponse(response)
6898 if(!is.null(resource$errors))
6899 stop(resource$errors)
6904 workflows.delete = function(uuid)
6906 endPoint <- stringr::str_interp("workflows/${uuid}")
6907 url <- paste0(private$host, endPoint)
6908 headers <- list(Authorization = paste("OAuth2", private$token),
6909 "Content-Type" = "application/json")
6914 response <- private$REST$http$exec("DELETE", url, headers, body,
6915 queryArgs, private$numRetries)
6916 resource <- private$REST$httpParser$parseJSONResponse(response)
6918 if(!is.null(resource$errors))
6919 stop(resource$errors)
6924 workflows.list = function(filters = NULL,
6925 where = NULL, order = NULL, select = NULL,
6926 distinct = NULL, limit = "100", offset = "0",
6929 endPoint <- stringr::str_interp("workflows")
6930 url <- paste0(private$host, endPoint)
6931 headers <- list(Authorization = paste("OAuth2", private$token),
6932 "Content-Type" = "application/json")
6933 queryArgs <- list(filters = filters, where = where,
6934 order = order, select = select, distinct = distinct,
6935 limit = limit, offset = offset, count = count)
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 workflows.show = function(uuid)
6951 endPoint <- stringr::str_interp("workflows/${uuid}")
6952 url <- paste0(private$host, endPoint)
6953 headers <- list(Authorization = paste("OAuth2", private$token),
6954 "Content-Type" = "application/json")
6959 response <- private$REST$http$exec("GET", url, headers, body,
6960 queryArgs, private$numRetries)
6961 resource <- private$REST$httpParser$parseJSONResponse(response)
6963 if(!is.null(resource$errors))
6964 stop(resource$errors)
6969 workflows.destroy = function(uuid)
6971 endPoint <- stringr::str_interp("workflows/${uuid}")
6972 url <- paste0(private$host, endPoint)
6973 headers <- list(Authorization = paste("OAuth2", private$token),
6974 "Content-Type" = "application/json")
6979 response <- private$REST$http$exec("DELETE", url, headers, body,
6980 queryArgs, private$numRetries)
6981 resource <- private$REST$httpParser$parseJSONResponse(response)
6983 if(!is.null(resource$errors))
6984 stop(resource$errors)
6989 groups.get = function(uuid)
6991 endPoint <- stringr::str_interp("groups/${uuid}")
6992 url <- paste0(private$host, endPoint)
6993 headers <- list(Authorization = paste("OAuth2", private$token),
6994 "Content-Type" = "application/json")
6999 response <- private$REST$http$exec("GET", url, headers, body,
7000 queryArgs, private$numRetries)
7001 resource <- private$REST$httpParser$parseJSONResponse(response)
7003 if(!is.null(resource$errors))
7004 stop(resource$errors)
7009 groups.index = function(filters = NULL, where = NULL,
7010 order = NULL, select = NULL, distinct = NULL,
7011 limit = "100", offset = "0", count = "exact",
7012 include_trash = NULL)
7014 endPoint <- stringr::str_interp("groups")
7015 url <- paste0(private$host, endPoint)
7016 headers <- list(Authorization = paste("OAuth2", private$token),
7017 "Content-Type" = "application/json")
7018 queryArgs <- list(filters = filters, where = where,
7019 order = order, select = select, distinct = distinct,
7020 limit = limit, offset = offset, count = count,
7021 include_trash = include_trash)
7025 response <- private$REST$http$exec("GET", url, headers, body,
7026 queryArgs, private$numRetries)
7027 resource <- private$REST$httpParser$parseJSONResponse(response)
7029 if(!is.null(resource$errors))
7030 stop(resource$errors)
7035 groups.create = function(group, ensure_unique_name = "false")
7037 endPoint <- stringr::str_interp("groups")
7038 url <- paste0(private$host, endPoint)
7039 headers <- list(Authorization = paste("OAuth2", private$token),
7040 "Content-Type" = "application/json")
7041 queryArgs <- list(ensure_unique_name = ensure_unique_name)
7043 if(length(group) > 0)
7044 body <- jsonlite::toJSON(list(group = group),
7049 response <- private$REST$http$exec("POST", url, headers, body,
7050 queryArgs, private$numRetries)
7051 resource <- private$REST$httpParser$parseJSONResponse(response)
7053 if(!is.null(resource$errors))
7054 stop(resource$errors)
7059 groups.update = function(group, uuid)
7061 endPoint <- stringr::str_interp("groups/${uuid}")
7062 url <- paste0(private$host, endPoint)
7063 headers <- list(Authorization = paste("OAuth2", private$token),
7064 "Content-Type" = "application/json")
7067 if(length(group) > 0)
7068 body <- jsonlite::toJSON(list(group = group),
7073 response <- private$REST$http$exec("PUT", url, headers, body,
7074 queryArgs, private$numRetries)
7075 resource <- private$REST$httpParser$parseJSONResponse(response)
7077 if(!is.null(resource$errors))
7078 stop(resource$errors)
7083 groups.delete = function(uuid)
7085 endPoint <- stringr::str_interp("groups/${uuid}")
7086 url <- paste0(private$host, endPoint)
7087 headers <- list(Authorization = paste("OAuth2", private$token),
7088 "Content-Type" = "application/json")
7093 response <- private$REST$http$exec("DELETE", url, headers, body,
7094 queryArgs, private$numRetries)
7095 resource <- private$REST$httpParser$parseJSONResponse(response)
7097 if(!is.null(resource$errors))
7098 stop(resource$errors)
7103 groups.contents = function(filters = NULL,
7104 where = NULL, order = NULL, distinct = NULL,
7105 limit = "100", offset = "0", count = "exact",
7106 include_trash = NULL, uuid = NULL, recursive = NULL)
7108 endPoint <- stringr::str_interp("groups/contents")
7109 url <- paste0(private$host, endPoint)
7110 headers <- list(Authorization = paste("OAuth2", private$token),
7111 "Content-Type" = "application/json")
7112 queryArgs <- list(filters = filters, where = where,
7113 order = order, distinct = distinct, limit = limit,
7114 offset = offset, count = count, include_trash = include_trash,
7115 uuid = uuid, recursive = recursive)
7119 response <- private$REST$http$exec("GET", url, headers, body,
7120 queryArgs, private$numRetries)
7121 resource <- private$REST$httpParser$parseJSONResponse(response)
7123 if(!is.null(resource$errors))
7124 stop(resource$errors)
7129 groups.trash = function(uuid)
7131 endPoint <- stringr::str_interp("groups/${uuid}/trash")
7132 url <- paste0(private$host, endPoint)
7133 headers <- list(Authorization = paste("OAuth2", private$token),
7134 "Content-Type" = "application/json")
7139 response <- private$REST$http$exec("POST", url, headers, body,
7140 queryArgs, private$numRetries)
7141 resource <- private$REST$httpParser$parseJSONResponse(response)
7143 if(!is.null(resource$errors))
7144 stop(resource$errors)
7149 groups.untrash = function(uuid)
7151 endPoint <- stringr::str_interp("groups/${uuid}/untrash")
7152 url <- paste0(private$host, endPoint)
7153 headers <- list(Authorization = paste("OAuth2", private$token),
7154 "Content-Type" = "application/json")
7159 response <- private$REST$http$exec("POST", url, headers, body,
7160 queryArgs, private$numRetries)
7161 resource <- private$REST$httpParser$parseJSONResponse(response)
7163 if(!is.null(resource$errors))
7164 stop(resource$errors)
7169 groups.list = function(filters = NULL, where = NULL,
7170 order = NULL, select = NULL, distinct = NULL,
7171 limit = "100", offset = "0", count = "exact",
7172 include_trash = NULL)
7174 endPoint <- stringr::str_interp("groups")
7175 url <- paste0(private$host, endPoint)
7176 headers <- list(Authorization = paste("OAuth2", private$token),
7177 "Content-Type" = "application/json")
7178 queryArgs <- list(filters = filters, where = where,
7179 order = order, select = select, distinct = distinct,
7180 limit = limit, offset = offset, count = count,
7181 include_trash = include_trash)
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 groups.show = function(uuid)
7197 endPoint <- stringr::str_interp("groups/${uuid}")
7198 url <- paste0(private$host, endPoint)
7199 headers <- list(Authorization = paste("OAuth2", private$token),
7200 "Content-Type" = "application/json")
7205 response <- private$REST$http$exec("GET", url, headers, body,
7206 queryArgs, private$numRetries)
7207 resource <- private$REST$httpParser$parseJSONResponse(response)
7209 if(!is.null(resource$errors))
7210 stop(resource$errors)
7215 groups.destroy = function(uuid)
7217 endPoint <- stringr::str_interp("groups/${uuid}")
7218 url <- paste0(private$host, endPoint)
7219 headers <- list(Authorization = paste("OAuth2", private$token),
7220 "Content-Type" = "application/json")
7225 response <- private$REST$http$exec("DELETE", url, headers, body,
7226 queryArgs, private$numRetries)
7227 resource <- private$REST$httpParser$parseJSONResponse(response)
7229 if(!is.null(resource$errors))
7230 stop(resource$errors)
7235 user_agreements.get = function(uuid)
7237 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7238 url <- paste0(private$host, endPoint)
7239 headers <- list(Authorization = paste("OAuth2", private$token),
7240 "Content-Type" = "application/json")
7245 response <- private$REST$http$exec("GET", url, headers, body,
7246 queryArgs, private$numRetries)
7247 resource <- private$REST$httpParser$parseJSONResponse(response)
7249 if(!is.null(resource$errors))
7250 stop(resource$errors)
7255 user_agreements.index = function(filters = NULL,
7256 where = NULL, order = NULL, select = NULL,
7257 distinct = NULL, limit = "100", offset = "0",
7260 endPoint <- stringr::str_interp("user_agreements")
7261 url <- paste0(private$host, endPoint)
7262 headers <- list(Authorization = paste("OAuth2", private$token),
7263 "Content-Type" = "application/json")
7264 queryArgs <- list(filters = filters, where = where,
7265 order = order, select = select, distinct = distinct,
7266 limit = limit, offset = offset, count = count)
7270 response <- private$REST$http$exec("GET", url, headers, body,
7271 queryArgs, private$numRetries)
7272 resource <- private$REST$httpParser$parseJSONResponse(response)
7274 if(!is.null(resource$errors))
7275 stop(resource$errors)
7280 user_agreements.create = function(useragreement,
7281 ensure_unique_name = "false")
7283 endPoint <- stringr::str_interp("user_agreements")
7284 url <- paste0(private$host, endPoint)
7285 headers <- list(Authorization = paste("OAuth2", private$token),
7286 "Content-Type" = "application/json")
7287 queryArgs <- list(ensure_unique_name = ensure_unique_name)
7289 if(length(useragreement) > 0)
7290 body <- jsonlite::toJSON(list(useragreement = useragreement),
7295 response <- private$REST$http$exec("POST", url, headers, body,
7296 queryArgs, private$numRetries)
7297 resource <- private$REST$httpParser$parseJSONResponse(response)
7299 if(!is.null(resource$errors))
7300 stop(resource$errors)
7305 user_agreements.update = function(useragreement, uuid)
7307 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7308 url <- paste0(private$host, endPoint)
7309 headers <- list(Authorization = paste("OAuth2", private$token),
7310 "Content-Type" = "application/json")
7313 if(length(useragreement) > 0)
7314 body <- jsonlite::toJSON(list(useragreement = useragreement),
7319 response <- private$REST$http$exec("PUT", 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.delete = function(uuid)
7331 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7332 url <- paste0(private$host, endPoint)
7333 headers <- list(Authorization = paste("OAuth2", private$token),
7334 "Content-Type" = "application/json")
7339 response <- private$REST$http$exec("DELETE", url, headers, body,
7340 queryArgs, private$numRetries)
7341 resource <- private$REST$httpParser$parseJSONResponse(response)
7343 if(!is.null(resource$errors))
7344 stop(resource$errors)
7349 user_agreements.signatures = function()
7351 endPoint <- stringr::str_interp("user_agreements/signatures")
7352 url <- paste0(private$host, endPoint)
7353 headers <- list(Authorization = paste("OAuth2", private$token),
7354 "Content-Type" = "application/json")
7359 response <- private$REST$http$exec("GET", url, headers, body,
7360 queryArgs, private$numRetries)
7361 resource <- private$REST$httpParser$parseJSONResponse(response)
7363 if(!is.null(resource$errors))
7364 stop(resource$errors)
7369 user_agreements.sign = function()
7371 endPoint <- stringr::str_interp("user_agreements/sign")
7372 url <- paste0(private$host, endPoint)
7373 headers <- list(Authorization = paste("OAuth2", private$token),
7374 "Content-Type" = "application/json")
7379 response <- private$REST$http$exec("POST", url, headers, body,
7380 queryArgs, private$numRetries)
7381 resource <- private$REST$httpParser$parseJSONResponse(response)
7383 if(!is.null(resource$errors))
7384 stop(resource$errors)
7389 user_agreements.list = function(filters = NULL,
7390 where = NULL, order = NULL, select = NULL,
7391 distinct = NULL, limit = "100", offset = "0",
7394 endPoint <- stringr::str_interp("user_agreements")
7395 url <- paste0(private$host, endPoint)
7396 headers <- list(Authorization = paste("OAuth2", private$token),
7397 "Content-Type" = "application/json")
7398 queryArgs <- list(filters = filters, where = where,
7399 order = order, select = select, distinct = distinct,
7400 limit = limit, offset = offset, count = count)
7404 response <- private$REST$http$exec("GET", 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 user_agreements.new = function()
7416 endPoint <- stringr::str_interp("user_agreements/new")
7417 url <- paste0(private$host, endPoint)
7418 headers <- list(Authorization = paste("OAuth2", private$token),
7419 "Content-Type" = "application/json")
7424 response <- private$REST$http$exec("GET", url, headers, body,
7425 queryArgs, private$numRetries)
7426 resource <- private$REST$httpParser$parseJSONResponse(response)
7428 if(!is.null(resource$errors))
7429 stop(resource$errors)
7434 user_agreements.show = function(uuid)
7436 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7437 url <- paste0(private$host, endPoint)
7438 headers <- list(Authorization = paste("OAuth2", private$token),
7439 "Content-Type" = "application/json")
7444 response <- private$REST$http$exec("GET", url, headers, body,
7445 queryArgs, private$numRetries)
7446 resource <- private$REST$httpParser$parseJSONResponse(response)
7448 if(!is.null(resource$errors))
7449 stop(resource$errors)
7454 user_agreements.destroy = function(uuid)
7456 endPoint <- stringr::str_interp("user_agreements/${uuid}")
7457 url <- paste0(private$host, endPoint)
7458 headers <- list(Authorization = paste("OAuth2", private$token),
7459 "Content-Type" = "application/json")
7464 response <- private$REST$http$exec("DELETE", url, headers, body,
7465 queryArgs, private$numRetries)
7466 resource <- private$REST$httpParser$parseJSONResponse(response)
7468 if(!is.null(resource$errors))
7469 stop(resource$errors)
7474 getHostName = function() private$host,
7475 getToken = function() private$token,
7476 setRESTService = function(newREST) private$REST <- newREST,
7477 getRESTService = function() private$REST