Snapshots

Create an image from a snapshot

Creates a image from a specified snapshot. For more information about images, see Image. For more information about snapshots, see Snapshot.

post/core/snapshots/{snapshot_id}/image

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/core/snapshots/{snapshot_id}/image
  • Auth: API key in header api_key

Path parameters

snapshot_idinteger required

ID of the snapshot.

Request body

namestring required

Name for the new custom image.

labelsstring[]

List of labels to attach to the image.

Response

Creation of image successful.

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

idinteger

Unique numeric identifier.

Example response

{
  "status": true,
  "message": "Image added successfully."
}

Changes

No recorded changes to this operation across all 1 revision of this API.