رفتن به محتوا
cloudhostمستندات
مرجع API

گزارش سوءاستفاده

گزارش سوءاستفاده از یک برنامه یا فانکشن.

توضیح هر مسیر به انگلیسی است، همان متنی که مرجع از کد ساخته می‌شود. مسیرها، نام فیلدها و کدها همان‌اند که در درخواست می‌نویسید.
POST/v1/abuse/reports

Report a site for abuse#

For anyone, with no account: the address of a page served by the platform that is phishing, malware, mining, spam or illegal. Staff review it with a screenshot of the page. Limited per address; 404 not_hosted when the address is not served by the platform.

دسترسی
بدون اعتبارنامه

بدنهٔ درخواستapplication/json

  • urlstringالزامی

    the page's address, or just its hostname

  • categorystringالزامی

    one of phishing, malware, mining, spam, illegal, other

  • detailsstring

    up to 4000 characters

  • contactstring

    how staff can reach the reporter, if the reporter wants an answer

    up to 200 characters

پاسخ

200object

  • referenceintegerالزامی

    the report's number

خطاها

وضعیتتوضیح
400bad_url, bad_category, bad_details, bad_contact
404not_hosted
429rate_limited
500internal: an unexpected failure

نمونه

curl -X POST "https://api.ibel.ai/v1/abuse/reports" \
  -d '{"url":"…","category":"phishing"}'