Check Route Access Endpoint

Changed on

For middleware: returns { "allowed": true/false } for the current user and path. Used to gate /faces, /personalized-tags, /photographers, /recipients by permissions. Optional projectId pins the project (titles aren't unique); the title is the fallback.

get/checkRouteAccess

Request

  • Base URL
    https://api.pavoot.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.pavoot.com/checkRouteAccess
  • Auth
    none declared

Query parameters

pathstring required

Path e.g. /ProjectTitle/faces

projectIdstring nullable

Response

Successful Response

unknown required

Changes