Skip to content

Update Resolved Status

Request

Updates the resolved status of a specific instance within a feature in the latest version of a test.

Security
basicAuth
Path
test_idstringrequired

The ID of the code analysis test

idstringrequired

The ID of the instance to update (found in features[].instances[].id)

Bodyapplication/jsonrequired
resolvedbooleanrequired

Boolean flag indicating whether the issue has been resolved

curl -i -X POST \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v1/inspect/analyze/{test_id}/resolve/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "resolved": true
  }'

Responses

A 200 response

Bodyapplication/json
metaobject or null

Metadata including status and counts and support statistics

itemsobject(github.com-mailgun-inspect-internal-codeanalysis-TestResultItem)required

Test results including detected features and their support data

Response
{ "meta": { "application_support": {}, "count": 1, "inbox_provider_support": {}, "market_support": {}, "status": "Completed", "version": 1 }, "items": { "id": "67a654ba0f53254b9fdca3e2", "version": 1, "features": [] } }