Portfolios
List portfolios with `GET /api/v1/portfolios`; attach media with `POST …/media` or `portfolio_id` on media create—create portfolios in the dashboard, not via API.
Photographers create portfolios in the dashboard. Clients list and attach only.
List portfolios
GET /api/v1/portfolios
Authorization: Bearer …
Requires portfolios:read. Response includes name and slug for picker UIs (Lightroom destination dropdown).
Get one portfolio
GET /api/v1/portfolios/{id}
Attach media
POST /api/v1/portfolios/{id}/media
Content-Type: application/json
{ "media_id": "…" }
Requires portfolios:write.
Alternatively, pass portfolio_id on POST /api/v1/media so upload + attach happen atomically (recommended for confidential portfolios).
v1 product rules
- No
POST /api/v1/portfolios(create) in v1 - Visibility and confidentiality are set in the dashboard — not Flickr-style per-photo privacy flags in the plugin
