Merge "api-ref: add missing volumes_links in list-volume interfaces"

This commit is contained in:
Zuul 2018-12-19 01:59:32 +00:00 committed by Gerrit Code Review
commit 5ea88854cc
8 changed files with 35 additions and 3 deletions

View File

@ -874,6 +874,12 @@ links_5:
in: body
required: true
type: array
links_vol_optional:
description: |
The volume links.
in: body
required: false
type: array
location:
description: |
Full URL to a service or server.
@ -1903,4 +1909,4 @@ volumes_number_for_type:
the specified volume type.
in: body
required: true
type: integer
type: integer

View File

@ -94,5 +94,9 @@
"created_at": "2015-11-29T02:25:18.000000",
"volume_type": "lvmdriver-1"
}
]
],
"volumes_links": [{
"href": "https://158.69.65.111/volume/v2/4ad9f06ab8654e40befa59a2e7cac86d/volumes/detail?limit=1&marker=3b451d5d-9358-4a7e-a746-c6fd8b0e1462",
"rel": "next"
}]
}

View File

@ -28,5 +28,9 @@
],
"name": "vol-003"
}
]
],
"volumes_links": [{
"href": "https://158.69.65.111/volume/v2/4ad9f06ab8654e40befa59a2e7cac86d/volumes/detail?limit=1&marker=3b451d5d-9358-4a7e-a746-c6fd8b0e1462",
"rel": "next"
}]
}

View File

@ -119,6 +119,7 @@ Response Parameters
- created_at: created_at
- volumes: volumes
- volume_type: volume_type
- volumes_links: links_vol_optional
@ -274,6 +275,7 @@ Response Parameters
- id: id
- links: links
- name: name
- volumes_links: links_vol_optional

View File

@ -1499,6 +1499,12 @@ links_vol:
in: body
required: true
type: array
links_vol_optional:
description: |
The volume links.
in: body
required: false
type: array
location:
description: |
Full URL to a service or server.

View File

@ -95,5 +95,9 @@
"volume_type": "lvmdriver-1"
}
],
"volumes_links": [{
"href": "https://158.69.65.111/volume/v3/4ad9f06ab8654e40befa59a2e7cac86d/volumes/detail?limit=1&marker=3b451d5d-9358-4a7e-a746-c6fd8b0e1462",
"rel": "next"
}],
"count": 10
}

View File

@ -29,5 +29,9 @@
"name": "vol-003"
}
],
"volumes_links": [{
"href": "https://158.69.65.111/volume/v3/4ad9f06ab8654e40befa59a2e7cac86d/volumes/detail?limit=1&marker=3b451d5d-9358-4a7e-a746-c6fd8b0e1462",
"rel": "next"
}],
"count": 10
}

View File

@ -128,6 +128,7 @@ Response Parameters
- created_at: created_at
- volumes: volumes
- volume_type: volume_type_vol
- volumes_links: links_vol_optional
- count: count
@ -294,6 +295,7 @@ Response Parameters
- id: id_vol
- links: links_vol
- name: name_vol
- volumes_links: links_vol_optional
- count: count