Document APIs Issue: Server actions haven't specified server-id in api-ref-compute-v2.html
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://
For example, "Reboot server",
Description is "Reboots the specified server. Specify the reboot action in the request body."
POST /v2/{tenant_
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), HTTPUnprocessab
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) |
https:/ /review. openstack. org/222418