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

Compliance

Operations

Images

Operations

Registry

Operations

Get registries

Request

Get the org registries

Path
orguuidstringrequired

organization UUID

Query
sortstring

sort by

orderstring

order sorting, possible values are asc/desc

pageinteger

page number

Default 1
sizeinteger

number of objects per page

Default 1000
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 registries

Request

Delete registries of a given org

Path
orguuidstringrequired

organization 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 }

Scan registries

Request

Scan registries of a given org

Path
orguuidstringrequired

organization UUID

Bodyapplication/jsonrequired

Registries to be scanned

Array [
uuidstring
]
application/json
[ { "uuid": "string" } ]

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 }

Get registry

Request

Get a specific registry

Path
orguuidstringrequired

organization UUID

uuidstringrequired

registry 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 }

Update registry

Request

Update a specific registry

Path
orguuidstringrequired

organization UUID

uuidstringrequired

registry 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 registry

Request

Delete a specific registry

Path
orguuidstringrequired

organization UUID

uuidstringrequired

registry 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 }

Runtime

Operations