Red Hat Bugzilla – Bug 1001071
Duplicated example in CDROMs subcollection documentation
Last modified: 2014-08-25 01:57:14 EDT
the example 14.22 (Send a POST request with a file id element to add a new CD-ROM resource. ) and example 14.23 (The API changes the CD-ROM using a PUT request:) are the same:
PUT /api/vms/cdc0b102-fbfe-444a-b9cb-57d2af94f401/cdroms/00000000-0000-0000-0000-000000000000 HTTP/1.1
I'd expect the first example to be different, and to start with POST /api/vms/....
Thank you, Christophe.
The first example I believe should have been titled 'Adding a new CD-ROM file' and, as indicated, should have used a POST request.
I've made the changes; will add the link when the book has been staged.
The title of 'Example 15.22' was changed to 'Adding a new CD-ROM file'.
In the example itself, the Put request was changed to a POST request.