v2

latestOpenAPI 3.0.3AGPL-3.02026-07-216183244.3 KB
moderation

post/api/v1/proofs/{id}/flag

Path parameters

idinteger required

A unique integer value identifying this Proof.

Request body

reason'WRONG_TYPE' | 'WRONG_PRICE_VALUE' | 'WRONG_CURRENCY' | 'WRONG_PRODUCT' | 'WRONG_LOCATION' | 'WRONG_DATE' | 'OTHER' required
  • WRONG_TYPE - Wrong type
  • WRONG_PRICE_VALUE - Wrong price value
  • WRONG_CURRENCY - Wrong currency
  • WRONG_PRODUCT - Wrong product
  • WRONG_LOCATION - Wrong location
  • WRONG_DATE - Wrong date
  • OTHER - Other
commentstring nullable
content_objectstring required

Response

idinteger required
content_typestring required
object_idinteger required
reason'WRONG_TYPE' | 'WRONG_PRICE_VALUE' | 'WRONG_CURRENCY' | 'WRONG_PRODUCT' | 'WRONG_LOCATION' | 'WRONG_DATE' | 'OTHER' required
  • WRONG_TYPE - Wrong type
  • WRONG_PRICE_VALUE - Wrong price value
  • WRONG_CURRENCY - Wrong currency
  • WRONG_PRODUCT - Wrong product
  • WRONG_LOCATION - Wrong location
  • WRONG_DATE - Wrong date
  • OTHER - Other
commentstring nullable
status'OPEN' | 'CLOSED'
  • OPEN - Open
  • CLOSED - Closed
ownerstring nullable
sourcestring nullable
createdstring date-time
updatedstring date-time required