Mend API (3.0.1)
Mend's enhanced SCA 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 App.
- Improved security with a JWT token per organization, which expires every 30 minutes.
- Added scalability with support for pagination, filtering and sorting search results.
- 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.
Path
Bodyapplication/jsonrequiredproduct UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: Integrate tab > Product Token).
library UUID (get a project's library by running Library - Project > Get Project Libraries.
- Generated server url
https://api-saas.mend.io/api/v2.0/projects/{projectToken}/libraries/{libraryUuid}/customAttributes/{attributeUuid}/value
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
application/json
{ "value": "Custom attribute value" }
Response
application/json
{ "supportToken": "1171c60d", "retVal": { "message": "Success!" } }