# Previous Versions

If you are still running a previous version, it is recommended to switch to the latest (currently v2) as fixes and updates will no longer be made to older versions.

# v1 - Queries

Quick Tip

For a quick reference to this endpoint click the "Developer Tools" button on your Objects table view in your Bucket Dashboard (opens new window).

# getObjects

Get Objects from a Bucket.

getObjects(bucket_slug, input)

# Try it

Full screen   (opens new window)

# getObject

Get a single Object from a Bucket.

getObject(bucket_slug, input)

# Try it

Full screen   (opens new window)

# getMedia

Get Media from a Bucket.

getMedia(bucket_slug, input)

# Try it

Full screen   (opens new window)

# getObjectTypes

Get Object Types from a Bucket.

getObjectTypes(bucket_slug, input)

# Try it

Full screen   (opens new window)

# getBucket

Get all Bucket content.

getBucket(bucket_slug)

# Try it

Full screen   (opens new window)

# getAccessToken

Get token for account-related access (not required for Bucket-level access).

getAccessToken(email, password)

# Try it

Full screen   (opens new window)

# getBuckets

Get all Buckets on your user account.

getBuckets()

Requires Authorization in HTTP Header. Find token in Account Settings or using the getAccessToken method.

# Try it

Full screen   (opens new window)

# getUsers

Get Users in a Bucket.

getUsers(bucket_slug)

Requires Authorization in HTTP Header. Find token in Account Settings or using the getAccessToken method.

# Try it

Full screen   (opens new window)

# getUser

Get a User in a Bucket.

getUser(bucket_slug, user_id)

Requires Authorization in HTTP Header. Find token in Account Settings or using the getAccessToken method.

# Try it

Full screen   (opens new window)

# v1 - 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)

# 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.

# Try it

Full screen   (opens new window)