List the recordings that changed between two versions
GET
/v1/projects/{projectId}/versions/{versionNumber}/comparison/recordingscurl -X GET 'https://api.embodiflow.io/v1/projects/{projectId}/versions/{versionNumber}/comparison/recordings' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"认证
每个请求都需要携带个人访问令牌(PAT)。
- Authorization: Bearer PAT
路径参数
- projectIdstring必填
- versionNumbernumber必填
查询参数
- pageSizenumber
Page size (default 25, maximum 100). Over-maximum is refused.
- pageTokenstring
Opaque page token from the previous response.
- basenumber必填
Number of the version to compare with (the base); another version of the same project.
- changestring必填
Which recordings to list: added, removed, split_changed or reprocessed.
可选值addedremovedsplit_changedreprocessed
响应
Success
- dataarray<ProjectVersionComparisonRecordingDto>必填
- recordingIdstring必填
- recordingNamestring必填
- inTrashone of必填
- changestring必填可选值removedaddedsplit_changedreprocessed
- baseSplitstring | null必填可选值testtrainval
- headSplitstring | null必填可选值testtrainval
- baseEpisodesnumber必填
- headEpisodesnumber必填
- durationNsnumber必填
- nextPageTokenstring
Opaque AIP-158 page token. Omitted when the collection is exhausted.
- metaobject必填
- pageSizenumber必填
- totalCountnumber
- truncatedone of
- requestIdstring
响应示例
{
"data": [
{
"recordingId": "string",
"recordingName": "string",
"inTrash": false,
"change": "removed",
"baseSplit": "test",
"headSplit": "test",
"baseEpisodes": 0,
"headEpisodes": 0,
"durationNs": 0
}
],
"nextPageToken": "string",
"meta": {
"pageSize": 0,
"totalCount": 0,
"truncated": false,
"requestId": "string"
}
}服务器https://api.embodiflow.io/v1