The api-ref response and the actual response returned from the Create Tags API does not match

Bug #1939690 reported by Mridula Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Mridula Joshi

Bug Description

The response returned from the Create Tags API '/v2/metadefs/namespaces/{namespace_name}/tags' does not match the response in api-ref.

The response mentioned in the api-ref: https://docs.openstack.org/api-ref/image/v2/metadefs-index.html?expanded=create-tags-detail#id88
{
    "created_at": "2015-05-09T01:12:31Z",
    "name": "added-sample-tag",
    "updated_at": "2015-05-09T01:12:31Z"
}

The actual response returned from API :
RESP BODY: {"tags": [{"name": "sample-tag1"}, {"name": "sample-tag2"}, {"name": "sample-tag3"}]}

Mridula Joshi (mrjoshi)
Changed in glance:
assignee: nobody → Mridula Joshi (mrjoshi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/glance/+/856098

Changed in glance:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/c/openstack/glance/+/856098
Committed: https://opendev.org/openstack/glance/commit/2872130bb932b980902e6115fff60f6b7754e3db
Submitter: "Zuul (22348)"
Branch: master

commit 2872130bb932b980902e6115fff60f6b7754e3db
Author: Mridula Joshi <email address hidden>
Date: Tue Sep 6 12:17:23 2022 +0000

    Fixes the api-ref response

    The response returned from the Create Tags API
    '/v2/metadefs/namespaces/{namespace_name}/tags' does not match
    the response in api-ref.
    This patch corrects the api-ref response.

    Closes-Bug: #1939690
    Change-Id: Icdafa6f55b434977d83148a0b0a958f35e99afac

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 26.0.0.0b3

This issue was fixed in the openstack/glance 26.0.0.0b3 development milestone.

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.