diff options
author | 2016-05-26 06:39:07 +0000 | |
---|---|---|
committer | 2016-05-26 06:39:07 +0000 | |
commit | 3cef8afd5bc5e894804d5e8d379e6c2acfbf54a3 (patch) | |
tree | b267c29927828d40e81c52e8d9313fffb299dd3a /result_collection_api/resources/handlers.py | |
parent | b140bd0f8055af4f1624a2c9a6291f7923003122 (diff) | |
parent | e6b2ed1749f5daad7a15a878df301e017a15d832 (diff) |
Merge "attach version number to url in testAPI"
Diffstat (limited to 'result_collection_api/resources/handlers.py')
-rw-r--r-- | result_collection_api/resources/handlers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/result_collection_api/resources/handlers.py b/result_collection_api/resources/handlers.py index 8cc68e9..4353343 100644 --- a/result_collection_api/resources/handlers.py +++ b/result_collection_api/resources/handlers.py @@ -73,10 +73,10 @@ class GenericApiHandler(RequestHandler): return CreateResponse(href=href).format() -class VersionHandler(RequestHandler): +class VersionHandler(GenericApiHandler): """ Display a message for the API version """ def get(self): - self.write("Collection of test result API, v1") + self.finish_request([{'v1': 'basics'}]) class PodHandler(GenericApiHandler): |