Bug 1014057

Summary: VM CD-ROMs Sub-Collection documentation should ';current' instead of '?current'
Product: Red Hat Enterprise Virtualization Manager Reporter: Christophe Fergeau <cfergeau>
Component: DocumentationAssignee: Andrew Burden <aburden>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, alyoung, bazulay, cpelland, gklein, sgordon, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-07 03:06:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christophe Fergeau 2013-10-01 10:40:47 UTC
In https://access.redhat.com/site/documentation//en-US/Red_Hat_Enterprise_Virtualization/3.2/html/Developer_Guide/Virtual_Machine_CD-ROMs_Sub-Collection.html , the last examples says:

"The API changes the CD-ROM for the current session only using a PUT request with an additional current URI argument:

Example 14.24. Changing a CD-ROM file during a current session

POST /api/vms/cdc0b102-fbfe-444a-b9cb-57d2af94f401/cdroms/00000000-0000-0000-0000-000000000000?current HTTP/1.1"

the '?current' in the last line should be ';current'
Both are working, but '?current' is deprecated, and ';current' is the recommended method now.

Comment 1 Andrew Burden 2013-10-11 07:18:47 UTC
Topic changed
's/000?current/000;current/'

Example 14.24. Changing a CD-ROM file during a current session
now reads:
POST /api/vms/cdc0b102-fbfe-444a-b9cb-57d2af94f401/cdroms
/00000000-0000-0000-0000-000000000000;current HTTP/1.1

Change can be viewed here:
http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/Virtual_Machine_CD-ROMs_Sub-Collection.html