API reference

API reference · Account

Report a request

POST/api/marketplace/disputesSigned in session

Flags one of the account's requests, by its x-antimatter-request-id, for the operator's review. One report per request per account (409 after). Same origin. A 404 while the operator has the marketplace off.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
request_idrequiredstring
reasonrequiredstringAt most 1000 characters.

Example

{
  "request_id": "string",
  "reason": "string"
}

Answer 201

Filed.

Fields of the 201 answer
FieldTypeWhat it is
idinteger
statusstring

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 403OpenAI shaped error.
  • 404OpenAI shaped error.
  • 409OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter