Skip to content

Get All Code Analysis Versions

Request

Returns all versions available for a given test ID.

Security
basicAuth
Path
test_idstringrequired

The ID of the code analysis test

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v1/inspect/analyze/{test_id}/versions'

Responses

A 200 response

Bodyapplication/json
metaobject or null

Metadata about the version list including count

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

List of available versions for the test

Response
{ "meta": { "count": 3 }, "items": { "versions": [] } }