Mend's enhanced API enables automation of workflows in a REST compliant format. The API features:
If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/labels
No request payload
{ "supportToken": "1171c60d", "response": [ { … } ] }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/labels
{ "namespace": "Label Namespace A", "value": "Label Value A" }
{ "supportToken": "1171c60d", "response": { "message": "Success!" } }
Parameter indicates the starting point for retrieving results, the first call doesn't include a cursor parameter in the request, the API response includes the first set of results along with a cursor pointing to the last item retrieved.
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/summaries
{ "applicationUuids": [ "123e4567-e89b-12d3-a456-426655440000" ], "projectUuids": [ "123e4567-e89b-12d3-a456-426655440000" ] }
{ "additionalData": { "totalItems": "422", "next": "http://someUrl?cursor=3", "cursor": 3 }, "supportToken": "1171c60d", "response": [ { … } ] }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/violations
No request payload
{ "additionalData": { "totalItems": "422", "next": "http://someUrl?cursor=3", "cursor": 3 }, "supportToken": "1171c60d", "response": [ { … } ] }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/summaries/totals
No request payload
{ "supportToken": "1171c60d", "response": { "currentCount": 0, "totalInCurrPeriod": 0, "totalInPrevPeriod": 0 } }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/summaries/total/date
No request payload
{ "supportToken": "1171c60d", "response": [ { … } ] }
Parameter indicates the starting point for retrieving results, the first call doesn't include a cursor parameter in the request, the API response includes the first set of results along with a cursor pointing to the last item retrieved.
Specifies the maximum number of items to be returned in the response.
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects
No request payload
{ "additionalData": { "totalItems": "422", "next": "http://someUrl?cursor=3", "cursor": 3 }, "supportToken": "1171c60d", "response": [ { … } ] }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/labels/{labelUuid}
No request payload
{ "supportToken": "1171c60d", "response": { "message": "Success!" } }
https://baseUrl/api/v3.0/projects/{projectUuid}/dependencies/effective
No request payload
{ "additionalData": { "totalItems": "422", "next": "http://someUrl?cursor=3", "cursor": 3 }, "supportToken": "1171c60d", "response": [ { … } ] }