image.delta

Description

Provides methods to access and modify delta images.

Namespace:

image.delta

Method: createDeltaImage

HTTP POST

Description:

Import an image and schedule an inspect afterwards. The "size" entries in the pillar should be passed as string.

Parameters:

  • string sessionKey

  • int sourceImageId

  • int targetImageId

  • string file

  • struct pillar

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: getDetails

HTTP GET

Description:

Get details of an Image

Parameters:

  • string sessionKey

  • int sourceImageId

  • int targetImageId

Returns:

  • * struct delta image information

    • int "source_id"

    • int "target_id"

    • string "file" - file path

    • struct "pillar" - pillar data

Method: listDeltas

HTTP GET

Description:

List available DeltaImages

Parameters:

  • string sessionKey

Returns:

  • array :

  • struct delta image information

    • int "source_id"

    • int "target_id"

    • string "file" - file path

    • struct "pillar" - pillar data