POST /com/vmware/content/library/item/update-session/id:{update_session_id}?~action=complete |
POST /com/vmware/content/library/item/update-session?~action=complete |
This operation requires the session to be in the ACTIVE state.
Depending on the type of the library item associated with this session, a type adapter may be invoked to verify the validity of the files uploaded. The user can explicitly validate the session before completing the session by using the validate operation.
Modifications are not visible to other clients unless the session is completed and all necessary files have been received.
{
"update_session_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Complete-Input xmlns:ns0="http://vmware.com/content/library/item/update_session" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <update_session_id>obj-103</update_session_id> </ns0:Complete-Input>
POST /com/vmware/content/library/item/update-session?~action=complete
&update_session_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
update_session_id* |
ID | Yes | Identifier of the update session that should be completed. Id of type com.vmware.content.library.item.UpdateSession. |
Name | Type | Required | Description |
---|---|---|---|
result | VOID | Yes |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if no update session with the given identifier exists. | 404 |
not_allowed_in_current_state | if the update session is not in the ACTIVE state, or if some of the files that will be uploaded by the client aren't received correctly. | 400 |
Copyright © 2014. All Rights Reserved.