Skip to content

Files

Latest commit

stevsmitSteven Smith
and
Steven Smith
Mar 13, 2025
16ee9b1 · Mar 13, 2025

History

History
31 lines (25 loc) · 1.44 KB

retrieving-build-info-superuser-api.adoc

File metadata and controls

31 lines (25 loc) · 1.44 KB

Retrieving build information with the {productname} API

As a superuser, you can retrieve information about builds with the {productname} API.

Procedure
  1. 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>"
  2. 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>"
  3. 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>"