QamaqQamaq
POST

创建实体记录

/entities/{entity_key}/records

为实体创建新记录。

参数

路径参数

名称类型描述
entity_key必填
string

The entity schema ID

请求体

application/json必填
{
data*:object

Record 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:string
data:object
created_at:string (date-time)
}