Home > Cloud Cruiser 3 > REST API reference > Resources > Create or update revisions

Create or update revisions

Modifies revision information of the specified existing resource, including updating an existing revision or adding a new revision.

URL syntax

http://<ccServerURL
>/rest/v1/resources/resource/<headerId
>/revisions

HTTP method

PUT

Request

URL path parameters (required)

headerId (type: int )

Content-Type
application/xml
Request body

XML text with root element revision .

JAXB type
com.cloudcruiser.server.webservices.v1.dto.resource.Revision

Response

Content-Type
application/xml
Response body

XML text with root element resourceInfo .

JAXB type
com.cloudcruiser.server.webservices.v1.dto.resource.ResourceInfo
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP