List abuse reports against a server
curl --request GET \
--url https://my.server.express/api/v1/services/{id}/abuse \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/services/{id}/abuse', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/services/{id}/abuse"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"reports": [
{
"id": "<string>",
"subject": "<string>",
"body": "<string>",
"category": "SPAM",
"status": "OPEN",
"deadline": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"messages": [
{
"id": "<string>",
"author": "<string>",
"role": "staff",
"body": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Services
List abuse reports against a server
Abuse reports filed against this service, newest first, each with its message thread (oldest first). Works for any service type; read access (owner or any team role) is enough. Reporter email and source are deliberately omitted. Staff messages are authored as “ServerExpress Abuse Team”. Same handler as GET /v1/dedicated//abuse.
GET
/
v1
/
services
/
{id}
/
abuse
List abuse reports against a server
curl --request GET \
--url https://my.server.express/api/v1/services/{id}/abuse \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/services/{id}/abuse', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/services/{id}/abuse"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"reports": [
{
"id": "<string>",
"subject": "<string>",
"body": "<string>",
"category": "SPAM",
"status": "OPEN",
"deadline": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"messages": [
{
"id": "<string>",
"author": "<string>",
"role": "staff",
"body": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}