Merge "Implements blueprint: update home doc"
This commit is contained in:
@@ -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": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user