Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-4999

Document how to request a status of a compose process with the IB API scenario

      The users may need to know what the status of the compose process is. They can can use IB API to request this status. Based on IB API draft

      _$ curl --header "Authorization: Bearer $access_token" \
      "https://console.redhat.com/api/image-builder/v1/composes/$compose_id"


      Output during the compose:
      {
      "image_status":

      { "status": "building" }

      }


      Output when the compose is finished:
      {
      "image_status": {
      "status": "success",
      "upload_status": {
      "options":

      { "url": "https://image-builder-service-production.s3.amazonaws.com/composer-api-...-disk.qcow2?..." }

      ,
      "status": "success",
      "type": "aws.s3"
      }
      }
      }
      _

              Unassigned Unassigned
              anikandr@redhat.com Alexandra Nikandrova
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: