Data store

Properties

PropertyTypeDescription
data_store_idstringMust be a UUID. The unique identifier of the data store.
keystringThe unique key of the data store.
namestringThe name of the data store.
descriptionstringThe description of the data store.
created_atstringThe time at which the data store was created.
created_byobjectAn object indicating the user or API key that created the data store. See Authentication.
updated_atstringThe time at which the data store was created.
updated_byobjectAn object indicating the user or API key that created the data store. See Authentication.
schemaobjectAn object for which the schema for data store entities will be based off of.

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"
}