LibraryItemUpdatesessionPreviewInfo
The PreviewInfo structure contains information about the files being uploaded in the update session.
Properties
Certificate chain in base64 format. This field is unset if the update session content is not signed.
The certificate information of the signed update session content. This field is unset if the update session content is not signed.
The PreviewInfo.State enumerated type defines the state of the update session’s preview.
UNAVAILABLE : There are no files in the update session OR a preview is not possible for the files currently in the update session. However, preview may be possible after metadata files such as OVF descriptor are added to the session. In this case the state will transition to PREPARING.
NOT_APPLICABLE : Preview is not possible for this update session. This state is reached when there are no metadata files in the update session and user invokes a session complete operation.
PREPARING : A preview is being prepared for the files currently in the update session. This state is reached when the applicable metadata files are added to the update session but their content is not fully uploaded yet. For OVF item type, this state indicates that the OVF descriptor file is currently being uploaded.
AVAILABLE : Preview is available for this update session. It is possible to review certificate details and warnings, if any. This state is reached when the applicable metadata files in the session have been fully uploaded.
Possible values are: UNAVAILABLE , NOT_APPLICABLE , PREPARING , AVAILABLE
The list of warnings raised for this update session. Any warning which is not ignored by the client will, by default, fail the update session during session complete operation. This field is optional and it is only relevant when the value of PreviewInfo.state is AVAILABLE.
JSON Example
{
"state": "UNAVAILABLE"
}