Reference
Data API
Create a Database
4min
This rest command will create a datastore using the name parameter. A data store is a container that can hold JSON documents. These JSON documents are the structured objects that you will use in your application. For more information about JSON documents - What is JSON?
- value requirements
- must begin with a lowercase letter (a-z)
- must be lowercase letters (a-z)
- digits (0-9)
- any of these characters _ $ + -
In this example, we are creating a data store called movies
Status Coe | Description | Example |
201 | Successfully created datastore or it already exists. | {"ok": true} |
500 | An error occurred trying to create datastore | { "ok": false, "msg": "invalid name parameter" } |
401 | Access Denied | |
Need help? Reach out to our help desk.
Updated 03 Mar 2023

Did this page help you?