GET
列出实体版本
/entities/{entity_key}/versions返回实体模式的所有版本。
参数
路径参数
| 名称 | 类型 | 描述 |
|---|---|---|
entity_key必填 | string | The entity key |
查询参数
| 名称 | 类型 | 描述 |
|---|---|---|
include_drafts | boolean | Include draft versions 默认值: |
代码示例
curl -X GET "https://api.qamaq.io/api/v1/entities/{entity_key}/versions" \
-H "Authorization: Bearer qmq_your_api_key"响应
200List of entity versions
Response Body
{
versions:object[]total:integer}