POST
创建实体记录
/entities/{entity_key}/records为实体创建新记录。
参数
路径参数
| 名称 | 类型 | 描述 |
|---|---|---|
entity_key必填 | string | The entity schema ID |
请求体
application/json必填
{
data*:objectRecord data matching the entity schema fields
}
代码示例
curl -X POST "https://api.qamaq.io/api/v1/entities/{entity_key}/records" \
-H "Authorization: Bearer qmq_your_api_key" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'响应
201Record created successfully
Response Body
{
id:stringdata:objectcreated_at:string (date-time)}