Move 3PU/3PL lookup APIs into /thirdparty containing entity

This commit is contained in:
Paul "LeoNerd" Evans 2016-08-24 11:55:57 +01:00
parent 3e86dcf1c0
commit 63c19e1df9
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
class ThirdPartyUserServlet(RestServlet):
PATTERNS = client_v2_patterns("/3pu(/(?P<protocol>[^/]+))?$",
PATTERNS = client_v2_patterns("/thirdparty/user(/(?P<protocol>[^/]+))?$",
releases=())
def __init__(self, hs):
@ -50,7 +50,7 @@ class ThirdPartyUserServlet(RestServlet):
class ThirdPartyLocationServlet(RestServlet):
PATTERNS = client_v2_patterns("/3pl(/(?P<protocol>[^/]+))?$",
PATTERNS = client_v2_patterns("/thirdparty/location(/(?P<protocol>[^/]+))?$",
releases=())
def __init__(self, hs):