POST playable/…/report-abuse
Sends a complaint message to Drillster about a possible abuse issue with a given playable so that further action may be taken.
Resource URL
https://www.drillster.com/api/2.1.1/playable/{playable_id}/report-abuse
Parameters
Field | Type | Description |
---|---|---|
playable_id required |
String | The unique ID of the drill, test, story or course. |
message required |
String | A message for Drillster staff. |
complaintType required |
String constant | An indication of the type of complaint. The following three types are possible:
|
Response
A NoContent (204) response indicating that the message was sent successfully.
Error responses
The following error situations are possible:
ID | Response code | Description |
---|---|---|
missing_playable_id |
400 (Bad request) | Please provide a playable ID |
not_found |
404 (Not found) | Requested playable not found |
no_access |
403 (Forbidden) | No access to requested playable |
internal_error |
500 (Internal error) | Requested playable could not be retrieved |
no_permission |
403 (Forbidden) | No permission to retrieve this test |
missing_message |
400 (Bad request) | Missing message |
unable_to_contact_author |
410 (Gone) | The playable has no contactable authors |
own_playable |
400 (Bad request) | Cannot contact yourself |
Last updated on