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.
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
}];| Field | Description |
|---|---|
idnumeric string | The id of the object |
creation_timedatetime | Creation time provided by storage |
impactlist<ThreatExchangeImpactReportItem> | The outcomes on the owner's platform as a result of signals shared in this PrivacyGroup. |
notesstring | free form notes about the report |
num_actionableunsigned integer | how much of the reviewed content was actionable. Must be <= reviewed |
num_already_actionedunsigned integer | how much of the matched content was review. Must be <= matched |
num_downloadedunsigned integer | the number of signals downloaded for this evaluation |
num_matchedunsigned integer | the number of content (or signals) matched. |
num_reviewedunsigned integer | how much of the matched content was review. Must be <= matched |
ownerThreatExchangeMember | the owner of the impact report |
report_range_enddatetime | the end range of the report. Defaults to report time |
report_range_startdatetime | the optional starting time range of the report |
signal_typeslist<enum> | If set, indicates that only these signal types were evaluated |
update_timedatetime | Update time provided by storage |
/{threat_exchange_impact_report_id}.| Parameter | Description |
|---|---|
impactarray<JSON object> | The outcomes on the owner's platform as a result of signals shared in this PrivacyGroup. |
report_end_timeint64 | the end range of the report. Defaults to creation time. |
report_start_timeint64 | the optional starting time range of the report. Defaults to 6 months before now. |
/{threat_exchange_impact_report_id}.| Error | Description |
|---|---|
| 100 | Invalid parameter |