As a superuser, you can retrieve information about builds with the {productname} API.
Procedure
-
Use the
GET /api/v1/superuser/{build_uuid}/build
endpoint to return information about a build:$ curl -X GET "https://quay-server.example.com/api/v1/superuser/<build_uuid>/build" \ -H "Authorization: Bearer <ACCESS_TOKEN>"
-
Use the
GET /api/v1/superuser/{build_uuid}/status
API endpoint to return the status for the builds specified by the build uuids:$ curl -X GET "https://quay-server.example.com/api/v1/superuser/<build_uuid>/status" \ -H "Authorization: Bearer <ACCESS_TOKEN>"
-
Use the
GET /api/v1/superuser/{build_uuid}/logs
API endpoint to return the build logs for the build specified by the build uuid:$ curl -X GET "https://quay-server.example.com/api/v1/superuser/<build_uuid>/logs" \ -H "Authorization: Bearer <ACCESS_TOKEN>"