app.rocksky.mirror.putMirrorSource

rocksky.app

{
  "id": "app.rocksky.mirror.putMirrorSource",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "provider"
          ],
          "properties": {
            "apiKey": {
              "type": "string",
              "description": "API key / token to be encrypted at rest. Omit to leave the existing key unchanged. Pass an empty string to clear it."
            },
            "enabled": {
              "type": "boolean",
              "description": "Enable or disable mirroring for this provider."
            },
            "provider": {
              "type": "string",
              "description": "One of: lastfm, listenbrainz, tealfm"
            },
            "externalUsername": {
              "type": "string",
              "description": "External username (Last.fm / ListenBrainz). Required when enabling those providers. Ignored for Teal.fm."
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "ref": "app.rocksky.mirror.defs#mirrorSourceView",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.rocksky.mirror.putMirrorSource

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:vegqomyce4ssoqs7zwqvgqty
CID
bafyreifayhn564l3dlxrerzo7nmdf2jevonopryelm7oym2r3t3dmwx7t4
Indexed At
2026-05-31 04:03 UTC
AT-URI
at://did:plc:vegqomyce4ssoqs7zwqvgqty/com.atproto.lexicon.schema/app.rocksky.mirror.putMirrorSource

Referenced Schemas (1)

Lexicon Garden

@