증거 세트 가져오기
생체 캡처 중 생성된 증거 번들을 반환합니다 — 통제된 조건에서 활성 감지가 수행되었음을 증명하는 데 사용되는 캡처된 이미지, 메타데이터 및 캡처 산출물이 포함된 패키지입니다.
완료된 프로세스(state = PROCESS_STATE_FINISHED)에만 사용 가능합니다.
엔드포인트
| 환경 | URL |
|---|---|
| 프로덕션 | GET https://api.idcloud.unico.app/client/v1/process/{processId}/evidenceset |
| 샌드박스 | GET https://api.idcloud.uat.unico.app/client/v1/process/{processId}/evidenceset |
요청
Headers
| 헤더 | 값 |
|---|---|
Authorization | Bearer <access_token> (인증 참조) |
Path parameters
| 파라미터 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
processId | string (UUID) | 예 | 프로세스 생성에서 반환된 프로세스 식별자. |
예제
- cURL
- Node.js
curl -X GET https://api.idcloud.unico.app/client/v1/process/$PROCESS_ID/evidenceset \
-H "Authorization: Bearer $TOKEN"
import fetch from 'node-fetch';
const res = await fetch(
`https://api.idcloud.unico.app/client/v1/process/${processId}/evidenceset`,
{ headers: { Authorization: `Bearer ${accessToken}` } }
);
const { fileContents, contentType } = await res.json();
// fileContents is a base64-encoded PDF bundle
응답
200 OK
{
"fileContents": "JVBERi0xLjMNCi...",
"contentType": "application/pdf"
}
| 필드 | 타입 | 설명 |
|---|---|---|
fileContents | string (base64) | base64로 인코딩된 증거 번들. |
contentType | string | MIME 타입 — 일반적으로 application/pdf. |
오류 코드
참고
이 엔드포인트에 대한 특정 code 또는 message 값은 API에서 노출되지 않습니다.
- 400 Bad Request
- 401 Unauthorized
- 404 Not Found
- 500 Internal Server Error