sonda/web/src/api
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi f900a22904 feat(playlists): a user keeps playlists of tracks
Each user can make playlists: a name (1 to 200 characters), an optional
description and an ordered list of tracks, where a track may appear more than once
(each place has its own item id). The API makes, lists, renames and deletes
playlists, and adds tracks (at the end or at a position), lists them, moves one and
removes one; positions count from 0 without gaps.

A playlist is its owner's alone: somebody else's answers playlist_not_found (404),
as one that does not exist. A track whose files were deleted or moved stays in the
playlist and is listed with available false. Deleting a user deletes their
playlists. Limits: 1,000 playlists per user, 10,000 tracks per playlist, 500 tracks
per request.

Changes of one playlist are serialised by locking its row, so two requests at once
keep the positions unique on PostgreSQL too. Migration 0019, OpenAPI spec, contract
test, README and the web API types follow. The web app comes separately.

Closes #89
2026-11-12 16:55:25 +01:00
..
adminProviders.test.tsx feat(web): hooks for the external providers 2026-11-12 15:05:42 +01:00
adminProviders.ts feat(web): hooks for the external providers 2026-11-12 15:05:42 +01:00
catalog.test.tsx feat(web): search 2026-11-12 11:38:10 +01:00
catalog.ts feat(web): data hooks for Discover, the wishlist, dismissed artists, taste and own settings 2026-11-12 14:04:16 +01:00
client.test.ts Merge pull request 'feat(auth): accounts are identified by an email address' (#69) from feat/email-login into main 2026-11-12 14:41:32 +01:00
client.ts feat(web): lists in query values, request cancelling and Retry-After in the API client 2026-11-12 14:03:11 +01:00
discover.test.tsx fix(web): no photo lookups for artists you do not have, and stale suggestions after changes 2026-11-12 14:17:05 +01:00
discover.ts fix(web): no photo lookups for artists you do not have, and stale suggestions after changes 2026-11-12 14:17:05 +01:00
jobs.test.tsx feat(web): hooks for the bulk jobs (covers, artist pictures, descriptions) 2026-11-12 15:31:53 +01:00
jobs.ts feat(web): hooks for the bulk jobs (covers, artist pictures, descriptions) 2026-11-12 15:31:53 +01:00
libraries.test.tsx feat(web): hooks for libraries and scanning 2026-11-12 14:40:22 +01:00
libraries.ts feat(web): hooks for libraries and scanning 2026-11-12 14:40:22 +01:00
lidarr.test.tsx feat(web): hooks to read and send an artist to Lidarr 2026-11-12 14:28:17 +01:00
lidarr.ts feat(web): hooks to read and send an artist to Lidarr 2026-11-12 14:28:17 +01:00
listens.ts feat(web): home page 2026-11-12 11:39:56 +01:00
providers.ts feat(web): artists, albums and songs pages with provider data and attribution 2026-11-12 11:36:35 +01:00
schema.d.ts feat(playlists): a user keeps playlists of tracks 2026-11-12 16:55:25 +01:00
users.test.tsx feat(web): hooks for listing, creating, changing and deleting users 2026-11-12 14:55:26 +01:00
users.ts feat(web): hooks for listing, creating, changing and deleting users 2026-11-12 14:55:26 +01:00