Data stores

Use these commands to manage data stores, records, and structures with the Make CLI.


Data stores

Manage your data stores.


make-cli data-stores list

List all data stores for a team.

Options

Option
Description
Required

--team-id

The team ID to filter data stores by

Yes

Example

make-cli data-stores list --team-id=5

make-cli data-stores get

Get data store details by ID.

Arguments

Argument
Description
Required

<data-store-id>

The data store ID to retrieve. Can also be passed as --data-store-id=<value>.

Yes

Example


make-cli data-stores create

Create a new data store.

Options

Option
Description
Required

--name

Name of the data store

Yes

--team-id

ID of the team to create the data store in

Yes

--max-size-m-b

Maximum size in MB for the data store

Yes

--datastructure-id

ID of the data structure defining the record format

No

Example


make-cli data-stores update

Update a data store.

Arguments

Argument
Description
Required

<data-store-id>

The data store ID to update. Can also be passed as --data-store-id=<value>.

Yes

Options

Option
Description
Required

--name

New name for the data store

No

--max-size-m-b

New maximum size in MB for the data store

No

--datastructure-id

New data structure ID

No

Example


make-cli data-stores delete

Delete a data store.

Arguments

Argument
Description
Required

<data-store-id>

The data store ID to delete. Can also be passed as --data-store-id=<value>.

Yes

Example


Data store records

Manage your data store records.


make-cli data-store-records list

List all records in a data store.

Options

Option
Description
Required

--data-store-id

The data store ID to list records from

Yes

--limit

Maximum number of records to return

No

Example


make-cli data-store-records create

Create a new record in a data store.

Options

Option
Description
Required

--data-store-id

The data store ID to create the record in

Yes

--key

Unique key for the record (optional)

No

--data

Record data

Yes

Example


make-cli data-store-records update

Update an existing record in a data store.

Arguments

Argument
Description
Required

<key>

Unique key of the record to update. Can also be passed as --key=<value>.

Yes

Options

Option
Description
Required

--data-store-id

The data store ID containing the record

Yes

--data

Updated record data

Yes

Example


make-cli data-store-records replace

Replace an existing record in a data store or create if it doesn't exist.

Arguments

Argument
Description
Required

<key>

Unique key of the record to replace. Can also be passed as --key=<value>.

Yes

Options

Option
Description
Required

--data-store-id

The data store ID containing the record

Yes

--data

New record data

Yes

Example


make-cli data-store-records delete

Delete specific records from a data store by keys.

Options

Option
Description
Required

--data-store-id

The data store ID to delete records from

Yes

--keys

Array of record keys to delete

Yes

Example


Data structures

Manage your data structures.


make-cli data-structures list

List data structures for a team.

Options

Option
Description
Required

--team-id

The team ID to list data structures for

Yes

Example


make-cli data-structures get

Get details of a specific data structure.

Arguments

Argument
Description
Required

<data-structure-id>

The data structure ID to retrieve. Can also be passed as --data-structure-id=<value>.

Yes

Example


make-cli data-structures create

Create a new data structure.

Options

Option
Description
Required

--team-id

The unique ID of the team in which the data structure will be created

Yes

--name

The name of the data structure. The maximum length of the name is 128 characters

Yes

--strict

Set to true to enforce strict validation of the data put in the data structure

No

--spec

Sets the data structure specification. Each item follows the Make Parameters Syntax.

Yes

Example


make-cli data-structures update

Update an existing data structure.

Arguments

Argument
Description
Required

<data-structure-id>

The data structure ID to update. Can also be passed as --data-structure-id=<value>.

Yes

Options

Option
Description
Required

--name

The name of the data structure. The maximum length of the name is 128 characters

No

--strict

Set to true to enforce strict validation of the data put in the data structure

No

--spec

Sets the data structure specification. Each item follows the Make Parameters Syntax.

No

Example


make-cli data-structures delete

Delete a data structure.

Arguments

Argument
Description
Required

<data-structure-id>

The data structure ID to delete. Can also be passed as --data-structure-id=<value>.

Yes

Example

Last updated