Cisco Cisco Email Security Appliance C680 Leaflet

Page of 32
 
11
Cisco AsyncOS API for Email - 시작 가이드
 
  AsyncOS API 기능
        "blocked_reputation":822261430
    },
    "uri":"/api/v1.0/stats/mail_incoming_traffic_summary?1d"
}
상위 N 보고서 유형
다음 예에서는 지정된 기간의 대용량 메일 중에서 상위 5개 제목을 검색하는 방법을 보여줍니다.
샘플 요청
GET 
/api/v1.0/stats/mail_subject_stats?duration=2014-04-23T00:00-00:00/2014-10-21T00:00-00:00&
max=5 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: 182
Connection: close
{
    "data":{
        "num_msgs":{
            "Buying judgments":44584,
            "Additional Income":39691,
            "Why pay more?":46044,
            "Message contains":50460,
            "Off shore":56954
        }
    },
    
"uri":"/api/v1.0/stats/mail_subject_stats?duration=2014-04-23T00:00-00:00/2014-10-21T00:00
-00:00&max=5"
}
쿼리 기반 보고서 유형
다음 예에서는 지정된 기간에  “
2001::6
” 으로 시작하는 IP 주소에 대한 종합 Outgoing Sender(발신
자) 보고서를 검색하는 방법을 보여줍니다.
샘플 요청
GET 
/api/v1.0/stats/mail_sender_ip_hostname_detail?duration=2014-04-23T00:00-00:00/2014-10-21T
00:00-00:00&entity=2001::63&starts_with=true 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: Thu, 04 Sep 2014 09:27:58 GMT