def get(self):
LOG.debug("API CALL: %s GET" % str(self.__class__.__name__))
resp = dict()
resp['versions'] = dict()
versions = [{
"status": "CURRENT",
"id": "v2",
"links": [
{
"href": request.url_root + '/v2',
"rel": "self"
}
]
}]
resp['versions'] = versions
return Response(json.dumps(resp), status=200, mimetype='application/json')
评论列表
文章目录