Skip to main content

CDR Declassification Status Inquiry

Check the progress status of the received demining requests.
Check the progress of the de-identification using the job ID (jobID) as the key.

Important Notes

  • Polling Frequency: Status inquiry 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 need to 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 Codes (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.
1Omission of Demilitarization by Policy (Import of Original)The original file has been imported according to the policy. It is available for download.
2File BlockingThe file has been removed due to a threat detection or blocking policy. It cannot be downloaded.
3Decontamination work in progressThe processing has not been completed yet. Please check again later.
5Rejecting Invalid RequestsThis is an invalid request or you do not have permission to access it.
-1Internal server errorAn unknown error has occurred.
-3Non-existent task IDThe ID is incorrect or the task 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.