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