aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/api/router/mapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/api/router/mapper.py')
-rw-r--r--legacy/api/router/mapper.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/legacy/api/router/mapper.py b/legacy/api/router/mapper.py
new file mode 100644
index 00000000..8839f3f5
--- /dev/null
+++ b/legacy/api/router/mapper.py
@@ -0,0 +1,7 @@
+from legacy.api.handler import Job, JobList
+
+
+mappers = [
+ (JobList, '/api/v1.0/jobs'),
+ (Job, '/api/v1.0/jobs/<string:id>'),
+]