Creates a table in the Key-Value Database Storage.
The sample request creates a table with four columns: sku, customer, record and payload (TEXT).
Note: The “payload” column is always added automatically and must not be present in the creation definition.
object | |||||||||||||
|
{- "data": {
- "keys": [
- {
- "columnType": "TEXT",
- "columnName": "sku",
- "isPrimaryKey": true
}, - {
- "columnType": "TEXT",
- "columnName": "customer",
- "isPrimaryKey": true
}, - {
- "columnType": "INT",
- "columnName": "record",
- "isIndexed": true
}
]
}
}
{- "response": {
- "node": "string",
- "data": null,
- "status": 0,
- "startRow": 0,
- "endRow": 0
}
}