A sample of a response body of "POST /v3/services" is not correct.

Bug #1478032 reported by Kouichi Katano
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Kouichi Katano

Bug Description

http://developer.openstack.org/api-ref-identity-v3.html#createService

A sample of a response body of "POST /v3/services" is different from a description of a response parameters.

A sample of a response body has to have a "links" parameter.

For example,

A request sample is:
{
    "service": {
        "description": "Keystone Volume Service",
        "name": "volume service",
        "type": "volume",
    }
}

A response body is:
{
    "service": {
        "description": "Keystone Volume Service",
        "enabled": true,
        "id": "936521",
        "links": {
            "self": "http://identity:5000/v3/services/936521"
        },
        "name": "volume service",
        "type": "volume"
    }
}

Kouichi Katano (katano)
Changed in openstack-api-site:
assignee: nobody → Kouichi Katano (katano)
Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
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/205890

Changed in openstack-api-site:
status: Confirmed → In Progress
Tom Fifield (fifieldt)
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/205890
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=e856987c878adee8c9e1264cf5a2b53018af7365
Submitter: Jenkins
Branch: master

commit e856987c878adee8c9e1264cf5a2b53018af7365
Author: Kouichi Katano <email address hidden>
Date: Mon Jul 27 12:50:10 2015 +0900

    Fix a sample of a response body of "POST /v3/services"

    In a sample of response body of "POST v3/services",
    the following parameters should be added:
      - "enabled"
      - "links"
    because there are these parameters in a description of
    response parameters.

    For details, please see http://developer.openstack.org/api-ref-identity-v3.html#createService.

    Change-Id: Ie4c091348ba1f06c92b90210fff2eabe622527ec
    Closes-Bug: #1478032

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.