Release 1.0.0

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-07-04 01:49:11 +03:00
1 parent dede07748a
commit 97dc183bdf
6 files changed
+77 -69

No files matched your search

+12
View File
@@ -112,6 +112,10 @@ namespace Echoion::Api
[[nodiscard]] Api::Result<std::vector<Playlist>>
getUserPlaylists(uint64_t userId);
// Get every playlist (used by the RPC GetPlaylists endpoint).
[[nodiscard]] Api::Result<std::vector<Playlist>>
getAllPlaylists();
// Update playlist
Api::Result<void> updatePlaylist(
uint64_t id,
@@ -185,6 +189,14 @@ namespace Echoion::Api
std::vector<std::pair<TrackInfo, uint64_t>>>
getMostPlayed(uint64_t userId, size_t limit = 10);
// ===== Key/value store =====
// Small persisted state (healthy instance lists, ...). Values
// are opaque strings (callers serialize as needed).
[[nodiscard]] Api::Result<std::optional<std::string>>
getKv(const std::string& key);
Api::Result<void> setKv(const std::string& key,
const std::string& value);
// ===== Subscriptions =====
// Subscriber info