Threat Exchange Impact Report

읽기

Represents a report of a partner of on-platform impact as a result of shared ThreatExchange data, which covers a specific time range on a single collaboration.

Graph API Explorer
GET /{threat-exchange-impact-report-id} HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
try {
  // Returns a `Facebook\FacebookResponse` object
  $response = $fb->get(
    '/{threat-exchange-impact-report-id}',
    '{access-token}'
  );
} catch(Facebook\Exceptions\FacebookResponseException $e) {
  echo 'Graph returned an error: ' . $e->getMessage();
  exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
  echo 'Facebook SDK returned an error: ' . $e->getMessage();
  exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */
/* make the API call */
FB.api(
    "/{threat-exchange-impact-report-id}",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{threat-exchange-impact-report-id}",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/{threat-exchange-impact-report-id}"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
그래프 API를 사용하는 방법을 알아보려면 그래프 API 사용 가이드를 읽어보세요.

매개변수

이 엔드포인트는 매개변수가 없습니다.

필드

필드설명
id
numeric string

The id of the object

creation_time
datetime

Creation time provided by storage

impact
list<ThreatExchangeImpactReportItem>

The outcomes on the owner's platform as a result of signals shared in this PrivacyGroup.

report_range_end
datetime

the end range of the report. Defaults to report time

report_range_start
datetime

the optional starting time range of the report

update_time
datetime

Update time provided by storage

만들기

이 엔드포인트에서 수행할 수 없는 작업입니다.

업데이트 중

/{threat_exchange_impact_report_id}에 POST 요청을 하여 a ThreatExchangeImpactReport을(를) 업데이트할 수 있습니다.

매개변수

매개변수설명
impact
array<JSON object>

The outcomes on the owner's platform as a result of signals shared in this PrivacyGroup.

report_end_time
int64

the end range of the report. Defaults to creation time.

report_start_time
int64

the optional starting time range of the report. Defaults to 6 months before now.

반환 유형

이 엔드포인트는 기록 후 읽기 기능을 지원하며 회원님이 게시한 노드를 읽습니다.
bool

삭제 중

/{threat_exchange_impact_report_id}에 DELETE 요청을 만들어 a ThreatExchangeImpactReport을(를) 삭제할 수 있습니다.

매개변수

이 엔드포인트는 매개변수가 없습니다.

반환 유형

bool

오류 코드

오류설명
100Invalid parameter