Test maven file

POST {{baseUrl}}/test/maven?org=ex velit elit&repository=ex velit elit

Test for issues in Maven files.You can test your Maven packages for issues according to their manifest file using this action. It takes a JSON object containing a the target pom.xml.

Additional manifest files, if they are needed, like parent pom.xml files, child poms, etc., according the the definitions in the target pom.xml file, should be supplied in the additional body parameter.

Request Params

KeyDatatypeRequiredDescription
orgstringThe organization to test the package with. See "The Snyk organization for a request" above.
repositorystringThe Maven repository hosting this package. The default value is Maven Central. More than one value is supported, in order.

Request Body

{
  "encoding": "${encoding}",
  "files": "${files}"
}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring