Package com.ngrok.services
Class AbuseReports
java.lang.Object
com.ngrok.services.AbuseReports
Abuse Reports allow you to submit take-down requests for URLs hosted by
ngrok that violate ngrok's terms of service.
See also https://ngrok.com/docs/api#api-abuse-reports.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
A builder object encapsulating state for an unsent Create API call.class
A builder object encapsulating state for an unsent Get API call. -
Constructor Summary
ConstructorDescriptionAbuseReports
(NgrokApiClient apiClient) Creates a new sub-client for AbuseReports. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new abuse report which will be reviewed by our system and abuse response team.Get the detailed status of abuse report by ID.
-
Constructor Details
-
AbuseReports
Creates a new sub-client for AbuseReports.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
Creates a new abuse report which will be reviewed by our system and abuse response team. This API is only available to authorized accounts. Contact abuse@ngrok.com to request access See also https://ngrok.com/docs/api#api-abuse-reports-create.- Parameters:
urls
- a list of URLs containing suspected abusive content- Returns:
- a call builder for this API call
-
get
Get the detailed status of abuse report by ID. See also https://ngrok.com/docs/api#api-abuse-reports-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-