メインコンテンツまでスキップ

アプリのキャプチャの取得

GET https://deploygate.com/api/device_captures/{DEVICE_CAPTURE_ID}

この操作はエンタープライズグループが所有するアプリのキャプチャにのみ使用できます。


Path Params

NameTypeRequiredDescription
DEVICE_CAPTURE_IDstringtrueキャプチャのID

Example

curl \
--url "https://deploygate.com/api/device_captures/${DEVICE_CAPTURE_ID}" \
-H "Authorization: Bearer ${API_TOKEN}" \
-X GET

Result 200

{
"error": false,
"results": {
"thumbnail": "${THUMBNAIL_URL}",
"title": "${CAPTURE_TITLE}",
"url": "https://deploygate.com/organizations/${ORGANIZATION_NAME}/platforms/${PLATFORM_TYPE}/apps/${APP_ID}/binaries/${REVISION_NUMBER}",
"reporter": {
"name": "${USER_NAME}"
},
"device": {
"name": "${DEVICE_NAME}",
"url": "https://deploygate.com/distributions/${DISTRIBUTION_KEY}/devices/${DEVICE_ID}",
"android_os": "${ANDROID_OS_NAME}"
},
"application": {
"name": "DeployGate Sample App",
"package_name": "${APP_ID}",
"version_name": "1.0",
"version_code": "1",
"revision": "${REVISION_NUMBER}",
"signature_md5": "${SIGNATURE}"
},
"distribution": {
"url": "https://deploygate.com/distributions/${DISTRIBUTION_KEY}"
},
"device_information": {
"online": true,
"wifi": true,
"battery_temperature": 1.0,
"battery_level": 1,
"free_storage_space": 1.0,
"free_memory_space": 1.0,
"locale_setting": "ja_JP",
"emulator": false,
"screen_dpi": 1,
"screen_width": 1,
"screen_height": 1
},
"custom_attributes": {
"key": "value"
},
"logcat_url": "https://deploygate.com/api/devices/${DEVICE_ID}/device_logs/${DEVICE_LOG_ID}/download",
"installed_at": "2024-09-20T14:58:07.000+09:00", // ISO 8601
"captured_at": "2024-09-20T14:58:11.000+09:00" // ISO 8601
}
}

Result 404

{
"invalid_params": null,
"message": "the resource is not found",
"error": true,
"because": "the resource is not found",
"error_type": "resource_not_found"
}