8 Copyright (C) The Arvados Authors. All rights reserved.
10 SPDX-License-Identifier: CC-BY-SA-3.0
13 In these examples, the site prefix is @aaaaa@.
19 api = arvados.api("v1")
25 result = api.collection().create(body={"collection": {"name": "create example"}}).execute()
31 result = api.collections().delete(uuid="aaaaa-4zz18-ccccccccccccccc").execute()
37 result = api.collections().get(uuid="aaaaa-4zz18-ccccccccccccccc").execute()
43 result = api.collections().list(filters=[["uuid", "=", "aaaaa-bbbbb-ccccccccccccccc"]]).execute()
49 result = api.collections().update(uuid="aaaaa-4zz18-ccccccccccccccc", body={"collection": {"name": "update example"}}).execute()
55 result = api.users().current().execute()