f208917c520cc1a92e6177cebba16decd0247232
Commit Graph

72 Commits

Author SHA1 Message Date
Sean Dague
f208917c52 Fix remaining json reference warnings
This fixes the last json reference warning which exist. It also trims
out the baremetal API calls that we don't support any more (we only
have the readonly proxy). That was erroneously added to the compute
API docs in refactors of api-site last cycle.
Change-Id: I08be639b610304049b0959902ed8876559111274
2016年04月20日 08:42:24 -04:00
Jenkins
b87e6723ef Merge "Update 'os-hypervisors.inc' in api-ref" 2016年04月20日 11:16:36 +00:00
Jenkins
1e391f8dd6 Merge "Fix the parameters for os-agents API" 2016年04月20日 11:15:38 +00:00
Jenkins
d6426141d2 Merge "Fix content and sample file for keypair, migration, networks" 2016年04月20日 11:14:39 +00:00
Jenkins
99ad35a621 Merge "Fix sample file path for fixed, floating ips API" 2016年04月20日 11:06:49 +00:00
Jenkins
3ed55c2f80 Merge "Fix all remaining sample file path" 2016年04月20日 11:05:51 +00:00
Jenkins
9504797297 Merge "Change adminPass for several server actions" 2016年04月20日 11:04:20 +00:00
Jenkins
23c8c8e322 Merge "Fix sample path for aggregate, certificate, console" 2016年04月20日 11:03:25 +00:00
Jenkins
f3531de86c Merge "Add remaining image API ref" 2016年04月20日 11:02:27 +00:00
Jenkins
7b783196ab Merge "Remove duplicate api ref for os-networks/actions" 2016年04月20日 09:45:08 +00:00
Jenkins
0e7a20a946 Merge "Fix sample file path for 4 files" 2016年04月20日 09:44:12 +00:00
ghanshyam
d0eb85880c Remove duplicate api ref for os-networks/actions
This remove the duplicate entry of os-networks/actions api ref
and add the action name in their content.
Part of bp:api-ref-in-rst
Change-Id: I3ca28793b6bcf390c8a2bfa1dfcf0213cf6bd428
2016年04月20日 17:11:06 +09:00
ghanshyam
24d380b4d0 Fix all remaining sample file path
This patch fix sample file path in all remaining api ref files.
Part of bp:api-ref-in-rst
Change-Id: I214b3a5bedea44cdfeba644ef3796938b709f4bf
2016年04月20日 16:56:47 +09:00
ghanshyam
4d421c7151 Fix sample file path for 4 files
This fix sample file path and status code of evacuate
Part of bp:api-ref-in-rst
Change-Id: I3bec0fcf622c0a1c85bbfea53283bd73fd613c75
2016年04月20日 15:34:02 +09:00
ghanshyam
1d6cd1277b Fix content and sample file for keypair, migration, networks
This fix some content and sample file path for:
-os-keypairs
-os-migrations
-os-networks
Part of bp:api-ref-in-rst
Change-Id: I6ae6d38207c5a9552bab9a42b2800449e4ad040a
2016年04月20日 12:03:04 +09:00
ghanshyam
aa0bb597c6 Fix sample file path for os-i* API
This patch fix sample files path for os-i* APIs
Part of bp:api-ref-in-rst
Change-Id: I0d8de9aaef7ffe5e0dfe09f38246b1f57ac814cb
2016年04月20日 11:38:31 +09:00
He Jie Xu
469771a3b5 Fix the parameters for os-agents API
* Add notes for API bug: update return string type's agent id
* Fix the parameters for create agent
* Fix the description of agent id in the update url.
Part of bp:api-ref-in-rst
Change-Id: I5c102ef8a08123089ec4a85dde5716eda12fb8c7
2016年04月20日 10:23:47 +08:00
ghanshyam
ca65bf4e91 Fix sample file path for fixed, floating ips API
This fix sample file path and some satatus code for
-fixed ips
-floating ips
Part of bp:api-ref-in-rst
Change-Id: I33341d67e678f70b1a4feb9b39a14f5ac81e8c65
2016年04月20日 11:05:26 +09:00
Jenkins
8e811ec838 Merge "fix samples references in security group files" 2016年04月20日 02:05:21 +00:00
Jenkins
e0f911cae4 Merge "fix samples references in os-services" 2016年04月20日 02:04:27 +00:00
Jenkins
aa7a87ccba Merge "Fix api samples references in 3 more files" 2016年04月20日 02:03:34 +00:00
Jenkins
9619136e31 Merge "Fix os-virtual-interfaces and flavors api-ref" 2016年04月20日 02:02:01 +00:00
ghanshyam
90d64f229c Fix sample path for aggregate, certificate, console
This fix all sample file path for
-os-aggregates
-os-certificates
-os-consoles
Part of bp:api-ref-in-rst
Change-Id: I949f3625b7bad4f316ee4b5723fba8e95a205afd
2016年04月20日 10:35:37 +09:00
ghanshyam
27778e5d04 Add remaining image API ref
This commit adds remaining image and metadata API ref
and also correct the existing one with status code and
sample file name.
Part of bp:api-ref-in-rst
Change-Id: I9db88b0ad042501406d512e417440a1146027326
2016年04月19日 23:31:47 +00:00
Jenkins
2325ee56f3 Merge "Fix api ref for os-hosts, os-quota-sets and os-fping" 2016年04月19日 23:25:53 +00:00
Jenkins
68020b1740 Merge "Fix api ref for os-cells, os-cloudpipe and server-action-shelve" 2016年04月19日 23:24:58 +00:00
Jenkins
6775cddb54 Merge "Fix api sample references in 2 more files." 2016年04月19日 23:16:21 +00:00
Jenkins
0d06a331da Merge "Fix flavor-access and flavor-extras api-ref" 2016年04月19日 22:32:41 +00:00
Jenkins
c787a8361f Merge "Fix diagnostics, extensions api ref" 2016年04月19日 22:31:08 +00:00
Jenkins
66d38b1692 Merge "Fix api ref for ips, limits, metdata and agent" 2016年04月19日 22:29:53 +00:00
Sean Dague
c52b7c6a9e fix samples references in security group files
This fixes the samples references in the security group files,
commenting out 2 that don't exist at all.
This drops the warnings to 145 against current master.
Part of bp:api-ref-in-rst
Change-Id: I0cb9932dc54cdffcbd9eda274a06d708e87409d8
2016年04月19日 14:08:33 -04:00
Sean Dague
4e415274f3 fix samples references in os-services
This fixes all the samples references in os-services to not throw
warnings.
Part of bp:api-ref-in-rst
Change-Id: I25b469352a4f99e34783eb31ea3b94e4d9971477
2016年04月19日 14:08:33 -04:00
Sean Dague
516bd072bc Fix api samples references in 3 more files
This fixes more api samples references which were autogenerated
incorrectly, and brings our api-ref warnings down to 175.
It also removes the os-volume-types API references, which turns out to
be a complete work of fiction, and never existed.
Part of bp:api-ref-in-rst
Change-Id: I1395c5e5986d8810ed91e9c9f132ec04f620497c
2016年04月19日 14:08:33 -04:00
Jenkins
16cea9cdc5 Merge "Fix json response example heading in api ref" 2016年04月19日 18:01:14 +00:00
Jenkins
3d4f257aa9 Merge "Remove 40X and 50X from Normal response codes" 2016年04月19日 15:02:15 +00:00
Jenkins
d3b4bcb78a Merge "Specify normal status code on os-baremetal-nodes" 2016年04月19日 14:44:58 +00:00
Jenkins
bb64ef88fd Merge "Fix "Creates an aggregate" parameters" 2016年04月19日 13:24:40 +00:00
Kevin_Zheng
b9a89c97a8 Fix api ref for os-hosts, os-quota-sets and os-fping
This patch fix API ref for correct sample files and status code
for below APIs
- os-hosts
- os-quota-sets
- os-fping
Part of bp:api-ref-in-rst
Change-Id: I7ecfe5adf4d8f1e9c767bac9194d9160f09fbee9
2016年04月19日 21:18:12 +08:00
Kevin_Zheng
f774d03b6f Fix api ref for os-cells, os-cloudpipe and server-action-shelve
This patch fix API ref for correct sample files and status code
for below APIs
- os-cells
- os-cloudpipe
- server-action-shelve
Part of bp:api-ref-in-rst
Change-Id: I6292f78742d7bb50882e186c97e7966721037ba4
2016年04月19日 13:08:49 +00:00
Kevin_Zheng
f6592c94fd Fix api sample references in 2 more files.
The api sample reference is not correct
fix incorrect return value.
1. servers-action-console-output.inc
2. servers-action-crash-dump.inc
Part of bp:api-ref-in-rst
Change-Id: Id0d946478a6a59f63f22117944309d3eb66013d3
2016年04月19日 20:32:58 +08:00
ghanshyam
d8f9d2328e Fix api ref for ips, limits, metdata and agent
This patch fix API ref for correct sample files and status code
for below APIs
- ips
- limits
- server metadata
- agents
Part of bp:api-ref-in-rst
Change-Id: I91b769eefde78381dc0feb6b5c8c6cf753203732
2016年04月19日 19:32:48 +09:00
ghanshyam
6f8cda2f39 Fix json response example heading in api ref
Heading for json response example is wrong,
it is json request instead of json response.
Part of bp:api-ref-in-rst
Change-Id: I709b2bf19520eb76e0264c358a2146bb0dbcee2b
2016年04月19日 17:56:20 +09:00
Jenkins
654181beeb Merge "Fix hosts and az api samples" 2016年04月19日 08:02:43 +00:00
Jenkins
3f0865b22a Merge "Fix "Creates an agent build" parameters" 2016年04月19日 06:33:35 +00:00
Jenkins
2848ef3bff Merge "Fix os-service related reference missing" 2016年04月19日 02:37:00 +00:00
Ken'ichi Ohmichi
05e9f0a0e0 Remove 40X and 50X from Normal response codes
HTTP 40X-50X are not normal response codes at all.
This patch removes them from api-ref.
Part of bp:api-ref-in-rst
Change-Id: I32a29c9e2a3d69720e3a88e17ba36fe45fa902d9
2016年04月18日 16:56:11 -07:00
Ken'ichi Ohmichi
cf2fb50006 Specify normal status code on os-baremetal-nodes
The api-ref os-baremetal-nodes doesn't contain normal status code,
so this patch adds it for explaining the normal opperation.
Part of bp:api-ref-in-rst
Change-Id: I1e1e9ee37b1a8c0511438fa9a2e447c7d8df8d0f
2016年04月18日 16:55:57 -07:00
Ken'ichi Ohmichi
b3e1afd087 Fix "Creates an aggregate" parameters
"Creates an aggregate" API supports multiple parameters on a request,
but api-ref doesn.t contain them at all This patch adds them.
The following JSON-Schema is for the API.
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/aggregates.py#L32
Part of bp:api-ref-in-rst
Change-Id: I3a58568662d21059bccdcf64cc30dbf3b706db58
2016年04月18日 14:25:24 -07:00
Sean Dague
afe8c1b3e8 fix samples references for 2 files
This fixes the samples references for ``servers-actions.inc`` and
``servers-multiple-create.inc`` and drops the warnings count to 195.
Change-Id: Id9a2ae98f5ded9ab57bfd3af5fb18357df6bc1d2
2016年04月18日 07:15:10 -04:00
Sean Dague
46a1fd17cc Update servers.inc to be as accurate as api-site
This updates servers.inc which had a rough path during conversion. The
GET servers/details was lost entirely.
It updates a number of parameters to distinguish ones that are only in
the queries, as well as fixes references to short names that collided.
It updates the UPDATE call to only specify request parameters which
you can actually update.
It introduces the notation object.field for parameters that are
embedded in other objects. This is a new concept, but one way we can
clear up that the uuid in the parameter list is really networks.uuid.
It also deletes the old hand rolled servers.rst, which drops the
warnings count by nearly 100.
Part of bp:api-ref-in-rst
Change-Id: Ie7693a5888efa913118244a0837e6c0177965d48
2016年04月18日 06:40:23 -04:00