diff options
Diffstat (limited to 'legacy/api/router')
-rw-r--r-- | legacy/api/router/__init__.py | 0 | ||||
-rw-r--r-- | legacy/api/router/mapper.py | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/legacy/api/router/__init__.py b/legacy/api/router/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/legacy/api/router/__init__.py 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>'), +] |