← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1939690] [NEW] The api-ref response and the actual response returned from the Create Tags API does not match

 

Public bug reported:

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"}]}

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1939690

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

Status in Glance:
  New

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"}]}

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1939690/+subscriptions



Follow ups