v1

latestOpenAPI 3.0.0Apache 2.02026-07-13161564.6 KB
Submissions

Update a submission

put/v1/submission/{endpointId}/{id}

Path parameters

idstring required

The id of the submission

Example:sub_4VjHrJoEwAFC6itz8oUBW9NW2bia
endpointIdstring required

The id of the endpoint

Example:enp_4VjHrJoEwAFC6itz8oUBW9NW2bia

Request body

isReadboolean

Shows if the submission is already readed

isSpamboolean

Shows if the submission is marked as spam

Response

Update a submission

idstring required

The id of the submission

endpointIdstring required

The id of the endpoint

locationstring required

The origin location of the submission

isSpamboolean required

Shows if the submission is marked as spam

isReadboolean required

Shows if the submission is already readed

Example response

{
  "id": "sub_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "endpointId": "enp_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "location": "Spain"
}