abuses
Creates, updates, deletes, gets or lists an abuses resource.
Overview​
| Name | abuses |
| Type | Resource |
| Id | ovh.me.abuses |
Fields​
The following fields are returned by SELECT queries:
- get
- list
successful operation
| Name | Datatype | Description |
|---|---|---|
public_id | string | Public ID of the abuse case (wire: publicId) |
category | string | Abuse category (Compromised, Copyright, Illegal, Intrusion, Malware, Network Attack, Other, Phishing, Spam) |
creation_date | string (date) | Creation date of the abuse (wire: creationDate) |
service | string | Service where is hosted the abuse |
status | string | Abuse case status (Answered, Claimed, Closed, Escalated, Open, Paused, Reopened, Updated, WaitingAnswer) |
Get report API response
| Name | Datatype | Description |
|---|---|---|
public_id | string | Public ID of the abuse case (wire: publicId) |
category | string | Abuse category (Compromised, Copyright, Illegal, Intrusion, Malware, Network Attack, Other, Phishing, Spam) |
creation_date | string (date) | Creation date of the abuse (wire: creationDate) |
service | string | Service where is hosted the abuse |
status | string | Abuse case status (Answered, Claimed, Closed, Escalated, Open, Paused, Reopened, Updated, WaitingAnswer) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | id | Check specific abuse case (Beta version) | |
list | select | x_pagination_mode | Retrieve abuse cases list (Beta version) |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
id | string | Id |
x_pagination_mode | string | Sent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode) |
SELECT examples​
- get
- list
Check specific abuse case (Beta version)
SELECT
public_id,
category,
creation_date,
service,
status
FROM ovh.me.abuses
WHERE id = '{{ id }}' -- required
;
Retrieve abuse cases list (Beta version)
SELECT
public_id,
category,
creation_date,
service,
status
FROM ovh.me.abuses
WHERE x_pagination_mode = '{{ x_pagination_mode }}'
;