Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Mend Summary - Label API
description: '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 10 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.
**Note:** To help you get started with the Mend SCA API 2.0, we recommend reviewing our onboarding guide -> Getting Started with Mend SCA API 2.0.
This resource covers initial setup, authentication instructions, and helpful tips to help you successfully begin working with the Mend SCA API 2.0. If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.'
version: 3.0.1
servers:
- url: https://api-saas.mend.io
description: Generated server url
security:
- bearer-key: []
tags:
- name: Summary - Label
paths:
/api/v2.0/orgs/{orgIdentifier}/labels/summaries:
post:
tags:
- Summary - Label
summary: Get Label Statistics
description: Returns the requested statistics for the given labels
operationId: getLabelSummaries
parameters:
- name: orgIdentifier
in: path
description: entity UUID or ApiToken (organization, product or project).
required: true
schema:
type: string
- name: categories
in: query
required: false
schema:
type: array
items:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MultiContextRequestDTO'
required: true
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/DomainLabelSummaryDTO'
components:
schemas:
DWRResponseBase:
type: object
properties:
supportToken:
title: Support Token
type: string
example: 1171c60d
DomainLabelSummaryDTO:
type: object
properties:
uuid:
type: string
namespace:
type: string
value:
type: string
displayName:
type: string
createdAt:
type: string
format: date-time
createdBy:
type: string
system:
type: boolean
products:
type: integer
format: int64
projects:
type: integer
format: int64
statistics:
type: object
additionalProperties:
type: object
additionalProperties:
type: integer
format: int64
MultiContextRequestDTO:
type: object
properties:
projectIdentifiers:
type: array
items:
title: Project Identifiers
type: string
example: 123e4567-e89b-12d3-a456-426655440000
productIdentifiers:
type: array
items:
title: Product Identifier
type: string
example: 123e4567-e89b-12d3-a456-426655440000
description: If projectIdentifiers and productIdentifiers are empty, action will apply to the whole organization
securitySchemes:
bearer-key:
type: http
description: JWT token Bearer
scheme: bearer
bearerFormat: JWT
x-provenance:
method: harvested
publisher: Mend
source: https://api-saas.mend.io/v3/api-docs
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)