# Mutations
If a write key is enabled on the requested Bucket, the parameter write_key
will need to be present for Bucket content mutations.
# addObject
Add an Object to your Bucket.
addObject(bucket_slug, input)
# Try it
Full screen (opens new window)
# editObject
Edit an Object in your Bucket.
editObject(bucket_slug, input)
# Try it
Full screen (opens new window)
# deleteObject
Delete an Object in your Bucket.
deleteObject(bucket_slug, input)
# Try it
Full screen (opens new window)
# addObjectRevision
Add a Revision to your Object.
addObjectRevision(bucket_slug, object_slug, input)
# Try it
Full screen (opens new window)
# addObjectType
Add an Object Type to your Bucket.
addObjectType(bucket_slug, input)
# Try it
Full screen (opens new window)
# editObjectType
Edit an Object Type in your Bucket.
editObjectType(bucket_slug)
# Try it
Full screen (opens new window)
# deleteObjectType
Delete an Object Type in your Bucket.
deleteObjectType(bucket_slug, type_slug)
# Try it
Full screen (opens new window)
# addBucket
Add a Bucket to your user account.
addBucket(input)
Requires Authorization
in HTTP Header. Find token in Account Settings or using the getAccessToken
method.
# Try it
Full screen (opens new window)
# deleteBucket
Delete a Bucket from your user account.
deleteBucket(bucket_id)
Requires Authorization
in HTTP Header. Find token in Account Settings or using the getAccessToken
method.
# Try it
Full screen (opens new window)
# importBucket
Import a Bucket on your user account.
importBucket(bucket_id, title, object_types, objects, media, media_folders, webhooks, extensions)
Requires Authorization
in HTTP Header. Find token in Account Settings or using the getAccessToken
method.
# Try it
Full screen (opens new window)
# addUser
Add a user to your Bucket.
addUser(bucket_slug, input)
Requires Authorization
in HTTP Header. Find token in Account Settings or using the getAccessToken
method.
# Try it
Full screen (opens new window)
# addWebhook
Add a Webhook to your Bucket.
addWebhook(input)
Requires Authorization
in HTTP Header. Find token in Account Settings or using the getAccessToken
method.
# Try it
Full screen (opens new window)
# deleteWebhook
Delete a Webhook in your Bucket.
deleteWebhook(bucket_slug, webhook_id)
Requires Authorization
in HTTP Header. Find token in Account Settings or using the getAccessToken
method.
# Try it
Full screen (opens new window)
# addMedia
Coming soon!
addMedia(bucket_slug, input)
# deleteMedia
Delete Media from your Bucket.
deleteMedia(bucket_slug, media_id)
# Try it
Full screen (opens new window)
# addExtension
Coming soon!
addExtension(bucket_slug, input)
# deleteExtension
Delete an Extension in your Bucket.
deleteExtension(bucket_slug, extension_id)
Requires Authorization
in HTTP Header. Find token in Account Settings or using the getAccessToken
method.