Mend API (3.0)
Mend's enhanced API enables automation of workflows in a REST compliant format. The API features:
- Access for any user with Mend credentials, via a user key available in the user's profile page in the Mend Platform.
- Improved security with a JWT token per organization, which expires every 30 minutes.
- Added scalability with support for cursor pagination and limiting results size.
- Broader functionality available programmatically.
- New standard API documentation for easy navigation and search.
If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.
- Generated server url
https://baseUrl/api/v3.0/orgs/{orgUuid}/applications/{applicationUuid}/labels
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
{ "supportToken": "1171c60d", "response": [ { … } ] }
- Generated server url
https://baseUrl/api/v3.0/orgs/{orgUuid}/applications/{applicationUuid}/labels
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
{ "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.
- Generated server url
https://baseUrl/api/v3.0/orgs/{orgUuid}/applications/summaries
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
{ "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": [ { … } ] }
- Generated server url
https://baseUrl/api/v3.0/orgs/{orgUuid}/applications/{applicationUuid}/scans
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
{ "additionalData": { "totalItems": "422", "next": "http://someUrl?cursor=3", "cursor": 3 }, "supportToken": "1171c60d", "response": [ { … } ] }
- Generated server url
https://baseUrl/api/v3.0/orgs/{orgUuid}/applications/summaries/totals
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
{ "supportToken": "1171c60d", "response": { "currentCount": 0, "totalInCurrPeriod": 0, "totalInPrevPeriod": 0 } }
- Generated server url
https://baseUrl/api/v3.0/orgs/{orgUuid}/applications
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
{ "additionalData": { "totalItems": "422", "next": "http://someUrl?cursor=3", "cursor": 3 }, "supportToken": "1171c60d", "response": [ { … } ] }
- Generated server url
https://baseUrl/api/v3.0/orgs/{orgUuid}/applications/{applicationUuid}/labels/{labelUuid}
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
{ "supportToken": "1171c60d", "response": { "message": "Success!" } }