Image management API
The image management API commands list, update, and delete images in the image registry.
Both Cluster administrator and Administrator can access all image management APIs commands for all resources.
To use these APIs, you must add an authorization header to your request. See Preparing to run component or management API commands.
For example,
curl --cacert /<certificate_path>/ca.crt -s -H "Authorization: Bearer $ID_TOKEN" https://<Cluster Master Host>:<Cluster Master API Port>/image-manager/api/v1
In this command:
-
<certificate_path>is<installation_directory>/cluster/cfc-certs/router/icp-router.crton your boot node -
$ID_TOKENis the variable that stores the identity token for your cluster -
<Cluster Master Host>and<Cluster Master API Port>are defined in Master endpoints
If you have not set a CA domain, you can continue the request with an insecure connection.
For example,
curl -k -H "Authorization: Bearer $ID_TOKEN" https://<Cluster Master Host>:<Cluster Master API Port>/image-manager/api/v1
Image management API data
- API version
- 3.1.2
- API URI components
-
- Scheme
HTTPS
- Host name
Cluster Master Host
- Port number
Cluster Master API Port
- Base path
/image-manager/api/v1
- Command output format
application/json