Merge "Implements blueprint: update home doc"

This commit is contained in:
Jenkins
2015-03-19 20:31:19 +00:00
committed by Gerrit Code Review

View File

@@ -17,20 +17,55 @@ from poppy.manager import base
JSON_HOME = {
"resources": {
"rel/poppy": {
"href-template": "services{?marker,limit}",
"rel/services": {
"href-template": "/services{?marker,limit}",
"href-vars": {
"marker": "param/marker",
"limit": "param/limit"
},
"hints": {
"allow": [
"GET"
"GET", "POST"
],
"formats": {
"application/json": {}
}
}
},
"rel/flavors": {
"href-template": "/flavors/{flavor_id}",
"href-vars": {
"marker": "param/flavor_id"
},
"hints": {
"allow": [
"GET", "POST", "DELETE"
],
"formats": {
"application/json": {}
}
}
},
"rel/health": {
"href-template": "/health",
"href-vars": {
"subsystem": "param/subsystem"
},
"hints": {
"allow": ["GET"],
"formats": {
"application/json": {}
}
}
},
"rel/ping": {
"href-template": "/ping",
"hints": {
"allow": ["GET"],
"formats": {
"application/json": {}
}
}
}
}
}