Cisco Cisco Email Security Appliance C190 Leaflet

Page of 32
 
10
Cisco AsyncOS API for Email - 시작 가이드
 
  AsyncOS API 기능
참고
여러 특성을 사용하려면 AND(
&
) 연산자를 사용합니다(예: 
https://{appliance}:{port}/api/v1.0/stats/report/counter?attribute1&attribute2
).
참고
통계 보고서 및 카운터에 대한 자세한 내용은 API 인라인 도움말을 참조하십시오
를 참조하십시오.
간략 보고서 유형
다음 예에서는 지난 1일의 종합 Incoming Mail Summary(수신 메일 요약) 보고서를 검색하는 방법
을 보여줍니다.
샘플 요청
GET /api/v1.0/stats/mail_incoming_traffic_summary?1d HTTP/1.0
User-Agent: curl/7.30.0
Host: mail.example.com:8080
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Accept: application/json
샘플 응답
HTTP/1.0 200 OK
Server: EmailAPI/1.0
Date: Tue, 15 Jul 2014 08:26:46 GMT
Content-type: application/json
Content-Length: 461
Connection: close
{
    "data":{
        "verif_decrypt_success":0,
        "detected_virus":1396438,
        "threat_content_filter":106728,
        "blocked_invalid_recipient":209054,
        "verif_decrypt_fail":0,
        "marketing_mail":0,
        "detected_amp":0,
        "ims_spam_increment_over_case":0,
        "total_recipients":827216461,
        "detected_spam":1265606,
        "total_clean_recipients":1977205,
        "blocked_dmarc":0,
        "malicious_url":14006,
        "total_threat_recipients":825239256,
요청 헤더
Host, Accept, Authorization
응답 헤더
Content-Type, Content-Length, Connection