24 lines
691 B
Plaintext
24 lines
691 B
Plaintext
POST /v2/{CALL_EXTERNAL|syntribos.extensions.random_data.client:get_uuid:[]|}/os-volume-manage HTTP/1.1
|
|
Accept: application/json
|
|
Content-type: application/json
|
|
X-Auth-Token: CALL_EXTERNAL|syntribos.extensions.identity.client:get_scoped_token_v3:["user"]|
|
|
|
|
{
|
|
"volume": {
|
|
"host": "geraint-VirtualBox",
|
|
"ref": {
|
|
"source-name": "existingLV",
|
|
"source-id": "1234"
|
|
},
|
|
"name": "New Volume",
|
|
"availability_zone": "az2",
|
|
"description": "Volume imported from existingLV",
|
|
"volume_type": null,
|
|
"bootable": true,
|
|
"metadata": {
|
|
"key1": "value1",
|
|
"key2": "value2"
|
|
}
|
|
}
|
|
}
|