Files
neutron-lib/api-ref/source/v2/samples/segments/segments-list-response.json
Boden R 41212a5311 complete api ref for std attr revisions
This patch completes the api ref for standard attribute based revision
numbers by:
- Updating applicable resource JSON responses to include
revision_number.
- Documents the revision_number response param where missing.
- Adds a section in the intro about revisions as well as conditional
HTTP based operations using If-Match header.
- Standardizes the revision_number response param; doesn't seem
necessary for each resource to have it's own.

Change-Id: Ib9a19126c35f89bc9c2ad891a7339702a406e2d5
Partial-Bug: #1703234
2017-08-30 16:06:23 -06:00

25 lines
621 B
JSON

{
"segments": [
{
"name": null,
"network_id": "5c0cb560-4089-41dd-be29-469907a23b49",
"segmentation_id": 2000,
"network_type": "vlan",
"physical_network": "segment-1",
"revision_number": 1,
"id": "57fe85e4-ca2f-4192-b3cd-d5c249d7a21f",
"description": null
},
{
"name": null,
"network_id": "5c0cb560-4089-41dd-be29-469907a23b49",
"segmentation_id": 2000,
"network_type": "vlan",
"physical_network": "segment-2",
"revision_number": 3,
"id": "f1364c3a-4fc1-4206-b2dc-3254bc25cbfc",
"description": null
}
]
}