/osImages

Use this REST API to retrieve information about and create a job to import OS images, OS-image profiles, device driver, boot files, and custom files (such as configuration settings, installation scripts, software, and unattend files) , or to customize an OS-image profile.

To import a new file, follow these steps:
  1. Start a job to import the file using POST /osImages.
  2. Import the file using POST /files/osImages?jobId=<job_id> method, where the job ID is the ID that was returned in step 1.
  3. Monitor the status of the import job using GET /tasks/<job_list>, where the job ID is the ID that was returned in step 1.

When you import an OS image, Lenovo XClarity Administrator creates one or more OS-image profiles in the OS image repository. The profile includes both the OS image and the installation options for that image.

HTTP methods

GET, POST