Mend Container Image API (2.0)

Mend's enhanced Container Image API enables automation of workflows. The API features:

  • Access for any user with Mend credentials, via a user key available in the user's profile page in the Mend Application.
  • 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. To access your base URL for API calls go to the Mend Application > Cloud Native.

Download OpenAPI description
Overview
License

Apache 2.0

Languages
Servers

https://baseUrl/cn/api/v2.0/

http://baseUrl/cn/api/v2.0/

Kubernetes

Operations

Get Kubernetes integrations list

Request

Get Kubernetes integrations list

Security
bearer-security
Path
orguuidstringrequired

organization uuid

No request payload

Responses

Data field refers to a list of objects

Bodyapplication/json
dataany
errorsArray of objects(common.PartialError)
statusobject
Response
application/json
{ "data": null, "errors": [ {} ], "status": { "property1": 0, "property2": 0 } }

Get cluster from Kubernetes integration

Request

Get cluster from Kubernetes integration

Security
bearer-security
Path
orguuidstringrequired

organization uuid

integrationuuidstringrequired

kubernetes integration UUID

clusteruuidstringrequired

cluster UUID

No request payload

Responses

Cluster data

Bodyapplication/json
createdAtstring
Example: "2020-01-01T00:00:00Z"
integrationNamestring
integrationUUIDstring
namestring
namespacesArray of strings
updatedAtstring
Example: "2020-01-01T00:00:00Z"
uuidstring
Example: "c4f93b6d-8236-4d0c-a67b-3978def476a3"
Response
application/json
{ "createdAt": "2020-01-01T00:00:00Z", "integrationName": "string", "integrationUUID": "string", "name": "string", "namespaces": [ "string" ], "updatedAt": "2020-01-01T00:00:00Z", "uuid": "c4f93b6d-8236-4d0c-a67b-3978def476a3" }

Get clusters from Kubernetes integration

Request

Get clusters from Kubernetes integration

Security
bearer-security
Path
orguuidstringrequired

organization uuid

uuidstringrequired

kubernetes integration UUID

No request payload

Responses

Data field refers to a list of objects

Bodyapplication/json
additionalInfoobject(common.Pagination)
dataany
Response
application/json
{ "additionalInfo": { "isLastPage": true, "page": 0, "pageCount": 0, "pageSize": 20, "size": 20, "totalCount": 0, "totalItems": 0 }, "data": null }

Delete clusters from Kubernetes integrations

Request

Delete clusters from Kubernetes integration

Security
bearer-security
Path
orguuidstringrequired

organization UUID

Body*/*required

Clusters to be deleted from the integration

Array [
createdAtstring
Example: "2020-01-01T00:00:00Z"
integrationNamestring
integrationUUIDstring
namestring
namespacesArray of strings
updatedAtstring
Example: "2020-01-01T00:00:00Z"
uuidstring
Example: "c4f93b6d-8236-4d0c-a67b-3978def476a3"
]
No request payload

Responses

Data field refers to a list of objects

Bodyapplication/json
dataany
errorsArray of objects(common.PartialError)
statusobject
Response
application/json
{ "data": null, "errors": [ {} ], "status": { "property1": 0, "property2": 0 } }

Create integration with Kubernetes

Request

Create integration with Kubernetes

Security
bearer-security
Path
orguuidstringrequired

organization uuid

Body*/*required

Integration to create

clustersArray of strings
connectedClustersinteger
createdAtstring
Example: "2020-01-01T00:00:00Z"
descriptionstring
environmentsArray of strings
failedClustersinteger
kubeconfigArray of integers
kubeconfigPathstring
namestring
ownerobject(model.IntegrationOwner)
passwordstring
regionstring
totalClustersinteger
typestring
updatedAtstring
Example: "2020-01-01T00:00:00Z"
usernamestring
uuidstring
Example: "c4f93b6d-8236-4d0c-a67b-3978def476a3"
No request payload

Responses

Data field refers to a list of objects

Bodyapplication/json
dataany
errorsArray of objects(common.PartialError)
statusobject
Response
application/json
{ "data": null, "errors": [ {} ], "status": { "property1": 0, "property2": 0 } }

Delete Kubernetes integrations

Request

Delete Kubernetes integrations

Security
bearer-security
Path
orguuidstringrequired

organization UUID

Body*/*required

Integrations UUID's to delete

Array [
clustersArray of strings
connectedClustersinteger
createdAtstring
Example: "2020-01-01T00:00:00Z"
descriptionstring
environmentsArray of strings
failedClustersinteger
kubeconfigArray of integers
kubeconfigPathstring
namestring
ownerobject(model.IntegrationOwner)
passwordstring
regionstring
totalClustersinteger
typestring
updatedAtstring
Example: "2020-01-01T00:00:00Z"
usernamestring
uuidstring
Example: "c4f93b6d-8236-4d0c-a67b-3978def476a3"
]
No request payload

Responses

Data field refers to a list of objects

Bodyapplication/json
dataany
errorsArray of objects(common.PartialError)
statusobject
Response
application/json
{ "data": null, "errors": [ {} ], "status": { "property1": 0, "property2": 0 } }

Scan all clusters in Kubernetes integration

Request

Scan all clusters in Kubernetes integration

Security
bearer-security
Path
orguuidstringrequired

organization uuid

Body*/*required

Integrations UUID's to scan

Array [
clustersArray of strings
connectedClustersinteger
createdAtstring
Example: "2020-01-01T00:00:00Z"
descriptionstring
environmentsArray of strings
failedClustersinteger
kubeconfigArray of integers
kubeconfigPathstring
namestring
ownerobject(model.IntegrationOwner)
passwordstring
regionstring
totalClustersinteger
typestring
updatedAtstring
Example: "2020-01-01T00:00:00Z"
usernamestring
uuidstring
Example: "c4f93b6d-8236-4d0c-a67b-3978def476a3"
]
No request payload

Responses

Data field refers to a list of objects

Bodyapplication/json
dataany
errorsArray of objects(common.PartialError)
statusobject
Response
application/json
{ "data": null, "errors": [ {} ], "status": { "property1": 0, "property2": 0 } }

Add clusters to existing Kubernetes integration

Request

Add clusters to existing Kubernetes integration

Security
bearer-security
Path
orguuidstringrequired

organization UUID

uuidstringrequired

kubernetes integration UUID

Body*/*required

Clusters to be added into the integration

Array [
createdAtstring
Example: "2020-01-01T00:00:00Z"
integrationNamestring
integrationUUIDstring
namestring
namespacesArray of strings
updatedAtstring
Example: "2020-01-01T00:00:00Z"
uuidstring
Example: "c4f93b6d-8236-4d0c-a67b-3978def476a3"
]
No request payload

Responses

Data field refers to a list of objects

Bodyapplication/json
dataany
errorsArray of objects(common.PartialError)
statusobject
Response
application/json
{ "data": null, "errors": [ {} ], "status": { "property1": 0, "property2": 0 } }

Add all clusters to existing Kubernetes integration

Request

Add all clusters to existing Kubernetes integration

Security
bearer-security
Path
orguuidstringrequired

organization uuid

uuidstringrequired

kubernetes integration UUID

No request payload

Responses

Data field refers to a list of objects

Bodyapplication/json
dataany
errorsArray of objects(common.PartialError)
statusobject
Response
application/json
{ "data": null, "errors": [ {} ], "status": { "property1": 0, "property2": 0 } }

Compliance

Operations

Images

Operations

Registry

Operations

Runtime

Operations