============= Abuse Reports ============= .. warning:: These v3 APIs are now deprecated and you should switch to a newer version before it is removed. See :ref:`the API versions available` for details of the different API versions available and the deprecation timeline. The following API endpoint covers abuse reporting --------------------------------- Submitting an add-on abuse report --------------------------------- .. _`v3-addonabusereport-create`: The following API endpoint allows an abuse report to be submitted for an Add-on, either listed on https://addons.mozilla.org or not. Authentication is not required, but is recommended so reports can be responded to if necessary. .. http:post:: /api/v3/abuse/report/addon/ .. _v3-addonabusereport-create-request: :json object|null reporter: The user who submitted the report, if authenticated. :>json int reporter.id: The id of the user who submitted the report. :>json string reporter.name: The name of the user who submitted the report. :>json string reporter.username: The username of the user who submitted the report. :>json string reporter.url: The link to the profile page for of the user who submitted the report. :>json object addon: The add-on reported for abuse. :>json string addon.guid: The add-on `extension identifier `_. :>json int|null addon.id: The add-on id on AMO. If the guid submitted didn't match a known add-on on AMO, then null. :>json string|null addon.slug: The add-on slug. If the guid submitted didn't match a known add-on on AMO, then null. :>json string message: The body/content of the abuse report. ------------------------------ Submitting a user abuse report ------------------------------ .. _`v3-userabusereport-create`: The following API endpoint allows an abuse report to be submitted for a user account on https://addons.mozilla.org. Authentication is not required, but is recommended so reports can be responded to if necessary. .. http:post:: /api/v3/abuse/report/user/ .. _v3-userabusereport-create-request: :json object|null reporter: The user who submitted the report, if authenticated. :>json int reporter.id: The id of the user who submitted the report. :>json string reporter.name: The name of the user who submitted the report. :>json string reporter.url: The link to the profile page for of the user who submitted the report. :>json string reporter.username: The username of the user who submitted the report. :>json object user: The user reported for abuse. :>json int user.id: The id of the user reported. :>json string user.name: The name of the user reported. :>json string user.url: The link to the profile page for of the user reported. :>json string user.username: The username of the user reported. :>json string message: The body/content of the abuse report.