Artifacts
Community
Moderation

Report a public artifact review for moderation.

Deduplicated by visitor/authenticated actor. A moderation case is opened for newly recorded reports.

Inputs. Path, query and header fields are listed below. The request body schema lists accepted fields and required values.

Outputs. See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

Errors. API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

Rate limits. Write and protocol operations can have separate route-specific limits. Read Retry-After and retry_after_s when present; do not infer a write allowance from the public read budget.

Example setup. Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists. This example is not executed by documentation checks. Review the operation and obtain any required user consent before sending it.

post/api/artifacts/{id}/reviews/{reviewId}/report

Request

  • Base URL: https://huggingbay.xyz
  • URL: https://huggingbay.xyz/api/artifacts/{id}/reviews/{reviewId}/report
  • Auth: none declared

Path parameters

idstring required
reviewIdstring required

Request body

queue'copyright' | 'malware' | 'privacy' | 'license' | 'mirror' | 'appeal' | 'review'
reasonstring
summarystring
evidencestring

Response

Duplicate report already present

idstring required
artifactIdstring required
repostring
reviewerstring
reviewerRolestring
ratingnumber required
titlestring required
bodystring required
toolstring
categoryRatingsobject
versionstring
evidenceBenchmarkEvidence (unresolved $ref)
createdAtstring required
updatedAtstring

Changes

No recorded changes to this operation across all 2 revisions of this API.