Reports

Create a report

post/v1/reports

Request

  • Base URL
    https://api.momentum-mod.org (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

datanumber required

The ID of the object being referred to by the report

type0 | 1 | 2 required

The type of the report

category0 | 1 | 2 | 3 required

The category of the report

messagestring required

The main text of the report

Response

The newly created report

idnumber required
datanumber required

The ID of the object being referred to by the report

type0 | 1 | 2 required

The type of the report

category0 | 1 | 2 | 3 required

The category of the report

messagestring required

The main text of the report

resolvedboolean required

Whether the report has been resolved or not

resolutionMessagestring

The reason the report was resolved, if it was

submitterIDnumber required

The user ID of the submitter

resolverIDnumber

The user ID of the resolver, if its been resolved

createdAtstring required

When the item was first created, as ISO8601 date string

updatedAtstring required

When the item was last modified, as ISO8601 date string

Changes

No recorded changes to this operation across all 1 revision of this API.