Data store

Properties

Properties
data_store_id string
Must be a UUID. The unique identifier of the data store.
key string
The unique key of the data store.
name string
The name of the data store.
description string
The description of the data store.
created_at string
The time at which the data store was created.
created_by object
An object indicating the user or API key that created the data store. See Authentication.
updated_at string
The time at which the data store was created.
updated_by object
An object indicating the user or API key that created the data store. See Authentication.
schema object
An object for which the the schema for data store entities will be base off of.

required array
The keys from the data store properties that are mandatory, when creating data store entities.
properties object
The data to which the data store columns are created from. See below for more details.

Example

{
  "data_store_id": "6e91fe74-aa56-4b4e-8f68-636d23d5706f",
  "organization_id": "952bfef5-7517-47ff-bf41-08c5a66c52db",
  "key": "devices",
  "name": "Devices",
  "description": "Devices data store",
  "schema": {
    "async": true,
    "type": "object",
    "properties": {
      "name": {
        "type": "string"
      },
      "price": {
        "type": "number"
      }
    },
    "required": [
      "name",
      "price"
    ]
  },
  "created_by": {
    "type": "api_key",
    "id": "313f7511-c16a-4fdb-ba49-25a80a9b571c",
    "owner_id": "da20903b-7f0d-4318-96bd-6df78514e2fd"
  },
  "created_at": "2021-01-29T13:12:00.968Z",
  "updated_by": {
    "type": "api_key",
    "id": "313f7511-c16a-4fdb-ba49-25a80a9b571c",
    "owner_id": "da20903b-7f0d-4318-96bd-6df78514e2fd"
  },
  "updated_at": "2021-01-29T13:12:00.968Z"
}