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.

戻り値の型

This endpoint supports read-after-write and will read the node to which you POSTed.
bool

削除中です

You can delete a ThreatExchangeImpactReport by making a DELETE request to /{threat_exchange_impact_report_id}.

パラメーター

このエンドポイントにはパラメーターがありません。

戻り値の型

bool

エラーコード

エラー詳細
100Invalid parameter