Files of a recording; with include=urls, what a player reads with presigned URLs
GET
/v1/projects/{projectId}/recordings/{recordingId}/filescurl -X GET 'https://api.embodiflow.io/v1/projects/{projectId}/recordings/{recordingId}/files' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"认证
每个请求都需要携带个人访问令牌(PAT)。
- Authorization: Bearer PAT
路径参数
- projectIdstring必填
- recordingIdstring必填
查询参数
- pageSizenumber
Page size (default 25, maximum 100). Over-maximum is refused.
- pageTokenstring
Opaque page token from the previous response.
- runIdstring
- includestring
`urls`: every file the player reads, each with a presigned GET URL (one hour), instead of the file inventory. The API signs; it never proxies.
可选值urls - fileRolestring
- sensorNamestring
响应
Success
- dataarray<RecordingFileDto>必填
- idstring | null必填
- logicalPathstring必填
- fileRolestring
- contentTypestring | null必填
- sizeBytesnumber | null必填
- metadataProjectionJsonobject | null
- createdAtstring | null必填
- presignedUrlstring
- downloadUrlstring
- expiresAtstring
- nextPageTokenstring
- metaobject必填
- pageSizenumber必填
响应示例
{
"data": [
{
"id": "string",
"logicalPath": "string",
"fileRole": "string",
"contentType": "string",
"sizeBytes": 0,
"metadataProjectionJson": {},
"createdAt": "string",
"presignedUrl": "string",
"downloadUrl": "string",
"expiresAt": "string"
}
],
"nextPageToken": "string",
"meta": {
"pageSize": 0
}
}服务器https://api.embodiflow.io/v1