In these examples, the site prefix is aaaaa
.
See also the cookbook for more complex examples.
import arvados api = arvados.api("v1")
result = api.collections().create(body={"collection": {"name": "create example"}}).execute()
result = api.collections().delete(uuid="aaaaa-4zz18-ccccccccccccccc").execute()
result = api.collections().get(uuid="aaaaa-4zz18-ccccccccccccccc").execute()
result = api.collections().list(filters=[["uuid", "=", "aaaaa-bbbbb-ccccccccccccccc"]]).execute()
result = api.collections().update(uuid="aaaaa-4zz18-ccccccccccccccc", body={"collection": {"name": "update example"}}).execute()
result = api.users().current().execute()
current_user = arvados.api('v1').users().current().execute()
my_uuid = current_user['uuid']
The content of this documentation is licensed under the
Creative
Commons Attribution-Share Alike 3.0 United States licence.
Code samples in this documentation are licensed under the
Apache License, Version 2.0.