This repository has been archived by the owner on Apr 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Signatures
Mathieu Leplatre edited this page Feb 8, 2016
·
1 revision
client = Client(server_url=None, session=None, auth=None,
bucket="default", collection=None)
get_bucket(bucket=None)
# get_buckets()
create_bucket(bucket=None, data=None, permissions=None,
safe=True, if_not_exists=False)
update_bucket(bucket=None, data=None, permissions=None,
safe=True, last_modified=None)
# patch_bucket(*args, **kwargs)
delete_bucket(bucket=None, safe=True, last_modified=None)
# delete_buckets()
get_collection(collection=None, bucket=None):
get_collections(bucket=None)
create_collection(collection=None, bucket=None,
data=None, permissions=None, safe=True,
if_not_exists=False)
update_collection(data=None, collection=None, bucket=None,
permissions=None, method='put',
safe=True, last_modified=None)
patch_collection(*args, **kwargs)
delete_collection(collection=None, bucket=None,
safe=True, last_modified=None)
# delete_collections(bucket=None)
get_records(collection=None, bucket=None, **kwargs):
get_record(id, collection=None, bucket=None)
create_record(data, id=None, collection=None, permissions=None,
bucket=None, safe=True, if_not_exists=False)
update_record(data, id=None, collection=None, permissions=None,
bucket=None, safe=True, method='put',
last_modified=None)
patch_record(*args, **kwargs)
delete_record(id, collection=None, bucket=None,
safe=True, last_modified=None):
# delete_records(records)