List endpoints

List available endpoints.

Base path: https://<Cluster Master Host>:<Cluster Master API Port>/image-manager/api/v1

The <Cluster Master Host> and <Cluster Master API Port> parameters are defined in Master endpoints.

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
GET
Command output format
application/json

The sample curl command resembles the following code:

curl -k -H GET --header "Authorization: Bearer $ID_TOKEN" https://<Cluster Master Host>:<Cluster Master API Port>/image-manager/api/v1

The response resembles the following code:

root@master:~# curl -k -X GET --header "Authorization: Bearer $ID_TOKEN" https://mycluster.icp:8443/image-manager/api/v1
IBM Cloud Private Image Management API.
The listener is working. Now try a valid endpoint
Available APIs:
GET /
GET /image-manager/api/v1
GET /image-manager/api/v1/auth/token
GET /image-manager/api/v1/repositories
GET /image-manager/api/v1/repositories/{repo:.*}
PUT /image-manager/api/v1/repositories/{repo:.*}
DELETE /image-manager/api/v1/repositories/{repo:.*}

Responses

Table 1. The responses that are returned when you list endpoints
HTTP Code Description Schema
200 OK No content