|
7 | 7 |
|
8 | 8 | #OPTIONS /*path @controllers.Application.options(path) |
9 | 9 | OPTIONS /*path api.ApiHelp.options(path) |
| 10 | + |
| 11 | +# operations are applied in this order, to prevent untrail from removing |
| 12 | +# the trailing / at the end of the /api/proxy calls it is placed before |
| 13 | +# the untrail call |
| 14 | +GET /api/proxy/:endpoint_key @api.Proxy.get(endpoint_key: String, pathSuffix: String = null) |
| 15 | +GET /api/proxy/:endpoint_key/ @api.Proxy.get(endpoint_key: String, pathSuffix: String = "") |
| 16 | +GET /api/proxy/:endpoint_key/*pathSuffix @api.Proxy.get(endpoint_key: String, pathSuffix: String) |
10 | 17 | GET /*path/ @controllers.Application.untrail(path: String) |
11 | 18 |
|
12 | 19 | # ---------------------------------------------------------------------- |
|
17 | 24 | GET /about @controllers.Application.about |
18 | 25 | GET /tos @controllers.Application.tos(redirect: Option[String] ?= None) |
19 | 26 | GET /email @controllers.Application.email(subject: String ?= "", body: String ?= "") |
| 27 | +GET /healthz @controllers.Application.healthz() |
20 | 28 |
|
21 | 29 | # ---------------------------------------------------------------------- |
22 | 30 | # Map static resources from the /public folder to the /assets URL path |
@@ -859,17 +867,14 @@ DELETE /api/standardvocab/:id |
859 | 867 | # PROXY API |
860 | 868 | # ---------------------------------------------------------------------- |
861 | 869 |
|
862 | | -GET /api/proxy/:endpoint_key @api.Proxy.get(endpoint_key: String, pathSuffix: String = null) |
863 | | -GET /api/proxy/:endpoint_key/ @api.Proxy.get(endpoint_key: String, pathSuffix: String = null) |
864 | | -GET /api/proxy/:endpoint_key/*pathSuffix @api.Proxy.get(endpoint_key: String, pathSuffix: String) |
865 | 870 | POST /api/proxy/:endpoint_key @api.Proxy.post(endpoint_key: String, pathSuffix: String = null) |
866 | | -POST /api/proxy/:endpoint_key/ @api.Proxy.post(endpoint_key: String, pathSuffix: String = null) |
| 871 | +POST /api/proxy/:endpoint_key/ @api.Proxy.post(endpoint_key: String, pathSuffix: String = "") |
867 | 872 | POST /api/proxy/:endpoint_key/*pathSuffix @api.Proxy.post(endpoint_key: String, pathSuffix: String) |
868 | 873 | PUT /api/proxy/:endpoint_key @api.Proxy.put(endpoint_key: String, pathSuffix: String = null) |
869 | | -PUT /api/proxy/:endpoint_key/ @api.Proxy.put(endpoint_key: String, pathSuffix: String = null) |
| 874 | +PUT /api/proxy/:endpoint_key/ @api.Proxy.put(endpoint_key: String, pathSuffix: String = "") |
870 | 875 | PUT /api/proxy/:endpoint_key/*pathSuffix @api.Proxy.put(endpoint_key: String, pathSuffix: String) |
871 | 876 | DELETE /api/proxy/:endpoint_key @api.Proxy.delete(endpoint_key: String, pathSuffix: String = null) |
872 | | -DELETE /api/proxy/:endpoint_key/ @api.Proxy.delete(endpoint_key: String, pathSuffix: String = null) |
| 877 | +DELETE /api/proxy/:endpoint_key/ @api.Proxy.delete(endpoint_key: String, pathSuffix: String = "") |
873 | 878 | DELETE /api/proxy/:endpoint_key/*pathSuffix @api.Proxy.delete(endpoint_key: String, pathSuffix: String) |
874 | 879 |
|
875 | 880 | # ---------------------------------------------------------------------- |
|
0 commit comments