REST API - get

content library item changes: get

Returns information about a library item change. This operation was added in vSphere API 6.9.1.

Request:

HTTP request

GET https://{server}/rest/content/library/item/{library_item}/changes/{version}

Path Parameters

Name Type Description
Required
library_item string Library item identifer.
version string Library item version.

Response:

HTTP Status Code: 200

Representation:

{
    "value"{
        "time""2015-01-01T22:13:05.651Z",
        "message""string",
        "user""string"
    }
}

Response Type:

Name Type Description
bold = required
value info Information about the specified library item change.
value.time date_time The date and time when the item content was changed. This attribute was added in vSphere API 6.9.1.

value.user string The user who made the content change. This attribute was added in vSphere API 6.9.1.

Optional. This field will be unset if the user could not be determined.

value.message string The full message describing the content change. This attribute was added in vSphere API 6.9.1.

Optional. This field will be unset if a message was not provided when the item content was changed.

Errors:

HTTP Status Code Type Description
404 not_found if the library item or version is not found.
401 unauthenticated if the user that requested the operation cannot be authenticated.
403 unauthorized if the user that requested the operation is not authorized to perform the operation.
500 error if the system reports an error while responding to the request.