プロジェクト 録画ログ API¶
概要¶
プロジェクト単位での録画ログに関する API です。過去の録画やアーカイブログを確認できます。
録画レポートログ一覧¶
$ https -A bearer -a <API-KEY> \
POST https://api.sora-cloud.shiguredo.app/projects/list-recording-report-logs \
-vvv
POST /projects/list-recording-report-logs HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 0
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Transfer-Encoding: chunked
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
[
{
"timestamp": "2023-12-18T06:05:30.025051Z",
"id": "5HE8MHYN1S3K37H0PPJMKA4TY4",
"recording_id": "2Q29SF936S2T503EDJKSTPM8HW",
"channel_id": "channel-1@A5J467N5AWTQHFSA2VIKVNGDB2VK2DC9",
"start_timestamp": "2023-12-18T06:04:43.63Z",
"stop_timestamp": "2023-12-18T06:05:30.023Z",
"split_only": false,
"split_duration": null,
"expire_time": 180,
"filename": "report-2Q29SF936S2T503EDJKSTPM8HW.json"
},
{
"timestamp": "2023-12-18T06:25:37.466685Z",
"id": "MX4BKSBSAX1CDD3JF66XP013P0",
"recording_id": "4V4V4QHNNH51K3CDKQWFVKQWJM",
"channel_id": "channel-1@A5J467N5AWTQHFSA2VIKVNGDB2VK2DC9",
"start_timestamp": "2023-12-18T06:22:35.437Z",
"stop_timestamp": "2023-12-18T06:25:35.437Z",
"split_only": false,
"split_duration": null,
"expire_time": 180,
"filename": "report-4V4V4QHNNH51K3CDKQWFVKQWJM.json"
},
...
]
アーカイブログ一覧¶
$ https -A bearer -a <API-KEY> \
POST https://api.sora-cloud.shiguredo.app/projects/list-archive-logs \
recording_id=<RECORDING-ID> \
-vvv
POST /projects/list-archive-logs HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 46
Content-Type: application/json
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
{
"recording_id": "0CVR4THQ4938H92ENEGB6RJYGG"
}
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Transfer-Encoding: chunked
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
[
{
"timestamp": "2023-12-22T04:50:44.277233Z",
"id": "30RM380EGN5AK3G365BFAA4518",
"recording_id": "0CVR4THQ4938H92ENEGB6RJYGG",
"channel_id": "channel-1@A5J467N5AWTQHFSA2VIKVNGDB2VK2DC9",
"session_id": "8XWBNGXG8S60B8K5XEBHSK1BRM",
"client_id": "7AXCNHPTVH1HH6TQ74ZH9FPRHC",
"connection_id": "7AXCNHPTVH1HH6TQ74ZH9FPRHC",
"audio_codec_type": "OPUS",
"video_codec_type": "VP9",
"start_timestamp": "2023-12-22T04:47:42.42749Z",
"stop_timestamp": "2023-12-22T04:50:42.433113Z",
"filename": "archive-7AXCNHPTVH1HH6TQ74ZH9FPRHC.webm",
"metadata_filename": "archive-7AXCNHPTVH1HH6TQ74ZH9FPRHC.json"
},
...
]
アーカイブログ詳細¶
$ https -A bearer -a <API-KEY> \
POST https://api.sora-cloud.shiguredo.app/projects/get-archive-log \
recording_id=<RECORDING-ID> \
connection_id=<CONNECTION-ID> \
-vvv
POST /projects/get-archive-log HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 93
Content-Type: application/json
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
{
"recording_id": "0CVR4THQ4938H92ENEGB6RJYGG",
"connection_id": "7AXCNHPTVH1HH6TQ74ZH9FPRHC"
}
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 619
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
[
{
"timestamp": "2023-12-22T04:50:44.277233Z",
"id": "30RM380EGN5AK3G365BFAA4518",
"recording_id": "0CVR4THQ4938H92ENEGB6RJYGG",
"channel_id": "channel-1@A5J467N5AWTQHFSA2VIKVNGDB2VK2DC9",
"session_id": "8XWBNGXG8S60B8K5XEBHSK1BRM",
"client_id": "7AXCNHPTVH1HH6TQ74ZH9FPRHC",
"connection_id": "7AXCNHPTVH1HH6TQ74ZH9FPRHC",
"audio_codec_type": "OPUS",
"video_codec_type": "VP9",
"video_height": 480,
"video_width": 640,
"size": 11972663,
"start_timestamp": "2023-12-22T04:47:42.42749Z",
"stop_timestamp": "2023-12-22T04:50:42.433113Z",
"filename": "archive-7AXCNHPTVH1HH6TQ74ZH9FPRHC.webm",
"metadata_filename": "archive-7AXCNHPTVH1HH6TQ74ZH9FPRHC.json"
}
]
分割アーカイブログ一覧¶
$ https -A bearer -a <API-KEY> \
POST https://api.sora-cloud.shiguredo.app/projects/list-split-archive-logs \
recording_id=<RECORDING-ID> \
-vvv
POST /projects/list-split-archive-logs HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 46
Content-Type: application/json
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
{
"recording_id": "17G3WD0SDD69NFDQ21MN488X68"
}
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Transfer-Encoding: chunked
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
[
{
"timestamp": "2023-12-22T08:11:05.912378Z",
"id": "GGQCGN36D54FBCZ4XV96DQTRZ0",
"recording_id": "17G3WD0SDD69NFDQ21MN488X68",
"split_last_index": "0008",
"channel_id": "channel-1@A5J467N5AWTQHFSA2VIKVNGDB2VK2DC9",
"session_id": "50SFC8S97S6PVBHDCSCBMN52H4",
"client_id": "FB9GZV0FE137Q4PABS2VH92094",
"connection_id": "FB9GZV0FE137Q4PABS2VH92094",
"audio_codec_type": "OPUS",
"video_codec_type": "VP9",
"start_timestamp": "2023-12-22T08:03:57.061822Z",
"stop_timestamp": "2023-12-22T08:11:03.881563Z",
"filename": "split-archive-end-FB9GZV0FE137Q4PABS2VH92094.json"
},
...
]
分割アーカイブログ詳細¶
$ https -A bearer -a <API-KEY> \
POST https://api.sora-cloud.shiguredo.app/projects/get-split-archives-log \
recording_id=<RECORDING-ID> \
connection_id=<CONNECTION-ID> \
-vvv
POST /projects/get-split-archives-log HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer <API-KEY>
Connection: keep-alive
Content-Length: 93
Content-Type: application/json
Host: api.sora-cloud.shiguredo.app
User-Agent: HTTPie/3.2.0
{
"recording_id": "17G3WD0SDD69NFDQ21MN488X68",
"connection_id": "FB9GZV0FE137Q4PABS2VH92094"
}
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json; charset=UTF-8
Date: Thu, 21 Dec 2023 09:35:10 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
Transfer-Encoding: chunked
Vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
[
{
"timestamp": "2023-12-22T08:04:57.057286Z",
"id": "JAKSXCQRCH6HFCANAKA2CG8K0G",
"recording_id": "17G3WD0SDD69NFDQ21MN488X68",
"split_index": "0001",
"channel_id": "channel-1@A5J467N5AWTQHFSA2VIKVNGDB2VK2DC9",
"session_id": "50SFC8S97S6PVBHDCSCBMN52H4",
"client_id": "FB9GZV0FE137Q4PABS2VH92094",
"connection_id": "FB9GZV0FE137Q4PABS2VH92094",
"audio_codec_type": "OPUS",
"video_codec_type": "VP9",
"video_height": 480,
"video_width": 640,
"size": 2691827,
"start_timestamp": "2023-12-22T08:03:57.062942Z",
"stop_timestamp": "2023-12-22T08:04:37.03447Z",
"filename": "split-archive-FB9GZV0FE137Q4PABS2VH92094_0001.webm",
"metadata_filename": "split-archive-FB9GZV0FE137Q4PABS2VH92094_0001.json"
},
{
"timestamp": "2023-12-22T08:05:57.063581Z",
"id": "GHDX8EYHMN75314M8WMD299ZX8",
"recording_id": "17G3WD0SDD69NFDQ21MN488X68",
"split_index": "0002",
"channel_id": "channel-1@A5J467N5AWTQHFSA2VIKVNGDB2VK2DC9",
"session_id": "50SFC8S97S6PVBHDCSCBMN52H4",
"client_id": "FB9GZV0FE137Q4PABS2VH92094",
"connection_id": "FB9GZV0FE137Q4PABS2VH92094",
"audio_codec_type": "OPUS",
"video_codec_type": "VP9",
"video_height": 480,
"video_width": 640,
"size": 4072474,
"start_timestamp": "2023-12-22T08:04:37.039673Z",
"stop_timestamp": "2023-12-22T08:05:37.035789Z",
"filename": "split-archive-FB9GZV0FE137Q4PABS2VH92094_0002.webm",
"metadata_filename": "split-archive-FB9GZV0FE137Q4PABS2VH92094_0002.json"
},
...
]