Browse Source

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
changes/88/133788/3
root 7 years ago
committed by Davanum Srinivas (dims)
parent
commit
b49297b831
  1. 8
      containers/api/controllers/v2.py

8
containers/api/controllers/v2.py

@ -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…
Cancel
Save