Perhaps we should add a redirect from /api/getpid to `reverse("getpid")`.