Skip to content

reportProject

POST
/v1/projects/{project_id}/reports
curl --request POST \
--url https://testnet-rpc.necter.network/v1/projects/example/reports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "category": "scam", "severity": "low", "reason": "example" }'
project_id
required
string
/^0x[0-9a-f]{64}$/
Media typeapplication/json
object
category
required
string
Allowed values: scam malware economics impersonation spam other
severity
required
string
Allowed values: low medium high
reason
required
string
<= 2000 characters

Recorded

Media typeapplication/json
object
report_id
string

Example generated

{
"report_id": "example"
}

Missing/invalid credentials (unauthorized, session_expired, bad_signature)

Media typeapplication/json
object
error
required

Stable machine code

string
message
required
string
details
object
key
additional properties
any
request_id
required
string

Example generated

{
"error": "example",
"message": "example",
"details": {},
"request_id": "example"
}

rate_limited

Media typeapplication/json
object
error
required

Stable machine code

string
message
required
string
details
object
key
additional properties
any
request_id
required
string

Example generated

{
"error": "example",
"message": "example",
"details": {},
"request_id": "example"
}
Retry-After
integer