Merge "Fix typos of filename in api-ref"

This commit is contained in:
Jenkins 2017-03-14 19:15:40 +00:00 committed by Gerrit Code Review
commit a2cea8f2dc
3 changed files with 17 additions and 35 deletions

View File

@ -208,7 +208,7 @@ else
echo "Port created. UUID: $PID"
fi
GET v1/ports > port-list-respone.json
GET v1/ports > port-list-response.json
GET v1/ports/detail > port-list-detail-response.json
PATCH v1/ports/$PID port-update-request.json > port-update-response.json

View File

@ -1,18 +0,0 @@
{
"ports": [
{
"address": "11:11:11:11:11:11",
"links": [
{
"href": "http://127.0.0.1:6385/v1/ports/d2b30520-907d-46c8-bfee-c5586e6fb3a1",
"rel": "self"
},
{
"href": "http://127.0.0.1:6385/ports/d2b30520-907d-46c8-bfee-c5586e6fb3a1",
"rel": "bookmark"
}
],
"uuid": "d2b30520-907d-46c8-bfee-c5586e6fb3a1"
}
]
}

View File

@ -1,18 +1,18 @@
{
"ports" : [
"ports": [
{
"address" : "11:11:11:11:11:11",
"uuid" : "c933a251-486f-4c27-adb2-8b5f59bd9cd2",
"links" : [
"address": "11:11:11:11:11:11",
"links": [
{
"rel" : "self",
"href" : "http://127.0.0.1:6385/v1/ports/c933a251-486f-4c27-adb2-8b5f59bd9cd2"
"href": "http://127.0.0.1:6385/v1/ports/d2b30520-907d-46c8-bfee-c5586e6fb3a1",
"rel": "self"
},
{
"rel" : "bookmark",
"href" : "http://127.0.0.1:6385/ports/c933a251-486f-4c27-adb2-8b5f59bd9cd2"
"href": "http://127.0.0.1:6385/ports/d2b30520-907d-46c8-bfee-c5586e6fb3a1",
"rel": "bookmark"
}
]
],
"uuid": "d2b30520-907d-46c8-bfee-c5586e6fb3a1"
}
]
}