Added rest functionality to the v2 apis
Co-Authored-By: Digambar Patil <digambarpat@gmail.com> Co-Authored-By: Steven Dake <sdake@redhat.com> Change-Id: I96fa7cc8aa04f377422f6fc3c365368d0ee21645
This commit is contained in:
parent
3d15bd1ba8
commit
b49297b831
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
import pecan
|
||||||
|
from pecan import rest
|
||||||
|
|
||||||
|
class VersionController(rest.RestController):
|
||||||
|
@pecan.expose('json')
|
||||||
|
def get(self):
|
||||||
|
return {"version":"2.0.0"}
|
Loading…
Reference in New Issue