Create a Database

PUT /data/{name}



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?

Parameters

  • name - string - path parameters (for more information about parameters see Parameters )
    • value requirements
      • must begin with lowercase letter (a-z)
      • must be lowercase letters (a-z)
      • digits (0-9)
      • any of these characters _ $ + -



Examples

In this example we are creating a data store called movies

Curl
JS



Responses





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 specific help? you can always reach out to our support team for any additional assistance at checkout our help desk