Upsert a mirror source for the authenticated user. Toggling `enabled` notifies the mirror process over NATS so it can start/stop the per-user task without a restart.
Documentation Index
Fetch the complete documentation index at: https://docs.rocksky.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
One of: lastfm, listenbrainz, tealfm
Enable or disable mirroring for this provider.
External username (Last.fm / ListenBrainz). Required when enabling those providers. Ignored for Teal.fm.
API key / token to be encrypted at rest. Omit to leave the existing key unchanged. Pass an empty string to clear it.
Response
OK
One of: lastfm, listenbrainz, tealfm
Whether scrobbles from this source are being mirrored into Rocksky.
True when an API key is stored. Last.fm/ListenBrainz only; always false for Teal.fm.
Username on the external service (Last.fm / ListenBrainz). Null for Teal.fm.
The last time the mirror process successfully polled this source.
Watermark — scrobbles from the external service older than this are skipped.