Document APIs Issue: Server actions haven't specified server-id in api-ref-compute-v2.html

Bug #1494167 reported by nash.xiejun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Low
Diane Fleming

Bug Description

All api references of Server Action in "Compute API V2(SUPPORTED" miss parameter "server-id" in page "http://developer.openstack.org/api-ref-compute-v2.html".

For example, "Reboot server",
Description is "Reboots the specified server. Specify the reboot action in the request body."
POST /v2/​{tenant_id}​/servers/action

Normal response codes202
Error response codescomputeFault (400, 500, …), serviceUnavailable (503), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), itemNotFound (404), badMediaType (415), NetworkNotFound (400), HTTPUnprocessableEntity (422), buildInProgress (409)

Request parameters
Parameter Style Type Description
tenant_id URI csapi:UUID The tenant ID in a multi-tenancy cloud.
type plain xsd:string The type of reboot. Valid values are:SOFT. Signal the operating system to restart.HARD. Restart the server. Equivalent to power cycling the server.

{
    "reboot": {
        "type": "SOFT"
    }
}

There should be a parameter for specified server, but there isn't any.
The same issue with all api of server action, like "Change password", "Rebuild server", "Resize server", and so on.

Changed in openstack-api-site:
status: New → Confirmed
assignee: nobody → Diane Fleming (diane-fleming)
Revision history for this message
Diane Fleming (diane-fleming) wrote :
Changed in openstack-api-site:
importance: Undecided → Low
milestone: none → liberty
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/222418
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=5856755a97f7d1b65a57714df167547a0ad9e138
Submitter: Jenkins
Branch: master

commit 5856755a97f7d1b65a57714df167547a0ad9e138
Author: Diane Fleming <email address hidden>
Date: Thu Sep 10 19:43:32 2015 -0500

    Add server_id to Compute v2 action calls

    Change-Id: I392711e75fb80da1c1c8396b55620c5db8ede0df
    Closes-Bug: #1494167

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.