4339f17ac5
Volume/Snapshot contains two kinds API for it's metadata: POST/PUT POST is used for creatng or replacing the volume/snapshot's metadata items that match keys. It doesn't modify items that are not in the request. PUT is used for replacing all the volume/snapshot's metadata with the key-value pairs in the request. Cinder's api-ref description is wrong. This patch fixed the description and added the missing POST/PUT request. Change-Id: I51128d32c9f70ba57d7d4cf0634a16ca566db95f
6 lines
48 B
JSON
6 lines
48 B
JSON
{
|
|
"metadata": {
|
|
"key": "v3"
|
|
}
|
|
}
|