Logo
Snyk API Documentation

Test vendor json File

POST {{baseUrl}}/test/govendor?org=ex velit elit

Test for issues in Go vendor files.You can test your Go vendor packages for issues according to their manifest file using this action. It takes a JSON object containing a target vendor.json.

 

Body PARAM

Key Datatype Required Description 
org
string The organization to test the package with. See "The Snyk organization for a request" above.



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://snyk.io/api/v1/test/govendor?org=ex velit elit?org=ex velit elit' -H 'Content-Type: example' -d '"{}"'

ENDPOINTS