Check Route Access Endpoint
Changed onFor 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 URLhttps://api.pavoot.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.pavoot.com/checkRouteAccess
- Authnone declared
Query parameters
pathstring required
Path e.g. /ProjectTitle/faces
projectIdstring nullable
Response
Successful Response
unknown required
Changes
- info
added the new optional
queryrequest parameterprojectId
- info