Skip to main content

CDR Declassification Status Inquiry

Check the progress status of the received demining request.
Check the defusing progress status using the job ID (jobID) as the key.

Important Notes

  • Polling Frequency: Status check cycle200msis recommended. Too frequent requests (e.g., immediate calls within a loop) may be considered a DDoS attack and can be blocked.
  • Flow: Status Code(code)g0or1only whenFile Download API(GET /v5/download/{jobID}You must call ).
  • Response Format: All responses are200 OKHTTP status code, and the actual result is in the JSON body.codeIt is separated by fields.

Method

GET

/v5/cdr/{jobID}

Request Path Parameter

KEYOBJECTDESC
jobIDStringTask ID to check the status (required)

Response Body (json)

KEYOBJECTDESC
jobIDStringWork ID
codeintStatus Code (see table below)
msgStringStatus message
logReasonintDetailed Log Reason Code

Response Code

CODEDESCDETAIL
0File reconstruction completed (decontamination successful)A safe file has been created and is available for download.
1Exemption from Demilitarization by Policy (Original Import)The original file has been imported according to the policy. It is available for download.
2File BlockingThe file has been removed due to the detection or blocking policy of threat elements. Download is not possible.
3Decontamination work in progressProcessing has not been completed yet. Please check again later.
5Reject invalid requestsThis is an invalid request or you do not have permission to access it.
-1Server Internal ErrorAn unknown error has occurred.
-3Non-existent task IDThis is an invalid ID or a task whose retention period has expired.

Sample

REQUEST

curl -X GET "{{url}}/v5/cdr/test-job-001"

RESPONSE - Success (Code: 0)

{
"jobID": "test-job-001",
"code": 0,
"msg": "파일 재구성 완료",
"logReason": 200000
}

RESPONSE - Exception (Code: 1)

{
"jobID": "test-job-001",
"code": 1,
"msg": "[예외] 비밀번호 보호 문서 파일 원본 반입",
"logReason": 230243
}

RESPONSE - Blocked (Code: 2)

{
"jobID": "test-job-001",
"code": 2,
"msg": "[차단] 확장자 위변조 파일 차단",
"logReason": 220355
}

RESPONSE - In Progress (Code: 3)

{
"jobID": "test-job-001",
"code": 3,
"msg": "무해화 작업 진행 중",
"logReason": 100001
}

RESPONSE - No job ID (Code: -3)

{
"jobID": "test-job-001",
"code": -3,
"msg": "JobId does not exist",
}

Processing Flow

  • From here on, this is development information that should not be disclosed to the public.