Get Upload Links Endpoint
Changed onUpload links for a project, scoped to what the caller is allowed to see.
Two capabilities (migration 028):
- settings.manage.uploadLinks -> every link in the project (the timetable / manager view)
- uploadLinks.viewAssigned -> ONLY the links assigned to them, read-only, plus the unassigned links marked "show to all photographers" (migration 084)
Before this, any project member got every link — so a photographer could see the whole shooting schedule and everyone else's tokens.
asPhotographerId (managers only): return exactly what that photographer's own call returns — the organizer's "Preview as photographer". Same SQL filter, so the preview cannot drift. The response also carries sort, the project-wide order both views apply.
get/getUploadLinks
Request
- Base URLhttps://api.pavoot.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.pavoot.com/getUploadLinks
- Authnone declared
Query parameters
projectIdinteger required
asPhotographerIdstring nullable
Response
Successful Response
unknown required
Changes
- info
added the new optional
queryrequest parameterasPhotographerId
- info