Red Hat Training

A Red Hat training course is available for Red Hat Gluster Storage

3.7. Example: Start Volume

This example retrieves a representation of starting a volume.

Example 3.7. Start Volume

POST api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes/83101900-2f12-4855-838e-36b8a9e04554/start HTTP/1.1
Accept: application/xml
Content-type: application/xml

<action/>
cURL Command:
curl -X POST -H "Accept: application/xml" -H "Content-Type: application/xml" -u [USER:PASS] https://[RHSC HOST]/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes/83101900-2f12-4855-838e-36b8a9e04554/start -d "<action/>"
The API returns the following representation:
HTTP/1.1 200 OK
Accept: application/xml

<action>
    <status>
        <state>complete</state>
    </status>
</action>
22632%2C+Console+Developer+Guide-322-09-2014+17%3A11%3A35Report a bug