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
25 lines
621 B
JSON
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
|
|
}
|
|
]
|
|
}
|