diff options
author | Devananda van der Veen <devananda.vdv@gmail.com> | 2016-08-09 14:36:08 -0700 |
---|---|---|
committer | Devananda van der Veen <devananda.vdv@gmail.com> | 2016-08-21 11:43:30 -0700 |
commit | 28a399a13c25ef7387cd0effc78d10f92c083c81 (patch) | |
tree | f55ff32aca30ccf60ebfeedd16dbf791a325477b /api-ref/source/samples/chassis-list-response.json | |
parent | 494651de1f3f99f260b71c27c5ae2bc4d3015c3e (diff) | |
download | ironic-28a399a13c25ef7387cd0effc78d10f92c083c81.tar.gz |
Update api-ref for v1.22
This commit does several things, which were just easier to do together.
- Adds a new "misc" page describing the /v1/lookup and /v1/heartbeat
resources.
- Adds descriptions of the node.resource_class and
node.network_interface fields that were introduced into the API but
not into the documentation.
- Introduces a new script, api-ref/regenerate-samples.sh, which can be
used with Ironic to automate the generation of most of the sample files
used in the api-ref documententation.
- Corrects several errors in the sample JSON files that rendered errors
when using them with curl for POST, PUT, or PATCH.
- Uses the aforementioned regenerate-samples.sh script to regenerate
most of the JSON result samples, ensuring that they are all up to date
with the v1.22 API microversion.
- Removes a few old/incorrect "Error Code" listings.
- Updates the index page to remove extraneous wording.
Change-Id: I764cbb43be15f05ba681de6ce1be1ae7c022173d
Diffstat (limited to 'api-ref/source/samples/chassis-list-response.json')
-rw-r--r-- | api-ref/source/samples/chassis-list-response.json | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/api-ref/source/samples/chassis-list-response.json b/api-ref/source/samples/chassis-list-response.json index 034166cf5..2fa9e5d94 100644 --- a/api-ref/source/samples/chassis-list-response.json +++ b/api-ref/source/samples/chassis-list-response.json @@ -1,18 +1,18 @@ { - "chassis": [ + "chassis": [ + { + "description": "Sample chassis", + "links": [ { - "description": "Sample chassis", - "links": [ - { - "href": "http://localhost:6385/v1/chassis/eaaca217-e7d8-47b4-bb41-3f99f20eed89", - "rel": "self" - }, - { - "href": "http://localhost:6385/chassis/eaaca217-e7d8-47b4-bb41-3f99f20eed89", - "rel": "bookmark" - } - ], - "uuid": "eaaca217-e7d8-47b4-bb41-3f99f20eed89" + "href": "http://127.0.0.1:6385/v1/chassis/dff29d23-1ded-43b4-8ae1-5eebb3e30de1", + "rel": "self" + }, + { + "href": "http://127.0.0.1:6385/chassis/dff29d23-1ded-43b4-8ae1-5eebb3e30de1", + "rel": "bookmark" } - ] + ], + "uuid": "dff29d23-1ded-43b4-8ae1-5eebb3e30de1" + } + ] } |