Introduction
Routes and parameters can be found in our API docs:
https://godoc.org/github.com/photoprism/photoprism/internal/api
Examples¶
Basic¶
GET /api/v1/photos?count=10
With authentication¶
PhotoPrism uses X-Session-ID
HTTP header as authentication method:
curl -H "X-Session-ID: xyz" http://localhost:2342/api/v1/photos?count=10
xyz
by session_id
value of your active browser session, which can be found inside local storage.