app.rocksky.mirror.putMirrorSource

rocksky.app

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

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@