Image service API v2 (CURRENT) - Request parameters of the Update image "image_id" is repeated

Bug #1477396 reported by Masayuki Nakamura
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Masayuki Nakamura

Bug Description

In the Image service API v2 (CURRENT), request parameters of the Update image "image_id" is repeated.

__________________________________________________________________________________________
Parameter | Style | Type | Description
image_id | URI | csapi:uuid | Image ID stored through the image API. Typically a UUID.
image_id | URI | csapi:uuid | Image ID stored through the image API. Typically a UUID.
path | plain | xsd:string | Image's property.
 ....

http://developer.openstack.org/api-ref-image-v2.html#updateImage-v2

The revision point have been clarified.
"image_id" in "#updateImage-v2" is depulicated, so deleting the 451st line is the solution.
The file is "/api-site/api-ref/src/wadls/image-api/src/v2/os-image-v2.wadl".
  40 <resource path="{image_id}" id="image_id">
  41 &image_idParameter;
  42 <method href="#getImage-v2"/>
  43 <method href="#updateImage-v2"/>
  44 <method href="#deleteImage-v2"/>
  45 <resource id="actions" path="actions">

 450 </wadl:doc>
 451 &image_idParameter; ###deleting line###
 452 &pathParameter; &valueParameter; &opParameter;
 453 &urlParameter; &metadataParameter;
 454 </representation>

Changed in openstack-api-site:
assignee: nobody → Masayuki Nakamura (m-nakamura-2)
description: updated
description: updated
Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/205428

Changed in openstack-api-site:
status: Triaged → In Progress
Changed in openstack-api-site:
milestone: none → liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/205428
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=443a57948cf215cf45c84fd974c443325b9b97f8
Submitter: Jenkins
Branch: master

commit 443a57948cf215cf45c84fd974c443325b9b97f8
Author: Masayuki Nakamura <email address hidden>
Date: Sat Jul 25 00:41:17 2015 +0900

    Remove duplicate "image_id" parameter in update image

    Image service API v2 (CURRENT)

    Change-Id: Ib96bb3ce7d4ee2136ad4ebbbc2444b9ec917ddda
    Closes-Bug: #1477396

Changed in openstack-api-site:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.