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/applications/{applicationUuid}/code/reports/findings
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
application/json
{ "name": "string", "format": "json", "sendEmailNotification": true, "labelsUuidList": [ "string" ], "additionalParams": { "property1": [ … ], "property2": [ … ] } }
Response
application/json
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "scopeUuid": "string", "scopeName": "string", "subScopes": [ … ], "title": "string", "reportType": "attribution", "format": "json", "scopeType": "organization", "scopeUuidList": [ … ], "projectUuids": [ … ], "status": "PENDING", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "sendEmailNotification": true, "labelsUuidList": [ … ] } }
- Generated server url
https://baseUrl/api/v3.0/applications/{applicationUuid}/code/reports/compliance
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
application/json
{ "name": "string", "format": "json", "sendEmailNotification": true, "labelsUuidList": [ "string" ], "complianceStandard": "string", "reportLevel": "string", "description": "string", "additionalParams": { "property1": [ … ], "property2": [ … ] } }
Response
application/json
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "scopeUuid": "string", "scopeName": "string", "subScopes": [ … ], "title": "string", "reportType": "attribution", "format": "json", "scopeType": "organization", "scopeUuidList": [ … ], "projectUuids": [ … ], "status": "PENDING", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "sendEmailNotification": true, "labelsUuidList": [ … ] } }
- Generated server url
https://baseUrl/api/v3.0/orgs/{orgUuid}/reports/{reportUuid}
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
Response
application/json
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "scopeUuid": "string", "scopeName": "string", "subScopes": [ … ], "title": "string", "reportType": "attribution", "format": "json", "scopeType": "organization", "status": "PENDING", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z" } }