{
  "openapi": "3.1.1",
  "info": {
    "title": "nocturo connect API",
    "description": "Die API von nocturo connect: verbundene Creator-Accounts lesen und steuern. Anmeldung: Authorization: Bearer nc_… (API-Key aus dem Portal).",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.nocturo.io"
    }
  ],
  "paths": {
    "/v1/me": {
      "get": {
        "tags": [
          "v1"
        ],
        "summary": "API-Key prüfen",
        "description": "Der verwendete API-Key und wem er gehört.",
        "operationId": "GetMe",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeResponse"
                },
                "example": {
                  "keyId": "0193f1c2-0000-7000-8000-000000000301",
                  "keyName": "CRM Produktion",
                  "keyPrefix": "nc_7f3a9c2b_…",
                  "owner": "nova@example.com",
                  "createdAt": "2026-11-20T09:00:00Z",
                  "expiresAt": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/login-jobs/{jobId}": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Login-Status abfragen",
        "description": "Stand eines Logins oder einer Session-Erneuerung.",
        "operationId": "GetLoginJob",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginJobResponse"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000401",
                  "state": "running",
                  "startedAt": "2026-11-27T11:58:00Z",
                  "endedAt": null,
                  "accountId": null,
                  "error": null,
                  "log": [
                    "Browser gestartet",
                    "Login-Seite geladen",
                    "Anmeldedaten eingegeben"
                  ],
                  "phase": "otp",
                  "liveViewUrl": null
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Login abbrechen",
        "description": "Bricht einen laufenden Login ab.",
        "operationId": "CancelLogin",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/events": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "Ereignis-Stream (SSE)",
        "description": "Echtzeit-Ereignisse als Server-Sent Events. accountId: nur dieser Account; types: z. B. message.*,account.status_changed; raw=true: mit den Originaldaten der Plattform. Alle 15 s ein keepalive-Ereignis. Nach einem Abbruch mit dem Header Last-Event-ID neu verbinden: verpasste Ereignisse der letzten Stunde (höchstens 1000) kommen zuerst; liegt die ID weiter zurück, kommt stream.gap und der Rest über /v1/events/history.",
        "operationId": "StreamEvents",
        "parameters": [
          {
            "name": "accountId",
            "in": "query",
            "description": "Nur Ereignisse dieses Accounts (ID dieser API).",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "types",
            "in": "query",
            "description": "Kommagetrennte Ereignistypen, * als Platzhalter, z. B. message.*,account.status_changed.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/SseItemOfAccountEvent"
                }
              }
            }
          }
        }
      }
    },
    "/v1/events/history": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "Ereignis-Verlauf",
        "description": "Ereignisse der letzten 14 Tage, älteste zuerst; ältere liefert der Verlauf nie, auch nicht mit einem früheren since. Ohne since/after: die letzte Stunde. Weiter mit after = nextAfter. types, accountId, raw wie bei /events.",
        "operationId": "EventHistory",
        "parameters": [
          {
            "name": "since",
            "in": "query",
            "description": "Ereignisse ab diesem Zeitpunkt (ISO 8601). Ohne since und after: die letzte Stunde.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "after",
            "in": "query",
            "description": "nextAfter der vorigen Seite: die Ereignisse danach.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "accountId",
            "in": "query",
            "description": "Nur Ereignisse dieses Accounts (ID dieser API).",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "types",
            "in": "query",
            "description": "Kommagetrennte Ereignistypen, * als Platzhalter, z. B. message.*,account.status_changed.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Ereignisse pro Seite, 1–500, Standard 100.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventHistory"
                },
                "example": {
                  "items": [
                    {
                      "id": "0193f1c2-0000-7000-8000-000000000201",
                      "type": "message.received",
                      "accountId": "0193f1c2-6b1e-7c55-9d3a-5a0e8f1b2c3d",
                      "platform": "onlyfans",
                      "platformUserId": "900000001",
                      "username": "novademo",
                      "at": "2026-11-27T11:42:00Z",
                      "chatId": 900000101,
                      "data": {
                        "message": {
                          "id": 900000201,
                          "createdAt": "2026-11-27T11:42:00Z",
                          "fromUserId": 900000101,
                          "fromMe": false,
                          "text": "Hey, wie war dein Wochenende?",
                          "price": null,
                          "isTip": false,
                          "tipAmount": null,
                          "mediaCount": 0,
                          "media": [ ]
                        },
                        "from": {
                          "id": 900000101,
                          "username": "demo_fan_1",
                          "name": "Demo Fan",
                          "isSubscriber": true
                        },
                        "to": null
                      },
                      "raw": null
                    }
                  ],
                  "hasMore": false,
                  "nextAfter": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/exports": {
      "post": {
        "tags": [
          "exports"
        ],
        "summary": "Export starten",
        "description": "Startet einen CSV-Export im Hintergrund (liest bei der Plattform nur, ändert nichts). Danach GET /v1/exports/{id} abfragen, bis state = done, dann downloadUrl laden. Höchstens 5 gleichzeitig wartende Exporte.",
        "operationId": "CreateExport",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateExport"
              },
              "example": {
                "kind": "transactions",
                "accountIds": [
                  "0193f1c2-6b1e-7c55-9d3a-5a0e8f1b2c3d"
                ],
                "from": "2026-11-27",
                "to": "2026-11-27",
                "maxChats": 3,
                "maxMessages": 3,
                "skipMassMessages": true,
                "fanIds": [
                  900000001
                ],
                "maxFans": 3
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportResponse"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000001",
                  "kind": "Beispiel",
                  "state": "queued",
                  "progress": "Beispiel",
                  "rows": 3,
                  "error": null,
                  "accountIds": [
                    "0193f1c2-6b1e-7c55-9d3a-5a0e8f1b2c3d"
                  ],
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "createdAt": "2026-11-27T12:00:00Z",
                  "finishedAt": "2026-11-27T12:00:00Z",
                  "sizeBytes": 2457600,
                  "downloadUrl": "https://cdn.example.com/demo/900000301.jpg"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "exports"
        ],
        "summary": "Exporte auflisten",
        "description": "Die letzten 100 Exporte der Organisation, neueste zuerst; Dateien bleiben 30 Tage.",
        "operationId": "ListExports",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExportResponse"
                  }
                },
                "example": [
                  {
                    "id": "0193f1c2-0000-7000-8000-000000000002",
                    "kind": "Beispiel",
                    "state": "queued",
                    "progress": "Beispiel",
                    "rows": 3,
                    "error": null,
                    "accountIds": [
                      "0193f1c2-6b1e-7c55-9d3a-5a0e8f1b2c3d"
                    ],
                    "from": "2026-11-27",
                    "to": "2026-11-27",
                    "createdAt": "2026-11-27T12:00:00Z",
                    "finishedAt": "2026-11-27T12:00:00Z",
                    "sizeBytes": 2457600,
                    "downloadUrl": "https://cdn.example.com/demo/900000301.jpg"
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/exports/{exportId}": {
      "get": {
        "tags": [
          "exports"
        ],
        "summary": "Export-Status",
        "description": "Stand eines Exports: state, progress, rows; bei done die downloadUrl.",
        "operationId": "GetExport",
        "parameters": [
          {
            "name": "exportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportResponse"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000003",
                  "kind": "Beispiel",
                  "state": "queued",
                  "progress": "Beispiel",
                  "rows": 3,
                  "error": null,
                  "accountIds": [
                    "0193f1c2-6b1e-7c55-9d3a-5a0e8f1b2c3d"
                  ],
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "createdAt": "2026-11-27T12:00:00Z",
                  "finishedAt": "2026-11-27T12:00:00Z",
                  "sizeBytes": 2457600,
                  "downloadUrl": "https://cdn.example.com/demo/900000301.jpg"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "exports"
        ],
        "summary": "Export abbrechen oder löschen",
        "description": "Bricht einen laufenden Export ab bzw. löscht einen fertigen.",
        "operationId": "DeleteExport",
        "parameters": [
          {
            "name": "exportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportCancelled"
                },
                "example": {
                  "cancelledOrDeleted": "0193f1c2-0000-7000-8000-000000000004"
                }
              }
            }
          }
        }
      }
    },
    "/v1/exports/{exportId}/download": {
      "get": {
        "tags": [
          "exports"
        ],
        "summary": "Export herunterladen",
        "description": "Die CSV-Datei (UTF-8 mit BOM, Komma, Zeiten in UTC).",
        "operationId": "DownloadExport",
        "parameters": [
          {
            "name": "exportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/csv": {
                "schema": {
                  "$ref": "#/components/schemas/Stream"
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Account verbinden",
        "description": "Startet den Login eines neuen Accounts im Browser (Browserbase). Antwort 202 mit dem Login-Job; mit GET /v1/login-jobs/{jobId} verfolgen. Bei phase = otp den 2FA-Code mit POST /v1/login-jobs/{jobId}/otp schicken, bei challenge die liveViewUrl öffnen. Der neue Account startet mit Schreib-Freigabe aus. Ein an ein Team gebundener Key legt ihn in sein Team.",
        "operationId": "ConnectAccount",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConnectRequest"
              },
              "example": {
                "email": "nova@example.com",
                "password": "Beispiel",
                "totpSecret": "Beispiel",
                "proxyUrl": "https://cdn.example.com/demo/900000301.jpg",
                "poolProxyId": "0193f1c2-0000-7000-8000-000000000005",
                "teamId": "0193f1c2-0000-7000-8000-000000000006",
                "label": "Hauptaccount"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginJobResponse"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000401",
                  "state": "running",
                  "startedAt": "2026-11-27T11:58:00Z",
                  "endedAt": null,
                  "accountId": null,
                  "error": null,
                  "log": [
                    "Browser gestartet",
                    "Login-Seite geladen",
                    "Anmeldedaten eingegeben"
                  ],
                  "phase": "otp",
                  "liveViewUrl": null
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Accounts auflisten",
        "description": "Verbundene Accounts mit Session-Status, älteste zuerst, seitenweise. Filter platform, platformUserId und status lassen sich kombinieren. Weiter mit after = nextAfter, solange hasMore true ist.",
        "operationId": "ListAccounts",
        "parameters": [
          {
            "name": "platform",
            "in": "query",
            "description": "Nur Accounts dieser Plattform, z. B. onlyfans.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "platformUserId",
            "in": "query",
            "description": "Nur den Account mit dieser ID auf der Plattform (genauer Vergleich).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Nur Accounts mit diesem Status: connected, needs_reauth, suspended oder banned.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Accounts pro Seite, 1–500, Standard 100.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "after",
            "in": "query",
            "description": "nextAfter der vorigen Seite: die Accounts danach.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPage"
                },
                "example": {
                  "items": [
                    {
                      "id": "0193f1c2-6b1e-7c55-9d3a-5a0e8f1b2c3d",
                      "platformUserId": "900000001",
                      "username": "novademo",
                      "displayName": "Nova Demo",
                      "status": "connected",
                      "statusMessage": null,
                      "proxy": "proxy.example.net:8000",
                      "sessionCapturedAt": "2026-11-20T09:15:00Z",
                      "lastCheckedAt": "2026-11-27T11:58:00Z",
                      "writes": "allowlist",
                      "build": "2026.11.18-demo",
                      "observedBuild": "2026.11.18-demo",
                      "buildBehind": false,
                      "rulesVerifiedAt": "2026-11-27T11:58:00Z",
                      "rulesSource": "Login",
                      "label": "Hauptaccount",
                      "writeAllowlist": [
                        900000101
                      ],
                      "vaultCarrierChatId": 900000101,
                      "vaultCarrierPrice": 10,
                      "postsAllowed": false,
                      "platform": "onlyfans",
                      "lastError": null,
                      "lastErrorAt": null
                    }
                  ],
                  "hasMore": false,
                  "nextAfter": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/reconnect": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Account neu einloggen",
        "description": "Neue Session für einen bestehenden Account (z. B. nach needs_reauth), über seinen gespeicherten Proxy. Ablauf wie beim Verbinden.",
        "operationId": "ReconnectAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReconnectRequest"
              },
              "example": {
                "email": "nova@example.com",
                "password": "Beispiel",
                "totpSecret": "Beispiel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginJobResponse"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000401",
                  "state": "running",
                  "startedAt": "2026-11-27T11:58:00Z",
                  "endedAt": null,
                  "accountId": null,
                  "error": null,
                  "log": [
                    "Browser gestartet",
                    "Login-Seite geladen",
                    "Anmeldedaten eingegeben"
                  ],
                  "phase": "otp",
                  "liveViewUrl": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}": {
      "patch": {
        "tags": [
          "accounts"
        ],
        "summary": "Account ändern",
        "description": "Anzeigename, Schreib-Freigabe (off, allowlist mit writeAllowlist, all), Proxy, Vault-Träger-Chat und Posts-Freigabe eines Accounts. Nur angegebene Felder ändern sich. Die Schreib-Freigabe ändert nur ein Key mit vollen Rechten, weil sie Nachrichten an echte Fans erlaubt.",
        "operationId": "UpdateAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountChange"
              },
              "example": {
                "label": "Hauptaccount",
                "writePolicy": "off",
                "writeAllowlist": [
                  900000002
                ],
                "proxyUrl": "https://cdn.example.com/demo/900000301.jpg",
                "vaultCarrierChatId": 900000003,
                "vaultCarrierPrice": 9.99,
                "postsAllowed": true
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                },
                "example": {
                  "id": "0193f1c2-6b1e-7c55-9d3a-5a0e8f1b2c3d",
                  "platformUserId": "900000001",
                  "username": "novademo",
                  "displayName": "Nova Demo",
                  "status": "connected",
                  "statusMessage": null,
                  "proxy": "proxy.example.net:8000",
                  "sessionCapturedAt": "2026-11-20T09:15:00Z",
                  "lastCheckedAt": "2026-11-27T11:58:00Z",
                  "writes": "allowlist",
                  "build": "2026.11.18-demo",
                  "observedBuild": "2026.11.18-demo",
                  "buildBehind": false,
                  "rulesVerifiedAt": "2026-11-27T11:58:00Z",
                  "rulesSource": "Login",
                  "label": "Hauptaccount",
                  "writeAllowlist": [
                    900000101
                  ],
                  "vaultCarrierChatId": 900000101,
                  "vaultCarrierPrice": 10,
                  "postsAllowed": false,
                  "platform": "onlyfans",
                  "lastError": null,
                  "lastErrorAt": null
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Account entfernen",
        "description": "Entfernt den Account aus der Organisation und löscht die gespeicherte Session, sofort und endgültig (nur mit confirm=true). Ebenso sofort gelöscht: alle gespeicherten Ereignisse des Accounts mit Fan-Bezug (Nachrichten, Tips, Abos, Likes, Tippen, Rohdaten), deren Webhook-Zustellungen und alle Exporte mit dem Account. Keine Abmeldung bei der Plattform. Ohne confirm=true: 400 confirm_required; unbekannte oder schon entfernte ID: 404 not_found; Key ohne volle Rechte: 403 insufficient_permission. Neu verbunden bekommt der Account eine neue ID.",
        "operationId": "DeleteAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "description": "Muss true sein: entfernt den Account samt gespeicherter Session.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Account abrufen",
        "description": "Ein Account mit Session-Status.",
        "operationId": "GetAccount",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                },
                "example": {
                  "id": "0193f1c2-6b1e-7c55-9d3a-5a0e8f1b2c3d",
                  "platformUserId": "900000001",
                  "username": "novademo",
                  "displayName": "Nova Demo",
                  "status": "connected",
                  "statusMessage": null,
                  "proxy": "proxy.example.net:8000",
                  "sessionCapturedAt": "2026-11-20T09:15:00Z",
                  "lastCheckedAt": "2026-11-27T11:58:00Z",
                  "writes": "allowlist",
                  "build": "2026.11.18-demo",
                  "observedBuild": "2026.11.18-demo",
                  "buildBehind": false,
                  "rulesVerifiedAt": "2026-11-27T11:58:00Z",
                  "rulesSource": "Login",
                  "label": "Hauptaccount",
                  "writeAllowlist": [
                    900000101
                  ],
                  "vaultCarrierChatId": 900000101,
                  "vaultCarrierPrice": 10,
                  "postsAllowed": false,
                  "platform": "onlyfans",
                  "lastError": null,
                  "lastErrorAt": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/login-jobs/{jobId}/otp": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "2FA-Code für einen Login",
        "description": "Schickt den 2FA-Code an einen laufenden Login (phase = otp).",
        "operationId": "SubmitLoginOtp",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OtpRequest"
              },
              "example": {
                "code": "demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginJobResponse"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000401",
                  "state": "running",
                  "startedAt": "2026-11-27T11:58:00Z",
                  "endedAt": null,
                  "accountId": null,
                  "error": null,
                  "log": [
                    "Browser gestartet",
                    "Login-Seite geladen",
                    "Anmeldedaten eingegeben"
                  ],
                  "phase": "otp",
                  "liveViewUrl": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/me": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Profil bei der Plattform",
        "description": "Das Profil des Accounts, wie die Plattform es liefert, ohne Session- und persönliche Geheimnisse. Aktualisiert den Session-Status.",
        "operationId": "GetAccountMe",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/chats": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Chats auflisten",
        "description": "Chatliste, neueste zuerst, mit Fan-Daten und letzter Nachricht. filter: unread, pinned, priority. Weiterblättern mit offset = nextOffset. raw=true liefert die Originalantwort der Plattform.",
        "operationId": "ListChats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Nur diese Chats: unread, pinned oder priority.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Chats pro Seite, 1–20, Standard 20. Größere Werte werden auf 20 gekürzt.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatPage"
                },
                "example": {
                  "items": [
                    {
                      "chatId": 900000101,
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "unreadCount": 1,
                      "hasUnreadTips": false,
                      "isMuted": false,
                      "canSendMessage": true,
                      "cannotSendReason": null,
                      "pinnedMessages": 0,
                      "lastReadMessageId": 900000200,
                      "lastMessage": {
                        "id": 900000201,
                        "createdAt": "2026-11-27T11:42:00Z",
                        "fromUserId": 900000101,
                        "fromMe": false,
                        "text": "Hey, wie war dein Wochenende?",
                        "mediaCount": 0,
                        "price": null,
                        "isOpened": true,
                        "isTip": false,
                        "tipAmount": null
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/unread": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Ungelesene Chats",
        "description": "Alle ungelesenen Chats auf einmal (blättert intern, höchstens max, Standard 200). Markiert nichts als gelesen.",
        "operationId": "ListUnreadChats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "max",
            "in": "query",
            "description": "Höchstens so viele Chats (blättert intern), 1–1000, Standard 200.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnreadChats"
                },
                "example": {
                  "items": [
                    {
                      "chatId": 900000101,
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "unreadCount": 1,
                      "hasUnreadTips": false,
                      "isMuted": false,
                      "canSendMessage": true,
                      "cannotSendReason": null,
                      "pinnedMessages": 0,
                      "lastReadMessageId": 900000200,
                      "lastMessage": {
                        "id": 900000201,
                        "createdAt": "2026-11-27T11:42:00Z",
                        "fromUserId": 900000101,
                        "fromMe": false,
                        "text": "Hey, wie war dein Wochenende?",
                        "mediaCount": 0,
                        "price": null,
                        "isOpened": true,
                        "isTip": false,
                        "tipAmount": null
                      }
                    }
                  ],
                  "unreadMessages": 3,
                  "truncated": false
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/messages": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Nachrichten abrufen",
        "description": "Nachrichten eines Chats (chatId = Fan-ID), neueste zuerst. Markiert den Chat NICHT als gelesen. Ältere Seiten mit beforeId = nextBeforeId. raw=true liefert die Originalantwort der Plattform.",
        "operationId": "ListMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Nachrichten pro Seite, 1–100, Standard 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "beforeId",
            "in": "query",
            "description": "nextBeforeId der vorigen Seite: ältere Nachrichten laden.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessagePage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000202,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "changedAt": null,
                      "fromUserId": 900000001,
                      "fromMe": true,
                      "text": "Ruhig, danke! Hier ein Foto vom Sonntag.",
                      "html": "<p>Ruhig, danke! Hier ein Foto vom Sonntag.</p>",
                      "lockedText": false,
                      "price": 9.99,
                      "canPurchase": false,
                      "isOpened": false,
                      "isNew": false,
                      "isTip": false,
                      "tipAmount": null,
                      "tipText": null,
                      "isFromQueue": false,
                      "queueId": null,
                      "isPinned": false,
                      "isLiked": false,
                      "giphyId": null,
                      "mediaCount": 1,
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ],
                      "previewMediaIds": [ ]
                    }
                  ],
                  "hasMore": false,
                  "nextBeforeId": null
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Nachricht senden",
        "description": "Nachricht an einen Chat (chatId = Fan-ID) senden: Text, Vault-Medien (mediaIds), PPV mit price > 0, previewMediaIds als freie Vorschau, lockedText sperrt den Text mit, taggedUserIds markiert Mitwirkende (GET …/release-forms/taggable-users) an den Medien. Geht sofort raus und ist für den Fan sichtbar. Nur wenn die Schreib-Freigabe des Accounts den Chat erlaubt.",
        "operationId": "SendMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessageRequest"
              },
              "example": {
                "text": "Ruhig, danke! Hier ein Foto vom Sonntag.",
                "replyToMessageId": null,
                "mediaIds": [
                  900000301
                ],
                "price": 9.99,
                "previewMediaIds": [ ],
                "lockedText": false
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Message"
                },
                "example": {
                  "id": 900000202,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "changedAt": null,
                  "fromUserId": 900000001,
                  "fromMe": true,
                  "text": "Ruhig, danke! Hier ein Foto vom Sonntag.",
                  "html": "<p>Ruhig, danke! Hier ein Foto vom Sonntag.</p>",
                  "lockedText": false,
                  "price": 9.99,
                  "canPurchase": false,
                  "isOpened": false,
                  "isNew": false,
                  "isTip": false,
                  "tipAmount": null,
                  "tipText": null,
                  "isFromQueue": false,
                  "queueId": null,
                  "isPinned": false,
                  "isLiked": false,
                  "giphyId": null,
                  "mediaCount": 1,
                  "media": [
                    {
                      "id": 900000301,
                      "type": "photo",
                      "canView": true,
                      "isReady": true,
                      "durationSeconds": null,
                      "width": 1080,
                      "height": 1350,
                      "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                      "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                      "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                    }
                  ],
                  "previewMediaIds": [ ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/read": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Chat als gelesen markieren",
        "description": "Chat als gelesen markieren. Schreib-Freigabe nötig.",
        "operationId": "MarkChatRead",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Chat als ungelesen markieren",
        "description": "Chat wieder als ungelesen markieren. Schreib-Freigabe nötig.",
        "operationId": "MarkChatUnread",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/read-all": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Alle Chats als gelesen markieren",
        "description": "Markiert alle Chats des Accounts als gelesen. Fans sehen davon nichts; braucht eine eingeschaltete Schreib-Freigabe.",
        "operationId": "MarkAllChatsRead",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/mute": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Chat stummschalten",
        "description": "Keine Benachrichtigungen mehr für diesen Chat. Fans sehen davon nichts. Schreib-Freigabe für den Chat nötig.",
        "operationId": "MuteChat",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Chat wieder laut schalten",
        "description": "Benachrichtigungen für diesen Chat wieder an. Fans sehen davon nichts. Schreib-Freigabe für den Chat nötig.",
        "operationId": "UnmuteChat",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/hide": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Chat ausblenden",
        "description": "Nimmt den Chat aus der Inbox; der Fan kann weiter schreiben, dann taucht er wieder auf. Fans sehen davon nichts. Schreib-Freigabe für den Chat nötig.",
        "operationId": "HideChat",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Chat zurückholen",
        "description": "Holt einen ausgeblendeten Chat zurück in die Inbox. Fans sehen davon nichts. Schreib-Freigabe für den Chat nötig.",
        "operationId": "UnhideChat",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}": {
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Chat löschen",
        "description": "Löscht den Verlauf auf Creator-Seite und nimmt den Chat aus der Inbox. Nicht umkehrbar, daher nur mit confirm=true. Beim Fan bleibt der Verlauf. Schreib-Freigabe für den Chat nötig.",
        "operationId": "DeleteChat",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "description": "Muss true sein: Löschen ist nicht umkehrbar.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/media": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Medien eines Chats",
        "description": "Fotos, Videos und Audios aus Nachrichten dieses Chats (beide Richtungen), neueste zuerst, im Format der Plattform. type: photos, videos, audios; weiter mit lastId = nextLastId.",
        "operationId": "ListChatMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Nur photos, videos oder audios; leer = alle.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Einträge pro Seite, 1–50, Standard 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "lastId",
            "in": "query",
            "description": "nextLastId der vorigen Seite: ältere Medien laden.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/messages/pinned": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Angepinnte Nachrichten",
        "description": "Alle angepinnten Nachrichten des Chats, neueste zuerst. Markiert den Chat nicht als gelesen.",
        "operationId": "ListPinnedMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessagePage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000202,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "changedAt": null,
                      "fromUserId": 900000001,
                      "fromMe": true,
                      "text": "Ruhig, danke! Hier ein Foto vom Sonntag.",
                      "html": "<p>Ruhig, danke! Hier ein Foto vom Sonntag.</p>",
                      "lockedText": false,
                      "price": 9.99,
                      "canPurchase": false,
                      "isOpened": false,
                      "isNew": false,
                      "isTip": false,
                      "tipAmount": null,
                      "tipText": null,
                      "isFromQueue": false,
                      "queueId": null,
                      "isPinned": false,
                      "isLiked": false,
                      "giphyId": null,
                      "mediaCount": 1,
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ],
                      "previewMediaIds": [ ]
                    }
                  ],
                  "hasMore": false,
                  "nextBeforeId": null
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Alle Nachrichten lösen",
        "description": "Löst alle angepinnten Nachrichten des Chats. Schreib-Freigabe für den Chat nötig.",
        "operationId": "UnpinAllMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/messages/search": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Nachrichten im Chat suchen",
        "description": "Volltextsuche in einem Chat. Liefert die IDs der Treffer, neueste zuerst; einzelne Nachricht mit GET …/messages/{messageId}.",
        "operationId": "SearchMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "query",
            "in": "query",
            "description": "Suchbegriff (Volltext in den Nachrichten des Chats).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResult"
                },
                "example": {
                  "messageIds": [
                    900000004
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/messages/{messageId}": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "Einzelne Nachricht",
        "description": "Eine Nachricht des Chats per ID. Markiert den Chat nicht als gelesen.",
        "operationId": "GetMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Message"
                },
                "example": {
                  "id": 900000202,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "changedAt": null,
                  "fromUserId": 900000001,
                  "fromMe": true,
                  "text": "Ruhig, danke! Hier ein Foto vom Sonntag.",
                  "html": "<p>Ruhig, danke! Hier ein Foto vom Sonntag.</p>",
                  "lockedText": false,
                  "price": 9.99,
                  "canPurchase": false,
                  "isOpened": false,
                  "isNew": false,
                  "isTip": false,
                  "tipAmount": null,
                  "tipText": null,
                  "isFromQueue": false,
                  "queueId": null,
                  "isPinned": false,
                  "isLiked": false,
                  "giphyId": null,
                  "mediaCount": 1,
                  "media": [
                    {
                      "id": 900000301,
                      "type": "photo",
                      "canView": true,
                      "isReady": true,
                      "durationSeconds": null,
                      "width": 1080,
                      "height": 1350,
                      "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                      "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                      "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                    }
                  ],
                  "previewMediaIds": [ ]
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Nachricht zurückziehen",
        "description": "Zieht eine gesendete Nachricht beim Fan zurück; nur eigene Nachrichten und nur innerhalb der Frist der Plattform. Nicht umkehrbar. Massennachrichten bei allen Empfängern: DELETE …/mass-messages/{queueId}. Schreib-Freigabe für den Chat nötig.",
        "operationId": "UnsendMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/messages/{messageId}/like": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Nachricht liken",
        "description": "Herz auf eine Nachricht des Fans (eigene Nachrichten lassen sich nicht liken). Der Fan sieht es. Schreib-Freigabe für den Chat nötig.",
        "operationId": "LikeMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Like zurücknehmen",
        "description": "Nimmt das Herz von einer Nachricht zurück. Schreib-Freigabe für den Chat nötig.",
        "operationId": "UnlikeMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/messages/{messageId}/pin": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Nachricht anpinnen",
        "description": "Heftet die Nachricht oben im Chat an. Ist sie schon angepinnt, passiert nichts; ein zweiter Aufruf löst sie nicht. Schreib-Freigabe für den Chat nötig.",
        "operationId": "PinMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "summary": "Nachricht lösen",
        "description": "Löst eine angepinnte Nachricht. Ist sie nicht angepinnt, passiert nichts. Schreib-Freigabe für den Chat nötig.",
        "operationId": "UnpinMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "messageId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/chats/{chatId}/typing": {
      "post": {
        "tags": [
          "accounts"
        ],
        "summary": "Tippen-Anzeige senden",
        "description": "Zeigt dem Fan „schreibt gerade …“. Die Anzeige verschwindet nach wenigen Sekunden; solange getippt wird, alle 2–3 s wiederholen. Geht über die Echtzeit-Verbindung des Accounts. Schreib-Freigabe für den Chat nötig.",
        "operationId": "SendTyping",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "chatId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/gifs": {
      "get": {
        "tags": [
          "accounts"
        ],
        "summary": "GIFs suchen",
        "description": "GIFs über die Giphy-Anbindung der Plattform: ohne query die Trends, sonst Suche. Antwort im Giphy-Format; die id kommt beim Senden als giphyId mit.",
        "operationId": "SearchGifs",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "query",
            "in": "query",
            "description": "Suchbegriff; leer = aktuelle Trends.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "GIFs pro Seite, 1–50, Standard 10.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/fans/{userId}/note": {
      "get": {
        "tags": [
          "fans"
        ],
        "summary": "Notiz eines Fans lesen",
        "description": "Private Notiz und eigener Anzeigename des Accounts für diesen Fan.",
        "operationId": "GetFanNote",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanNote"
                },
                "example": {
                  "userId": 900000005,
                  "note": "Danke fürs Abo!",
                  "displayName": "Nova Demo"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "fans"
        ],
        "summary": "Notiz eines Fans löschen",
        "description": "Löscht die private Notiz (der Anzeigename bleibt; den mit PUT …/fans/{userId} und displayName \"\" löschen).",
        "operationId": "DeleteFanNote",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/fans/{userId}/subscription-history": {
      "get": {
        "tags": [
          "fans"
        ],
        "summary": "Abo-Verlauf eines Fans",
        "description": "Alle Abo-Zeiträume des Fans bei diesem Account, älteste zuerst. Bei einem laufenden Abo liegt expiresAt in der Zukunft (bei kostenlosen Abos bis zu 10 Jahre).",
        "operationId": "GetFanSubscriptionHistory",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubscriptionPeriod"
                  }
                },
                "example": [
                  {
                    "subscribedAt": "2026-11-27T12:00:00Z",
                    "expiresAt": null,
                    "price": 9.99
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/users/batch": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Nutzer nach IDs",
        "description": "Bis zu 50 Profile auf einmal (ids, durch Komma getrennt), aus Sicht dieses Accounts. Unbekannte IDs fehlen in der Antwort.",
        "operationId": "GetUsersByIds",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "description": "1 bis 50 numerische Nutzer-IDs, durch Komma getrennt.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChatUser"
                  }
                },
                "example": [
                  {
                    "id": 900000101,
                    "username": "demo_fan_1",
                    "name": "Demo Fan",
                    "displayName": "Demo Fan (VIP)",
                    "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                    "isVerified": false,
                    "isCreator": false,
                    "isSubscriber": true,
                    "subscriptionExpired": false,
                    "subscribedFor": "3 months",
                    "isFollowing": false,
                    "lastSeen": "2026-11-27T11:40:00Z",
                    "isBlocked": false,
                    "isRestricted": false,
                    "lists": [
                      {
                        "id": "900000501",
                        "name": "VIP",
                        "type": "custom"
                      }
                    ],
                    "note": "Mag Fotos aus dem Urlaub."
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/users/{userId}/block": {
      "post": {
        "tags": [
          "users"
        ],
        "summary": "Nutzer blockieren",
        "description": "Der Nutzer kann nicht mehr schreiben, der Chat wird ausgeblendet. Folgt der Account diesem Nutzer, endet das Folgen; Entblocken stellt es nicht wieder her (erneut mit POST …/following/{userId}). Für den Fan spürbar. Schreib-Freigabe für diesen Nutzer nötig.",
        "operationId": "BlockUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "users"
        ],
        "summary": "Blockierung aufheben",
        "description": "Macht es rückgängig. Schreib-Freigabe für diesen Nutzer nötig.",
        "operationId": "UnblockUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/users/{userId}/restrict": {
      "post": {
        "tags": [
          "users"
        ],
        "summary": "Nutzer einschränken",
        "description": "Blendet die öffentlichen Inhalte des Nutzers für den Account aus; der Chat bleibt. Schreib-Freigabe für diesen Nutzer nötig.",
        "operationId": "RestrictUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "users"
        ],
        "summary": "Einschränkung aufheben",
        "description": "Macht es rückgängig. Schreib-Freigabe für diesen Nutzer nötig.",
        "operationId": "UnrestrictUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/users/blocked": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Blockierte Nutzer",
        "description": "Blockierte Nutzer dieses Accounts. Seiten können kürzer als limit sein; weiter mit offset = nextOffset, bis hasMore false ist. Vereinzelt doppelte Einträge möglich (nach id zusammenfassen).",
        "operationId": "ListBlockedUsers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Einträge pro Seite, 1–50, Standard 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000101,
                      "username": "demo_fan_1",
                      "name": "Demo Fan",
                      "displayName": "Demo Fan (VIP)",
                      "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                      "isVerified": false,
                      "isCreator": false,
                      "isSubscriber": true,
                      "subscriptionExpired": false,
                      "subscribedFor": "3 months",
                      "isFollowing": false,
                      "lastSeen": "2026-11-27T11:40:00Z",
                      "isBlocked": false,
                      "isRestricted": false,
                      "lists": [
                        {
                          "id": "900000501",
                          "name": "VIP",
                          "type": "custom"
                        }
                      ],
                      "note": "Mag Fotos aus dem Urlaub."
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/users/restricted": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Eingeschränkte Nutzer",
        "description": "Eingeschränkte Nutzer dieses Accounts, die ganze Liste auf einmal.",
        "operationId": "ListRestrictedUsers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Einträge pro Seite, 1–50, Standard 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000101,
                      "username": "demo_fan_1",
                      "name": "Demo Fan",
                      "displayName": "Demo Fan (VIP)",
                      "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                      "isVerified": false,
                      "isCreator": false,
                      "isSubscriber": true,
                      "subscriptionExpired": false,
                      "subscribedFor": "3 months",
                      "isFollowing": false,
                      "lastSeen": "2026-11-27T11:40:00Z",
                      "isBlocked": false,
                      "isRestricted": false,
                      "lists": [
                        {
                          "id": "900000501",
                          "name": "VIP",
                          "type": "custom"
                        }
                      ],
                      "note": "Mag Fotos aus dem Urlaub."
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/following/{userId}": {
      "post": {
        "tags": [
          "fans"
        ],
        "summary": "Creator folgen",
        "description": "Folgt (abonniert) einem kostenlosen Profil; der andere Creator sieht das. Kostenpflichtige Profile lehnt die API mit 422 paid_subscription ab. Schreib-Freigabe für diesen Nutzer nötig.",
        "operationId": "FollowUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "fans"
        ],
        "summary": "Creator entfolgen",
        "description": "Beendet das Folgen/Abo. Schreib-Freigabe für diesen Nutzer nötig.",
        "operationId": "UnfollowUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/lists/{listId}": {
      "get": {
        "tags": [
          "lists"
        ],
        "summary": "Liste abrufen",
        "description": "Eine Liste mit Name, Typ und Anzahl Mitglieder (eigene mit numerischer ID, Listen der Plattform mit Wort-ID).",
        "operationId": "GetFanList",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanList"
                },
                "example": {
                  "id": "900000002",
                  "type": "photo",
                  "name": "Nova Demo",
                  "usersCount": 3
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "lists"
        ],
        "summary": "Liste umbenennen",
        "description": "Eigene Liste umbenennen (name). Listen der Plattform lassen sich nicht ändern. Schreib-Freigabe nötig.",
        "operationId": "RenameFanList",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListName"
              },
              "example": {
                "name": "Nova Demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanList"
                },
                "example": {
                  "id": "900000002",
                  "type": "photo",
                  "name": "Nova Demo",
                  "usersCount": 3
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "lists"
        ],
        "summary": "Liste löschen",
        "description": "Eigene Liste löschen (endgültig; die Fans bleiben Fans).",
        "operationId": "DeleteFanList",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/lists/{listId}/members": {
      "post": {
        "tags": [
          "lists"
        ],
        "summary": "Mehrere zur Liste hinzufügen",
        "description": "Bis zu 500 Fans in einem Aufruf zu einer eigenen Liste hinzufügen; missing nennt die, die die Plattform nicht aufgenommen hat.",
        "operationId": "AddFanListMembers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserIdsBody"
              },
              "example": {
                "userIds": [
                  900000006
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAddResult"
                },
                "example": {
                  "added": [
                    3
                  ],
                  "missing": [
                    3
                  ]
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "lists"
        ],
        "summary": "Mehrere aus der Liste entfernen",
        "description": "Entfernt die genannten Fans (userIds, bis 100) aus einer eigenen Liste, oder mit all=true&confirm=true alle (Liste leeren).",
        "operationId": "RemoveFanListMembers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userIds",
            "in": "query",
            "description": "Fan-IDs, durch Komma getrennt (1 bis 100).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "all",
            "in": "query",
            "description": "true: alle Mitglieder entfernen (Liste leeren); braucht confirm=true.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "description": "Muss true sein, wenn all=true.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListRemoveResult"
                },
                "example": {
                  "removed": [
                    3
                  ],
                  "failed": [
                    3
                  ]
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "lists"
        ],
        "summary": "Listenmitglieder",
        "description": "User-IDs der Mitglieder einer Liste (blättert intern, höchstens max, Standard 500).",
        "operationId": "ListFanListMembers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "max",
            "in": "query",
            "description": "Höchstens so viele Mitglieder (blättert intern), 1–10000, Standard 500.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListMembers"
                },
                "example": {
                  "listId": "900000002",
                  "userIds": [
                    900000007
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/lists/{listId}/pinned": {
      "get": {
        "tags": [
          "lists"
        ],
        "summary": "Angepinnte Mitglieder",
        "description": "Die angepinnten Mitglieder einer Liste (stehen in der Liste oben).",
        "operationId": "ListPinnedFanListMembers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChatUser"
                  }
                },
                "example": [
                  {
                    "id": 900000101,
                    "username": "demo_fan_1",
                    "name": "Demo Fan",
                    "displayName": "Demo Fan (VIP)",
                    "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                    "isVerified": false,
                    "isCreator": false,
                    "isSubscriber": true,
                    "subscriptionExpired": false,
                    "subscribedFor": "3 months",
                    "isFollowing": false,
                    "lastSeen": "2026-11-27T11:40:00Z",
                    "isBlocked": false,
                    "isRestricted": false,
                    "lists": [
                      {
                        "id": "900000501",
                        "name": "VIP",
                        "type": "custom"
                      }
                    ],
                    "note": "Mag Fotos aus dem Urlaub."
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/lists/{listId}/members/{userId}/pin": {
      "put": {
        "tags": [
          "lists"
        ],
        "summary": "Mitglied anpinnen",
        "description": "Pinnt ein Mitglied einer eigenen Liste an; schon angepinnt → keine Änderung. Für den Fan nicht sichtbar.",
        "operationId": "PinFanListMember",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "lists"
        ],
        "summary": "Mitglied lösen",
        "description": "Löst ein angepinntes Mitglied; nicht angepinnt → keine Änderung.",
        "operationId": "UnpinFanListMember",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/users/{user}": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Nutzerprofil abrufen",
        "description": "Profil eines Nutzers per ID oder Username, aus Sicht dieses Accounts (Abo-Status, Listen, …).",
        "operationId": "GetUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "user",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatUser"
                },
                "example": {
                  "id": 900000101,
                  "username": "demo_fan_1",
                  "name": "Demo Fan",
                  "displayName": "Demo Fan (VIP)",
                  "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                  "isVerified": false,
                  "isCreator": false,
                  "isSubscriber": true,
                  "subscriptionExpired": false,
                  "subscribedFor": "3 months",
                  "isFollowing": false,
                  "lastSeen": "2026-11-27T11:40:00Z",
                  "isBlocked": false,
                  "isRestricted": false,
                  "lists": [
                    {
                      "id": "900000501",
                      "name": "VIP",
                      "type": "custom"
                    }
                  ],
                  "note": "Mag Fotos aus dem Urlaub."
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/lists": {
      "get": {
        "tags": [
          "lists"
        ],
        "summary": "Listen auflisten",
        "description": "Fan-Listen des Accounts (eigene mit numerischer ID, Listen der Plattform mit Wort-ID).",
        "operationId": "ListFanLists",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Listen pro Seite, 1–100, Standard 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanListPage"
                },
                "example": {
                  "items": [
                    {
                      "id": "900000002",
                      "type": "photo",
                      "name": "Nova Demo",
                      "usersCount": 3
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "lists"
        ],
        "summary": "Liste anlegen",
        "description": "Eigene Fan-Liste anlegen (name). Die numerische id nutzt du für Mitglieder und Massennachrichten. Schreib-Freigabe nötig.",
        "operationId": "CreateFanList",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListName"
              },
              "example": {
                "name": "Nova Demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanList"
                },
                "example": {
                  "id": "900000002",
                  "type": "photo",
                  "name": "Nova Demo",
                  "usersCount": 3
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/mass-messages": {
      "post": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Massennachricht senden",
        "description": "Massennachricht an userIds und/oder listIds (eigene Listen; Systemlisten wie fans nur bei Freigabe „alle“), optional excludedListIds/excludedUserIds, PPV, Medien, uploadRefs, scheduledAt zum Planen, taggedUserIds markiert Mitwirkende (Creator aus GET …/release-forms/taggable-users) an den Medien. dryRun=true prüft nur die Empfänger. Fortschritt per Ereignis mass_message.progress/finished. Höchstens alle 10 s je Account.",
        "operationId": "SendMassMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "dryRun",
            "in": "query",
            "description": "true: nur Empfänger und Schreib-Freigabe prüfen, nichts senden.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MassMessageRequest"
              },
              "example": {
                "text": "Danke fürs Abo!",
                "userIds": [
                  900000008
                ],
                "listIds": [
                  "900000002"
                ],
                "excludedListIds": [
                  "900000002"
                ],
                "excludedUserIds": [
                  900000009
                ],
                "mediaIds": [
                  900000010
                ],
                "uploadRefs": [
                  "Beispiel"
                ],
                "price": 9.99,
                "previewMediaIds": [
                  900000011
                ],
                "lockedText": false,
                "scheduledAt": "2026-11-27T12:00:00Z",
                "taggedUserIds": [
                  900000012
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/QueueEntry"
                    },
                    {
                      "$ref": "#/components/schemas/MassDryRun"
                    }
                  ]
                },
                "example": {
                  "id": 900000013,
                  "date": "2026-11-27T12:00:00Z",
                  "isReady": true,
                  "isDone": true,
                  "total": 3,
                  "pending": 3,
                  "canUnsend": true,
                  "unsendSeconds": 42,
                  "hasError": null,
                  "isCanceled": false
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Gesendete Massennachrichten",
        "description": "Gesendete Massennachrichten im Zeitraum (Standard: letzte 7 Tage) mit sentCount/viewedCount. id = Queue-ID zum Zurückziehen.",
        "operationId": "ListSentMassMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag, JJJJ-MM-TT (UTC). Standard: vor 7 Tagen.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Einträge pro Seite, 1–100, Standard 50.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MassMessageSent"
                  }
                },
                "example": [
                  {
                    "id": 900000014,
                    "date": "2026-11-27T12:00:00Z",
                    "text": "Danke fürs Abo!",
                    "mediaCount": 3,
                    "sentCount": 3,
                    "viewedCount": 3,
                    "isCanceled": false,
                    "canUnsend": true
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/mass-messages/scheduled": {
      "get": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Geplante Nachrichten",
        "description": "Geplante, noch nicht gesendete Nachrichten der nächsten days Tage (Standard 7, höchstens 31), aus dem Planungskalender der Plattform. queueId zum Stornieren.",
        "operationId": "ListScheduledMassMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "days",
            "in": "query",
            "description": "So viele Tage ab heute, 1–31, Standard 7.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduledMessage"
                  }
                },
                "example": [
                  {
                    "queueId": 900000015,
                    "scheduledAt": "2026-11-27T12:00:00Z",
                    "text": "Danke fürs Abo!",
                    "mediaCount": 3,
                    "price": 9.99,
                    "lockedText": false,
                    "scheduleId": 900000016
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/schedules": {
      "get": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Planungskalender",
        "description": "Der Planungskalender der Plattform (geplante Posts und Nachrichten) im Zeitraum, im Format der Plattform. Standard: heute + 7 Tage, UTC.",
        "operationId": "ListSchedules",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag, JJJJ-MM-TT (UTC). Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag, JJJJ-MM-TT (UTC). Standard: heute + 7 Tage.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/mass-messages/{queueId}": {
      "delete": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Massennachricht stornieren/zurückziehen",
        "description": "Geplante Nachricht stornieren, oder eine gesendete Massennachricht bei ALLEN Empfängern zurückziehen (Queue-ID).",
        "operationId": "DeleteMassMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "queueId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "get": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Geplante Massennachricht abrufen",
        "description": "Eine geplante oder für später gespeicherte Massennachricht mit Text, Medien, Preis, Termin und Empfängern (userIds, Listen).",
        "operationId": "GetQueuedMassMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "queueId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedMessage"
                },
                "example": {
                  "queueId": 900000017,
                  "text": "Danke fürs Abo!",
                  "price": 9.99,
                  "lockedText": false,
                  "mediaIds": [
                    900000018
                  ],
                  "previewMediaIds": [
                    900000019
                  ],
                  "scheduledAt": "2026-11-27T12:00:00Z",
                  "userIds": [
                    900000020
                  ],
                  "listIds": [
                    "900000002"
                  ],
                  "excludedListIds": [
                    "900000002"
                  ],
                  "taggedUserIds": [
                    900000021
                  ]
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Geplante Massennachricht ändern",
        "description": "Ändert Text, Termin (scheduledAt; saveForLater=true nimmt den Termin weg), Preis Medien oder markierte Mitwirkende (taggedUserIds, [] entfernt alle) einer geplanten Massennachricht; Empfänger bleiben. Empfänger müssen in der Schreib-Freigabe stehen.",
        "operationId": "EditQueuedMassMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "queueId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditQueued"
              },
              "example": {
                "text": "Danke fürs Abo!",
                "scheduledAt": "2026-11-27T12:00:00Z",
                "saveForLater": false,
                "price": 9.99,
                "mediaIds": [
                  900000022
                ],
                "taggedUserIds": [
                  900000023
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueuedMessage"
                },
                "example": {
                  "queueId": 900000024,
                  "text": "Danke fürs Abo!",
                  "price": 9.99,
                  "lockedText": false,
                  "mediaIds": [
                    900000025
                  ],
                  "previewMediaIds": [
                    900000026
                  ],
                  "scheduledAt": "2026-11-27T12:00:00Z",
                  "userIds": [
                    900000027
                  ],
                  "listIds": [
                    "900000002"
                  ],
                  "excludedListIds": [
                    "900000002"
                  ],
                  "taggedUserIds": [
                    900000028
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/mass-messages/overview": {
      "get": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Massennachrichten-Übersicht",
        "description": "Gesendete Massennachrichten im Zeitraum (Standard: letzte 30 Tage), neueste zuerst: gesendet, gesehen, Öffnungsrate, Preis, Käufe, Umsatz (Preis × Käufe, vor dem Anteil der Plattform), dazu Summen ohne zurückgezogene. Höchstens limit (100, bis 500); ältere mit before = nextBefore.",
        "operationId": "GetMassMessageOverview",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "before",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MassOverview"
                },
                "example": {
                  "from": "2026-11-27T12:00:00Z",
                  "to": "2026-11-27T12:00:00Z",
                  "totals": {
                    "messages": 3,
                    "sent": 3,
                    "viewed": 3,
                    "viewRate": 0.12,
                    "paidMessages": 3,
                    "purchases": 3,
                    "revenue": 9.99
                  },
                  "items": [
                    {
                      "id": 900000029,
                      "date": "2026-11-27T12:00:00Z",
                      "text": "Danke fürs Abo!",
                      "mediaCount": 3,
                      "price": 9.99,
                      "sent": 3,
                      "viewed": 3,
                      "viewRate": 0.12,
                      "purchases": 3,
                      "revenue": 9.99,
                      "isCanceled": false,
                      "canUnsend": true
                    }
                  ],
                  "nextBefore": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/schedules/counts": {
      "get": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Geplantes je Tag",
        "description": "Anzahl geplanter Posts und Nachrichten je Tag (Standard: heute + 7 Tage; Tage in timeZone, Standard UTC).",
        "operationId": "GetScheduleCounts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "timeZone",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DayCount"
                  }
                },
                "example": [
                  {
                    "day": "2026-11-27",
                    "posts": 3,
                    "messages": 3
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/schedules/{scheduleId}/publish": {
      "post": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Jetzt senden",
        "description": "Sendet eine geplante Nachricht bzw. veröffentlicht einen geplanten Post sofort (scheduleId aus GET …/mass-messages/scheduled oder …/schedules, confirm=true). Empfänger bzw. Posts-Freigabe werden geprüft.",
        "operationId": "PublishScheduleNow",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/payouts/eligibility": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Auszahlung möglich?",
        "description": "Ob der Account eine Auszahlung anfordern kann; sonst der Grund (z. B. Verifizierung) und ob die Bankdaten erneuert werden müssen.",
        "operationId": "GetPayoutEligibility",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutEligibility"
                },
                "example": {
                  "canRequestPayout": true,
                  "notVerifiedReason": null,
                  "needsBankingUpdate": true
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/payouts/requests": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Auszahlungen",
        "description": "Bisherige Auszahlungen, neueste zuerst: Rechnungs-ID, Datum, Betrag, Status, Ablehnungsgrund. referral=true: Auszahlungen aus Empfehlungen. Ältere mit offset = nextOffset.",
        "operationId": "ListPayoutRequests",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "referral",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutRequestPage"
                },
                "example": {
                  "items": [
                    {
                      "id": "900000002",
                      "createdAt": "2026-11-27T12:00:00Z",
                      "amount": 9.99,
                      "currency": "USD",
                      "state": "delivered",
                      "rejectReason": null
                    }
                  ],
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/payouts/earning-statistics": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Einnahmen je Zeitraum",
        "description": "Einnahmen netto und brutto je Tag, Woche (ab Montag) oder Monat (by), mit Aufteilung nach Art (subscriptions, tips, messages, posts, streams, referrals). Standard: letzte 30 Tage, je Tag. Nur Zeiträume mit Einnahmen.",
        "operationId": "GetEarningStatistics",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "by",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EarningStatistics"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "by": "Beispiel",
                  "net": 9.99,
                  "gross": 9.99,
                  "periods": [
                    {
                      "start": "2026-11-27",
                      "net": 9.99,
                      "gross": 9.99,
                      "categories": [
                        {
                          "category": "subscriptions",
                          "net": 9.99,
                          "gross": 9.99,
                          "daysWithIncome": 3
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/fans": {
      "get": {
        "tags": [
          "fans"
        ],
        "summary": "Fans auflisten",
        "description": "Fans (Abonnenten), zuletzt aktive zuerst. type: active, expired, all; online: nur online/offline; minSpent: mindestens so viele USD ausgegeben. Je Fan Abo-Daten und Umsätze. Höchstens 20 je Seite.",
        "operationId": "ListFans",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "active (Standard), expired oder all.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "online",
            "in": "query",
            "description": "true: nur Fans, die gerade online sind; false: nur offline.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "minSpent",
            "in": "query",
            "description": "Nur Fans, die insgesamt mindestens so viele USD ausgegeben haben.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Fans pro Seite, höchstens 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanPage"
                },
                "example": {
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "subscription": {
                        "subscribeAt": "2026-11-27T12:00:00Z",
                        "expiredAt": "2026-11-27T12:00:00Z",
                        "expired": false,
                        "price": 9.99,
                        "durationDays": 30,
                        "totalSpent": 9.99,
                        "subscriptionsSpent": 9.99,
                        "messagesSpent": 9.99,
                        "postsSpent": 9.99,
                        "streamsSpent": 9.99,
                        "tipsSpent": 9.99
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/following": {
      "get": {
        "tags": [
          "fans"
        ],
        "summary": "Abonnierte Creator",
        "description": "Creator, die dieser Account abonniert hat.",
        "operationId": "ListFollowing",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "active (Standard), expired oder all.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Einträge pro Seite, höchstens 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanPage"
                },
                "example": {
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "subscription": {
                        "subscribeAt": "2026-11-27T12:00:00Z",
                        "expiredAt": "2026-11-27T12:00:00Z",
                        "expired": false,
                        "price": 9.99,
                        "durationDays": 30,
                        "totalSpent": 9.99,
                        "subscriptionsSpent": 9.99,
                        "messagesSpent": 9.99,
                        "postsSpent": 9.99,
                        "streamsSpent": 9.99,
                        "tipsSpent": 9.99
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/users": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Nutzer suchen",
        "description": "Sucht Nutzer wie das Suchfeld der Plattform.",
        "operationId": "SearchUsers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "search",
            "in": "query",
            "description": "Suchbegriff: Name oder vollständiger Username.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Treffer pro Seite, 1–50, Standard 10.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanPage"
                },
                "example": {
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "subscription": {
                        "subscribeAt": "2026-11-27T12:00:00Z",
                        "expiredAt": "2026-11-27T12:00:00Z",
                        "expired": false,
                        "price": 9.99,
                        "durationDays": 30,
                        "totalSpent": 9.99,
                        "subscriptionsSpent": 9.99,
                        "messagesSpent": 9.99,
                        "postsSpent": 9.99,
                        "streamsSpent": 9.99,
                        "tipsSpent": 9.99
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/fans/{userId}": {
      "put": {
        "tags": [
          "fans"
        ],
        "summary": "Notiz/Anzeigename setzen",
        "description": "Private Notiz (note) und/oder eigenen Anzeigenamen (displayName) eines Fans setzen; \"\" löscht. Für den Fan nicht sichtbar. Lesen mit GET …/fans/{userId}/note.",
        "operationId": "UpdateFan",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FanUpdate"
              },
              "example": {
                "note": "Danke fürs Abo!",
                "displayName": "Nova Demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/lists/{listId}/members/{userId}": {
      "post": {
        "tags": [
          "lists"
        ],
        "summary": "Fan zur Liste hinzufügen",
        "description": "Fan zu einer eigenen Liste hinzufügen (422 platform_rejected: nicht mehr im Publikum).",
        "operationId": "AddFanListMember",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "lists"
        ],
        "summary": "Fan aus Liste entfernen",
        "description": "Fan aus einer eigenen Liste entfernen.",
        "operationId": "RemoveFanListMember",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/earnings": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Umsätze",
        "description": "Umsätze im Zeitraum (from/to als Datum, UTC; Standard: letzte 30 Tage) je Kategorie total, subscriptions, tips, messages, posts, streams, referrals: netto, brutto, Verkäufe, Tageswerte. Beträge in USD nach dem Anteil der Plattform.",
        "operationId": "GetEarnings",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EarningsSummary"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "categories": {
                    "total": {
                      "net": 9.99,
                      "gross": 9.99,
                      "delta": 12.5,
                      "sales": 3,
                      "netPerDay": [
                        {
                          "day": "2026-11-27",
                          "value": 9.99
                        }
                      ],
                      "salesPerDay": [
                        {
                          "day": "2026-11-27",
                          "value": 9.99
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/transactions": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Transaktionen",
        "description": "Einzelne Einnahmen, neueste zuerst: Betrag, netto, Gebühr, MwSt., Art, Fan. type: tips, subscriptions, messages, posts, streams; since: ab diesem Tag (UTC); weiter mit marker = nextMarker (nicht offset).",
        "operationId": "ListTransactions",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Nur diese Art: tips, subscriptions, messages, posts oder streams.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "description": "Nur Einnahmen ab diesem Tag, JJJJ-MM-TT (UTC).",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "marker",
            "in": "query",
            "description": "nextMarker der vorigen Seite, für die nächste (ältere) Seite.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Einträge pro Seite, 1–100, Standard 50.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionPage"
                },
                "example": {
                  "items": [
                    {
                      "id": "900000002",
                      "createdAt": "2026-11-27T12:00:00Z",
                      "type": "photo",
                      "amount": 9.99,
                      "net": 9.99,
                      "fee": 9.99,
                      "vat": 9.99,
                      "tax": 9.99,
                      "currency": "USD",
                      "status": "connected",
                      "description": "Beispiel",
                      "user": {
                        "id": 900000030,
                        "username": "novademo",
                        "name": "Nova Demo"
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextMarker": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/payouts/balance": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Auszahlbares Guthaben",
        "description": "Auszahlbares und ausstehendes Guthaben, Auszahlungsrhythmus. Auszahlungen anfordern bietet die API bewusst nicht an.",
        "operationId": "GetPayoutBalance",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutBalance"
                },
                "example": {
                  "available": 9.99,
                  "pending": 9.99,
                  "currency": "USD",
                  "minPayout": 9.99,
                  "maxPayout": 9.99,
                  "withdrawalPeriod": "Beispiel",
                  "manualPayoutPendingDays": 30
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/chargebacks": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Chargebacks",
        "description": "Chargebacks im Zeitraum (Standard 30 Tage). Weiter mit marker = nextMarker, solange hasMore.",
        "operationId": "ListChargebacks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag, JJJJ-MM-TT (UTC). Standard: vor 30 Tagen.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "marker",
            "in": "query",
            "description": "nextMarker der vorigen Seite, für die nächste (ältere) Seite.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargebackPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000031,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "paymentAt": "2026-11-27T12:00:00Z",
                      "amount": 9.99,
                      "fee": 9.99,
                      "net": 9.99,
                      "description": "Beispiel"
                    }
                  ],
                  "hasMore": false,
                  "nextMarker": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/fans/top": {
      "get": {
        "tags": [
          "fans"
        ],
        "summary": "Top-Fans",
        "description": "Top-Fans im Zeitraum nach Umsatz (by: total, subscribes, tips, messages, post, streams), mit Umsätzen je Art.",
        "operationId": "ListTopFans",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "by",
            "in": "query",
            "description": "Sortierung nach Umsatz: total (Standard), subscribes, tips, messages, post oder streams.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanPage"
                },
                "example": {
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "subscription": {
                        "subscribeAt": "2026-11-27T12:00:00Z",
                        "expiredAt": "2026-11-27T12:00:00Z",
                        "expired": false,
                        "price": 9.99,
                        "durationDays": 30,
                        "totalSpent": 9.99,
                        "subscriptionsSpent": 9.99,
                        "messagesSpent": 9.99,
                        "postsSpent": 9.99,
                        "streamsSpent": 9.99,
                        "tipsSpent": 9.99
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/subscribers": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Abonnenten-Statistik",
        "description": "Neue Abonnenten je Tag (inkl. kostenloser) und Umsatz neuer zahlender Abos je Tag; total und delta, wie die Plattform sie meldet.",
        "operationId": "GetSubscriberStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscribersStats"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "newPerDay": [
                    {
                      "day": "2026-11-27",
                      "value": 9.99
                    }
                  ],
                  "earningsPerDay": [
                    {
                      "day": "2026-11-27",
                      "value": 9.99
                    }
                  ],
                  "newSubscribers": 9.99,
                  "earningsTotal": 9.99,
                  "delta": 12.5
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/messages": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Nachrichten-Statistik",
        "description": "Direkt- und Massennachrichten wie auf der Statistikseite der Plattform: Anzahl gesendeter Nachrichten (gratis und bezahlt; eine Massennachricht zählt einmal) und Netto-Umsatz aus Käufen (nach Kaufdatum), je Tag bis ~31 Tage, darüber je Monat; delta in % zum Vorzeitraum. Ohne from: letzte 30 Tage; für alles from weit zurück setzen (bis 5 Jahre).",
        "operationId": "GetMessageStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag, JJJJ-MM-TT (UTC). Standard: vor 29 Tagen; für alles weit zurück setzen (bis 5 Jahre).",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageStats"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "direct": {
                    "sent": 3,
                    "net": 9.99,
                    "sentDelta": 12.5,
                    "netDelta": 12.5,
                    "sentPerPoint": [
                      {
                        "day": "2026-11-27",
                        "value": 9.99
                      }
                    ],
                    "netPerPoint": [
                      {
                        "day": "2026-11-27",
                        "value": 9.99
                      }
                    ]
                  },
                  "mass": {
                    "sent": 3,
                    "net": 9.99,
                    "sentDelta": 12.5,
                    "netDelta": 12.5,
                    "sentPerPoint": [
                      {
                        "day": "2026-11-27",
                        "value": 9.99
                      }
                    ],
                    "netPerPoint": [
                      {
                        "day": "2026-11-27",
                        "value": 9.99
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/top-message": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Top-Nachricht",
        "description": "Die Nachricht mit den meisten Käufen im Zeitraum (direkt oder Massennachricht): Text, Preis, Käufe, Brutto-Umsatz (Preis × Käufe), Medienanzahl, bei Masse gesendet/gesehen. 404, wenn im Zeitraum nichts gekauft wurde.",
        "operationId": "GetTopMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag, JJJJ-MM-TT (UTC). Standard: vor 29 Tagen; bis 5 Jahre zurück.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopMessage"
                },
                "example": {
                  "id": 900000032,
                  "date": "2026-11-27T12:00:00Z",
                  "text": "Danke fürs Abo!",
                  "isMass": true,
                  "messageId": 900000033,
                  "toUserId": 900000034,
                  "price": 9.99,
                  "purchases": 3,
                  "grossRevenue": 9.99,
                  "mediaCount": 3,
                  "sentCount": 3,
                  "viewedCount": 3
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/tracking-links/{linkId}/share": {
      "put": {
        "tags": [
          "links"
        ],
        "summary": "Tracking-Link teilen",
        "description": "Teilt den Link mit einem anderen Nutzer der Plattform; er sieht dann die Klicks des Links. Ein Link lässt sich mit einem Nutzer teilen. Nutzer muss in der Schreib-Freigabe stehen.",
        "operationId": "ShareTrackingLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareBody"
              },
              "example": {
                "userId": 900000035
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "delete": {
        "tags": [
          "links"
        ],
        "summary": "Teilen aufheben",
        "description": "Nimmt dem Nutzer den Einblick in den Link wieder. Nutzer muss in der Schreib-Freigabe stehen.",
        "operationId": "UnshareTrackingLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShareBody"
              },
              "example": {
                "userId": 900000036
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Tracking-Links auflisten",
        "description": "Tracking-Links des Accounts mit Klicks und Abonnenten (gesamte Laufzeit), neueste zuerst, auch gelöschte (isDeleted). Weiter mit offset = nextOffset.",
        "operationId": "ListTrackingLinks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Links pro Seite, 1–100, Standard 50.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackingLinkPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000037,
                      "code": 3,
                      "name": "Nova Demo",
                      "url": "https://example.com/demo",
                      "clicks": 3,
                      "subscribers": 3,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "endDate": null,
                      "isDeleted": false
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "links"
        ],
        "summary": "Tracking-Link anlegen",
        "description": "Neuer Tracking-Link mit Namen; die Plattform vergibt den Code. Braucht Schreib-Freigabe des Accounts.",
        "operationId": "CreateTrackingLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTrackingLink"
              },
              "example": {
                "name": "Nova Demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrackingLink"
                },
                "example": {
                  "id": 900000038,
                  "code": 3,
                  "name": "Nova Demo",
                  "url": "https://example.com/demo",
                  "clicks": 3,
                  "subscribers": 3,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "endDate": null,
                  "isDeleted": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/{linkId}": {
      "delete": {
        "tags": [
          "links"
        ],
        "summary": "Tracking-Link löschen",
        "description": "Löscht den Link bei der Plattform; er zählt danach nicht mehr. Braucht Schreib-Freigabe.",
        "operationId": "DeleteTrackingLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkDeleted"
                },
                "example": {
                  "deleted": 3
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Tracking-Link abrufen",
        "description": "Ein Tracking-Link mit Klicks und Abonnenten (gesamte Laufzeit), geteilt mit, Tags.",
        "operationId": "GetTrackingLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoredLink"
                },
                "example": {
                  "id": 900000039,
                  "kind": "tracking",
                  "name": "Nova Demo",
                  "url": "https://example.com/demo",
                  "clicks": 3,
                  "subscribers": 3,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "endsAt": "2026-11-27T12:00:00Z",
                  "isClosed": true,
                  "sharedWith": {
                    "id": 900000040,
                    "username": "novademo"
                  },
                  "tags": [
                    "Beispiel"
                  ],
                  "firstSeenAt": "2026-11-27T12:00:00Z",
                  "lastSeenAt": "2026-11-27T12:00:00Z",
                  "goneAt": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/{linkId}/subscribers": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Abonnenten eines Tracking-Links",
        "description": "Fans, die über den Link abonniert haben, mit Abo-Status. Ohne Ausgaben (siehe …/revenue).",
        "operationId": "ListTrackingLinkSubscribers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Abonnenten pro Seite, 1–50, Standard 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkSubscriberPage"
                },
                "example": {
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "isActive": true,
                      "expiresAt": null,
                      "price": 9.99
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/{linkId}/revenue": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Umsatz eines Tracking-Links berechnen",
        "description": "Summiert die Ausgaben der Fans, die über den Link kamen (je Fan ein Profil-Abruf, höchstens 100; das dauert entsprechend). Ändert nichts bei der Plattform; das Ergebnis wird gespeichert und im Portal angezeigt.",
        "operationId": "ComputeTrackingLinkRevenue",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkRevenue"
                },
                "example": {
                  "linkId": 900000041,
                  "revenue": 9.99,
                  "subscribers": 3,
                  "payingSubscribers": 3,
                  "truncated": false,
                  "computedAt": "2026-11-27T12:00:00Z"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/stats": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Klicks und Abos je Tag",
        "description": "Alle Tracking-Links zusammen: Klicks (clicks) und Abos (subscribers) je Tag; Standard letzte 30 Tage.",
        "operationId": "TrackingLinkStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkChart"
                },
                "example": {
                  "clicks": [
                    {
                      "day": "2026-11-27",
                      "count": 3
                    }
                  ],
                  "subscribers": [
                    {
                      "day": "2026-11-27",
                      "count": 3
                    }
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/trial-links": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Trial-Links auflisten",
        "description": "Kostenlose Probe-Abos: Laufzeit, Kontingent, Einlösungen, Klicks, Ablauf. Nur bei kostenpflichtigen Accounts.",
        "operationId": "ListTrialLinks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Links pro Seite, 1–100, Standard 50.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrialLinkPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000042,
                      "name": "Nova Demo",
                      "url": "https://example.com/demo",
                      "freeDays": 30,
                      "maxClaims": 3,
                      "claims": 3,
                      "clicks": 3,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "expiresAt": null,
                      "isFinished": false
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "links"
        ],
        "summary": "Trial-Link anlegen",
        "description": "Neuer Link für ein kostenloses Probe-Abo (freeDays), optional mit Kontingent (maxClaims) und Ablauf (expireDays). Braucht Schreib-Freigabe.",
        "operationId": "CreateTrialLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTrialLink"
              },
              "example": {
                "name": "Nova Demo",
                "freeDays": 30,
                "maxClaims": 3,
                "expireDays": 30
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrialLink"
                },
                "example": {
                  "id": 900000043,
                  "name": "Nova Demo",
                  "url": "https://example.com/demo",
                  "freeDays": 30,
                  "maxClaims": 3,
                  "claims": 3,
                  "clicks": 3,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "expiresAt": null,
                  "isFinished": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/trial-links/{linkId}": {
      "delete": {
        "tags": [
          "links"
        ],
        "summary": "Trial-Link löschen",
        "description": "Löscht den Link; bereits eingelöste Probe-Abos laufen weiter. Braucht Schreib-Freigabe.",
        "operationId": "DeleteTrialLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkDeleted"
                },
                "example": {
                  "deleted": 3
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Trial-Link abrufen",
        "description": "Ein Free-Trial-Link mit Klicks, Einlösungen (subscribers), Ablauf und Status.",
        "operationId": "GetTrialLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoredLink"
                },
                "example": {
                  "id": 900000044,
                  "kind": "tracking",
                  "name": "Nova Demo",
                  "url": "https://example.com/demo",
                  "clicks": 3,
                  "subscribers": 3,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "endsAt": "2026-11-27T12:00:00Z",
                  "isClosed": true,
                  "sharedWith": {
                    "id": 900000045,
                    "username": "novademo"
                  },
                  "tags": [
                    "Beispiel"
                  ],
                  "firstSeenAt": "2026-11-27T12:00:00Z",
                  "lastSeenAt": "2026-11-27T12:00:00Z",
                  "goneAt": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/trial-links/stats": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Trial-Einlösungen je Tag",
        "description": "Alle Trial-Links zusammen: angebotene (clicks = offers) und eingelöste Probe-Abos (subscribers = claims) je Tag.",
        "operationId": "TrialLinkStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkChart"
                },
                "example": {
                  "clicks": [
                    {
                      "day": "2026-11-27",
                      "count": 3
                    }
                  ],
                  "subscribers": [
                    {
                      "day": "2026-11-27",
                      "count": 3
                    }
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/shared-with-me": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Mit mir geteilte Tracking-Links",
        "description": "Tracking-Links, die andere Creator mit diesem Account geteilt haben, mit Klicks und Abonnenten.",
        "operationId": "ListTrackingLinksSharedWithMe",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SharedWithMePage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000046,
                      "name": "Nova Demo",
                      "url": "https://example.com/demo",
                      "clicks": 3,
                      "subscribers": 3,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isDeleted": false,
                      "owner": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/{linkId}/stats": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Kennzahlen eines Tracking-Links",
        "description": "Klicks, Abonnenten, Konversionsrate und (zuletzt berechneter) Umsatz je Abonnent. Alle Zahlen gelten für die ganze Laufzeit. Umsatz neu berechnen: GET …/revenue.",
        "operationId": "GetTrackingLinkStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkStats"
                },
                "example": {
                  "linkId": 900000047,
                  "clicks": 3,
                  "subscribers": 3,
                  "conversionRate": 0.12,
                  "revenue": 9.99,
                  "payingSubscribers": 3,
                  "revenuePerSubscriber": 9.99,
                  "revenueComputedAt": "2026-11-27T12:00:00Z"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/{linkId}/spenders": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Zahlende Fans eines Tracking-Links",
        "description": "Fans, die über den Link kamen und Geld ausgegeben haben, sortiert nach Ausgaben. Ein Abruf bei der Plattform je Fan: max begrenzt (Standard 20, höchstens 100) und dauert entsprechend.",
        "operationId": "ListTrackingLinkSpenders",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "max",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpenderPage"
                },
                "example": {
                  "linkId": 900000048,
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "spent": 9.99,
                      "subscriptions": 9.99,
                      "messages": 9.99,
                      "tips": 9.99,
                      "posts": 9.99,
                      "subscribedAt": "2026-11-27T12:00:00Z",
                      "expired": false
                    }
                  ],
                  "lookedUp": 3,
                  "truncated": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/{linkId}/cohort-arps": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Umsatz je Abo-Monat (ARPS)",
        "description": "Fans des Links nach dem Monat ihres Abo-Beginns gruppiert, mit Umsatz und Durchschnittsumsatz je Abonnent (ARPS). Ein Abruf bei der Plattform je Fan (max, Standard und höchstens 100).",
        "operationId": "GetTrackingLinkCohorts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "max",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CohortReport"
                },
                "example": {
                  "linkId": 900000049,
                  "cohorts": [
                    {
                      "month": "Beispiel",
                      "subscribers": 3,
                      "paying": 3,
                      "revenue": 9.99,
                      "arps": 9.99
                    }
                  ],
                  "lookedUp": 3,
                  "truncated": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/trial-links/{linkId}/subscribers": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Abonnenten eines Trial-Links",
        "description": "Wer den Free-Trial-Link eingelöst hat, mit Abo-Status und Ausgaben (wie GET …/fans).",
        "operationId": "ListTrialLinkSubscribers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanPage"
                },
                "example": {
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "subscription": {
                        "subscribeAt": "2026-11-27T12:00:00Z",
                        "expiredAt": "2026-11-27T12:00:00Z",
                        "expired": false,
                        "price": 9.99,
                        "durationDays": 30,
                        "totalSpent": 9.99,
                        "subscriptionsSpent": 9.99,
                        "messagesSpent": 9.99,
                        "postsSpent": 9.99,
                        "streamsSpent": 9.99,
                        "tipsSpent": 9.99
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/trial-links/{linkId}/spenders": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Zahlende Fans eines Trial-Links",
        "description": "Fans, die über den Trial-Link kamen und Geld ausgegeben haben, sortiert nach Ausgaben (bis 500 Einlösungen).",
        "operationId": "ListTrialLinkSpenders",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpenderPage"
                },
                "example": {
                  "linkId": 900000050,
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "spent": 9.99,
                      "subscriptions": 9.99,
                      "messages": 9.99,
                      "tips": 9.99,
                      "posts": 9.99,
                      "subscribedAt": "2026-11-27T12:00:00Z",
                      "expired": false
                    }
                  ],
                  "lookedUp": 3,
                  "truncated": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/trial-links/{linkId}/cohort-arps": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Umsatz je Abo-Monat (ARPS) eines Trial-Links",
        "description": "Fans des Trial-Links nach Monat des Abo-Beginns gruppiert, mit Umsatz und Durchschnittsumsatz je Abonnent (bis 500 Einlösungen).",
        "operationId": "GetTrialLinkCohorts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CohortReport"
                },
                "example": {
                  "linkId": 900000051,
                  "cohorts": [
                    {
                      "month": "Beispiel",
                      "subscribers": 3,
                      "paying": 3,
                      "revenue": 9.99,
                      "arps": 9.99
                    }
                  ],
                  "lookedUp": 3,
                  "truncated": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/trial-links/{linkId}/stats": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Kennzahlen eines Trial-Links",
        "description": "Klicks, Einlösungen und Konversionsrate eines Free-Trial-Links über die ganze Laufzeit.",
        "operationId": "GetTrialLinkStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkStats"
                },
                "example": {
                  "linkId": 900000052,
                  "clicks": 3,
                  "subscribers": 3,
                  "conversionRate": 0.12,
                  "revenue": 9.99,
                  "payingSubscribers": 3,
                  "revenuePerSubscriber": 9.99,
                  "revenueComputedAt": "2026-11-27T12:00:00Z"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/stored/tracking-links": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Gespeicherte Tracking-Links",
        "description": "Unsere Kopien aller Tracking-Links des Accounts, auch solcher, die bei der Plattform gelöscht sind oder nicht mehr geliefert werden (goneAt), mit den zuletzt gesehenen Zahlen und eigenen Tags. Standard: vorher mit der Plattform abgleichen (sync=false: nur gespeicherte).",
        "operationId": "ListStoredTrackingLinks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sync",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "onlyShared",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StoredLink"
                  }
                },
                "example": [
                  {
                    "id": 900000053,
                    "kind": "tracking",
                    "name": "Nova Demo",
                    "url": "https://example.com/demo",
                    "clicks": 3,
                    "subscribers": 3,
                    "createdAt": "2026-11-27T12:00:00Z",
                    "endsAt": "2026-11-27T12:00:00Z",
                    "isClosed": true,
                    "sharedWith": {
                      "id": 900000054,
                      "username": "novademo"
                    },
                    "tags": [
                      "Beispiel"
                    ],
                    "firstSeenAt": "2026-11-27T12:00:00Z",
                    "lastSeenAt": "2026-11-27T12:00:00Z",
                    "goneAt": null
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/stored/shared-tracking-links": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Gespeicherte geteilte Tracking-Links",
        "description": "Wie GET …/stored/tracking-links, nur die mit einem anderen Nutzer geteilten.",
        "operationId": "ListStoredSharedTrackingLinks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sync",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StoredLink"
                  }
                },
                "example": [
                  {
                    "id": 900000055,
                    "kind": "tracking",
                    "name": "Nova Demo",
                    "url": "https://example.com/demo",
                    "clicks": 3,
                    "subscribers": 3,
                    "createdAt": "2026-11-27T12:00:00Z",
                    "endsAt": "2026-11-27T12:00:00Z",
                    "isClosed": true,
                    "sharedWith": {
                      "id": 900000056,
                      "username": "novademo"
                    },
                    "tags": [
                      "Beispiel"
                    ],
                    "firstSeenAt": "2026-11-27T12:00:00Z",
                    "lastSeenAt": "2026-11-27T12:00:00Z",
                    "goneAt": null
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/shared-tracking-links": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Geteilte Tracking-Links",
        "description": "Tracking-Links, die mit einem anderen Nutzer geteilt sind (sharedWith; einer je Link), frisch von der Plattform abgerufen.",
        "operationId": "ListSharedTrackingLinks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StoredLink"
                  }
                },
                "example": [
                  {
                    "id": 900000057,
                    "kind": "tracking",
                    "name": "Nova Demo",
                    "url": "https://example.com/demo",
                    "clicks": 3,
                    "subscribers": 3,
                    "createdAt": "2026-11-27T12:00:00Z",
                    "endsAt": "2026-11-27T12:00:00Z",
                    "isClosed": true,
                    "sharedWith": {
                      "id": 900000058,
                      "username": "novademo"
                    },
                    "tags": [
                      "Beispiel"
                    ],
                    "firstSeenAt": "2026-11-27T12:00:00Z",
                    "lastSeenAt": "2026-11-27T12:00:00Z",
                    "goneAt": null
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/tracking-links/{linkId}/tags": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Tags eines Links",
        "description": "Eigene Tags an diesem Link; sie liegen nur bei nocturo connect, die Plattform sieht sie nicht.",
        "operationId": "GetTrackingLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000059,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "links"
        ],
        "summary": "Tags hinzufügen",
        "description": "Fügt eigene Tags hinzu (bis 30 Zeichen, höchstens 10 je Link); vorhandene bleiben.",
        "operationId": "AddTrackingLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagsBody"
              },
              "example": {
                "tags": [
                  "Beispiel"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000060,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "delete": {
        "tags": [
          "links"
        ],
        "summary": "Tags entfernen",
        "description": "Entfernt die genannten Tags (tags, durch Komma getrennt); ohne tags alle.",
        "operationId": "RemoveTrackingLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "tags",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000061,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/shared-tracking-links/{linkId}/tags": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Tags eines Links",
        "description": "Eigene Tags an diesem Link; sie liegen nur bei nocturo connect, die Plattform sieht sie nicht.",
        "operationId": "GetSharedTrackingLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000062,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "links"
        ],
        "summary": "Tags hinzufügen",
        "description": "Fügt eigene Tags hinzu (bis 30 Zeichen, höchstens 10 je Link); vorhandene bleiben.",
        "operationId": "AddSharedTrackingLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagsBody"
              },
              "example": {
                "tags": [
                  "Beispiel"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000063,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "delete": {
        "tags": [
          "links"
        ],
        "summary": "Tags entfernen",
        "description": "Entfernt die genannten Tags (tags, durch Komma getrennt); ohne tags alle.",
        "operationId": "RemoveSharedTrackingLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "tags",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000064,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/stored/trial-links": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Gespeicherte Trial-Links",
        "description": "Unsere Kopien aller Trial-Links des Accounts, auch solcher, die bei der Plattform gelöscht sind oder nicht mehr geliefert werden (goneAt), mit den zuletzt gesehenen Zahlen und eigenen Tags. Standard: vorher mit der Plattform abgleichen (sync=false: nur gespeicherte).",
        "operationId": "ListStoredTrialLinks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sync",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "onlyShared",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StoredLink"
                  }
                },
                "example": [
                  {
                    "id": 900000065,
                    "kind": "tracking",
                    "name": "Nova Demo",
                    "url": "https://example.com/demo",
                    "clicks": 3,
                    "subscribers": 3,
                    "createdAt": "2026-11-27T12:00:00Z",
                    "endsAt": "2026-11-27T12:00:00Z",
                    "isClosed": true,
                    "sharedWith": {
                      "id": 900000066,
                      "username": "novademo"
                    },
                    "tags": [
                      "Beispiel"
                    ],
                    "firstSeenAt": "2026-11-27T12:00:00Z",
                    "lastSeenAt": "2026-11-27T12:00:00Z",
                    "goneAt": null
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/stored/shared-trial-links": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Gespeicherte geteilte Trial-Links",
        "description": "Wie GET …/stored/trial-links, nur die mit einem anderen Nutzer geteilten.",
        "operationId": "ListStoredSharedTrialLinks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sync",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StoredLink"
                  }
                },
                "example": [
                  {
                    "id": 900000067,
                    "kind": "tracking",
                    "name": "Nova Demo",
                    "url": "https://example.com/demo",
                    "clicks": 3,
                    "subscribers": 3,
                    "createdAt": "2026-11-27T12:00:00Z",
                    "endsAt": "2026-11-27T12:00:00Z",
                    "isClosed": true,
                    "sharedWith": {
                      "id": 900000068,
                      "username": "novademo"
                    },
                    "tags": [
                      "Beispiel"
                    ],
                    "firstSeenAt": "2026-11-27T12:00:00Z",
                    "lastSeenAt": "2026-11-27T12:00:00Z",
                    "goneAt": null
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/shared-trial-links": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Geteilte Trial-Links",
        "description": "Trial-Links, die mit einem anderen Nutzer geteilt sind (sharedWith; einer je Link), frisch von der Plattform abgerufen.",
        "operationId": "ListSharedTrialLinks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StoredLink"
                  }
                },
                "example": [
                  {
                    "id": 900000069,
                    "kind": "tracking",
                    "name": "Nova Demo",
                    "url": "https://example.com/demo",
                    "clicks": 3,
                    "subscribers": 3,
                    "createdAt": "2026-11-27T12:00:00Z",
                    "endsAt": "2026-11-27T12:00:00Z",
                    "isClosed": true,
                    "sharedWith": {
                      "id": 900000070,
                      "username": "novademo"
                    },
                    "tags": [
                      "Beispiel"
                    ],
                    "firstSeenAt": "2026-11-27T12:00:00Z",
                    "lastSeenAt": "2026-11-27T12:00:00Z",
                    "goneAt": null
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/trial-links/{linkId}/tags": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Tags eines Links",
        "description": "Eigene Tags an diesem Link; sie liegen nur bei nocturo connect, die Plattform sieht sie nicht.",
        "operationId": "GetTrialLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000071,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "links"
        ],
        "summary": "Tags hinzufügen",
        "description": "Fügt eigene Tags hinzu (bis 30 Zeichen, höchstens 10 je Link); vorhandene bleiben.",
        "operationId": "AddTrialLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagsBody"
              },
              "example": {
                "tags": [
                  "Beispiel"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000072,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "delete": {
        "tags": [
          "links"
        ],
        "summary": "Tags entfernen",
        "description": "Entfernt die genannten Tags (tags, durch Komma getrennt); ohne tags alle.",
        "operationId": "RemoveTrialLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "tags",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000073,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/shared-trial-links/{linkId}/tags": {
      "get": {
        "tags": [
          "links"
        ],
        "summary": "Tags eines Links",
        "description": "Eigene Tags an diesem Link; sie liegen nur bei nocturo connect, die Plattform sieht sie nicht.",
        "operationId": "GetSharedTrialLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000074,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "links"
        ],
        "summary": "Tags hinzufügen",
        "description": "Fügt eigene Tags hinzu (bis 30 Zeichen, höchstens 10 je Link); vorhandene bleiben.",
        "operationId": "AddSharedTrialLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TagsBody"
              },
              "example": {
                "tags": [
                  "Beispiel"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000075,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "delete": {
        "tags": [
          "links"
        ],
        "summary": "Tags entfernen",
        "description": "Entfernt die genannten Tags (tags, durch Komma getrennt); ohne tags alle.",
        "operationId": "RemoveSharedTrialLinkTags",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "tags",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTags"
                },
                "example": {
                  "linkId": 900000076,
                  "tags": [
                    "Beispiel"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/shared-tracking-links/{linkId}": {
      "delete": {
        "tags": [
          "links"
        ],
        "summary": "Teilen beenden",
        "description": "Hebt das Teilen eines Tracking-Links auf, mit wem auch immer er geteilt ist (gleich wie DELETE …/tracking-links/{linkId}/share). Der Nutzer muss in der Schreib-Freigabe stehen.",
        "operationId": "StopSharingTrackingLink",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/of/{path}": {
      "get": {
        "tags": [
          "raw"
        ],
        "summary": "Rohabfrage bei der Plattform",
        "description": "Reicht eine lesende Abfrage unverändert an die Plattform durch (path mit denselben Query-Parametern) und liefert ihre Antwort. Nur GET, nur mit Key mit vollen Rechten; Bank-, Steuer- und Sicherheitsdaten sind gesperrt, Session- und persönliche Geheimnisse werden aus der Antwort entfernt. Für alles, was die API nicht typisiert anbietet; das Format der Antwort bestimmt die Plattform.",
        "operationId": "RawPlatformGet",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "path",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/stats/overview": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Statistik-Übersicht",
        "description": "Kennzahlen wie auf der Statistikseite der Plattform je Bereich (visitors, fans, posts, messages, streams, promotions, trials; sections= wählt aus): Zähler mit Änderung zum Vorzeitraum in Prozent, Umsatz netto/brutto und je Tag bzw. Monat. Standard: letzte 30 Tage. Ein Abruf bei der Plattform je Bereich.",
        "operationId": "GetStatsOverview",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "sections",
            "in": "query",
            "description": "Bereiche, durch Komma getrennt: visitors, fans, posts, messages, streams, promotions, trials. Standard: alle.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Overview"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "sections": [
                    {
                      "name": "visitors",
                      "hasStatistic": false,
                      "metrics": {
                        "beispiel": {
                          "total": 9.99,
                          "deltaPercent": 12.5
                        }
                      },
                      "earningsNet": 9.99,
                      "earningsGross": 9.99,
                      "earningsDeltaPercent": 12.5,
                      "earningsPerPeriod": [
                        {
                          "date": "2026-11-27",
                          "value": 9.99
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/profile-visitors": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Profilbesucher",
        "description": "Besuche des Profils im Zeitraum: gesamt mit Änderung, Gäste (ohne Konto bei der Plattform) und angemeldete Nutzer, Besuche und Verweildauer je Tag, Top-Länder (countries, Standard 10).",
        "operationId": "GetProfileVisitors",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "countries",
            "in": "query",
            "description": "Anzahl Top-Länder, 1–50, Standard 10.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProfileVisitors"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "total": 3,
                  "deltaPercent": 12.5,
                  "guests": 3,
                  "users": 3,
                  "viewDuration": 42,
                  "visitorsPerPeriod": [
                    {
                      "date": "2026-11-27",
                      "value": 9.99
                    }
                  ],
                  "durationPerPeriod": [
                    {
                      "date": "2026-11-27",
                      "value": 9.99
                    }
                  ],
                  "topCountries": [
                    {
                      "rank": 3,
                      "countryCode": "Beispiel",
                      "countryName": "Beispiel",
                      "total": 3,
                      "guests": 3,
                      "users": 3
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/chargebacks/ratio": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Rückbuchungsquote",
        "description": "Anteil der Rückbuchungen am Umsatz im Zeitraum, wie die Plattform ihn berechnet.",
        "operationId": "GetChargebackRatio",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargebackRatio"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "ratio": 9.99
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/chargebacks/statistics": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Rückbuchungs-Statistik",
        "description": "Summe der Rückbuchungen im Zeitraum mit Änderung zum Vorzeitraum, Betrag und Anzahl je Tag bzw. Monat. Einzelne Rückbuchungen: GET …/chargebacks.",
        "operationId": "GetChargebackStatistics",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargebackStats"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "total": 9.99,
                  "deltaPercent": 12.5,
                  "amountPerPeriod": [
                    {
                      "date": "2026-11-27",
                      "value": 9.99
                    }
                  ],
                  "countPerPeriod": [
                    {
                      "date": "2026-11-27",
                      "value": 9.99
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/ranking": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Top-%-Rang",
        "description": "Rang des Creators bei der Plattform („Top x %“); null, wenn die Plattform keinen Rang zeigt.",
        "operationId": "GetRanking",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ranking"
                },
                "example": {
                  "topPercent": 3
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/start-date": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Creator seit",
        "description": "Seit wann der Account Creator ist; davor gibt es keine Statistik (gut als from für „gesamter Zeitraum“).",
        "operationId": "GetCreatorStartDate",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StartDate"
                },
                "example": {
                  "creatorSince": "2026-11-27T12:00:00Z"
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/subscriber-metrics": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Abonnenten-Kennzahlen",
        "description": "Abonnenten im Zeitraum: gesamt, neue und verlängerte, jeweils mit Änderung zum Vorzeitraum, dazu Abo-Umsatz netto/brutto. Tageswerte: GET …/stats/subscribers.",
        "operationId": "GetSubscriberMetrics",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriberMetrics"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "subscribers": {
                    "total": 9.99,
                    "deltaPercent": 12.5
                  },
                  "new": {
                    "total": 9.99,
                    "deltaPercent": 12.5
                  },
                  "renewed": {
                    "total": 9.99,
                    "deltaPercent": 12.5
                  },
                  "earningsNet": 9.99,
                  "earningsGross": 9.99
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/transaction-totals": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Transaktionssummen",
        "description": "Summen der Einnahmen im Zeitraum je Kategorie (subscriptions, tips, messages, posts, streams, referrals) netto und brutto, mit der Zahl der Tage mit Einnahmen. Gleiche Summen wie GET …/earnings, aber über beliebig lange Zeiträume. Einzelne Einnahmen: GET …/transactions.",
        "operationId": "GetTransactionTotals",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionTotals"
                },
                "example": {
                  "from": "2026-11-27",
                  "to": "2026-11-27",
                  "net": 9.99,
                  "gross": 9.99,
                  "categories": [
                    {
                      "category": "subscriptions",
                      "net": 9.99,
                      "gross": 9.99,
                      "daysWithIncome": 3
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stats/messages/direct": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Direktnachrichten mit Verkäufen",
        "description": "Kostenpflichtige Direktnachrichten im Zeitraum, neueste zuerst, mit Preis, Käufen und Aufrufen. Hier gibt es kein Blättern (offset wird ignoriert): für mehr limit erhöhen (bis 100) oder den Zeitraum teilen.",
        "operationId": "ListDirectMessageStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Erster Tag des Zeitraums, JJJJ-MM-TT (UTC). Standard siehe Endpunkt.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Letzter Tag des Zeitraums, JJJJ-MM-TT (UTC), einschließlich. Standard: heute.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Nachrichten, 1–100, Standard 20 (kein Blättern).",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectMessageStats"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000077,
                      "messageId": 900000078,
                      "toUserId": 900000079,
                      "sentAt": "2026-11-27T12:00:00Z",
                      "text": "Danke fürs Abo!",
                      "price": 9.99,
                      "purchases": 3,
                      "views": 3,
                      "mediaCount": 3
                    }
                  ],
                  "hasMore": false
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/mass-messages/{queueId}/buyers": {
      "get": {
        "tags": [
          "mass-messages"
        ],
        "summary": "Käufer einer Massennachricht",
        "description": "Fans, die eine PPV-Massennachricht gekauft haben (queueId wie in GET …/mass-messages). Bei Direktnachrichten ist der Käufer der Empfänger (toUserId in GET …/stats/messages/direct).",
        "operationId": "ListMassMessageBuyers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "queueId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Käufer pro Seite, 1–50, Standard 20.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyerPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000101,
                      "username": "demo_fan_1",
                      "name": "Demo Fan",
                      "displayName": "Demo Fan (VIP)",
                      "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                      "isVerified": false,
                      "isCreator": false,
                      "isSubscriber": true,
                      "subscriptionExpired": false,
                      "subscribedFor": "3 months",
                      "isFollowing": false,
                      "lastSeen": "2026-11-27T11:40:00Z",
                      "isBlocked": false,
                      "isRestricted": false,
                      "lists": [
                        {
                          "id": "900000501",
                          "name": "VIP",
                          "type": "custom"
                        }
                      ],
                      "note": "Mag Fotos aus dem Urlaub."
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/{postId}/stats": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Post-Statistik",
        "description": "Aufrufe (gesamt und eindeutig), Verweildauer, Likes, Kommentare, Tips und Käufe eines eigenen Posts, Aufrufe und Käufe je Tag (etwa der letzte Monat).",
        "operationId": "GetPostStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostStats"
                },
                "example": {
                  "postId": 900000080,
                  "views": 3,
                  "uniqueViews": 3,
                  "viewDuration": 42,
                  "averageViewDuration": 9.99,
                  "likes": 3,
                  "comments": 3,
                  "tips": 3,
                  "tipsSum": 9.99,
                  "purchases": 3,
                  "purchasesSum": 9.99,
                  "viewsPerDay": [
                    {
                      "date": "2026-11-27",
                      "value": 9.99
                    }
                  ],
                  "purchasesPerDay": [
                    {
                      "date": "2026-11-27",
                      "value": 9.99
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stories/{storyId}/stats": {
      "get": {
        "tags": [
          "statistics"
        ],
        "summary": "Story-Statistik",
        "description": "Aufrufe, Likes, Kommentare und Tips einer eigenen Story (auch archivierter).",
        "operationId": "GetStoryStats",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "storyId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoryStats"
                },
                "example": {
                  "storyId": 900000081,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "views": 3,
                  "likes": 3,
                  "comments": 3,
                  "tips": 3,
                  "tipsSum": 9.99
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/users/{userId}/posts": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Posts eines Nutzers",
        "description": "Posts eines anderen Creators aus Sicht dieses Accounts (bezahlte nur mit Vorschau, wenn nicht gekauft), neueste zuerst; ältere mit marker = nextMarker.",
        "operationId": "ListUserPosts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "marker",
            "in": "query",
            "description": "nextMarker der vorigen Seite, für die nächste (ältere) Seite.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000082,
                      "postedAt": "2026-11-27T12:00:00Z",
                      "text": "Danke fürs Abo!",
                      "price": 9.99,
                      "likes": 3,
                      "comments": 3,
                      "tipsSum": 9.99,
                      "canEdit": true,
                      "isPinned": false,
                      "isArchived": false,
                      "labels": [
                        {
                          "id": 900000083,
                          "name": "Nova Demo"
                        }
                      ],
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ],
                      "taggedUserIds": [
                        900000084
                      ]
                    }
                  ],
                  "hasMore": false,
                  "nextMarker": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/users/{userId}/labels": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Post-Labels eines Nutzers",
        "description": "Die Post-Labels eines Creators, die Posts enthalten (wie die Reiter auf seinem Profil).",
        "operationId": "ListUserPostLabels",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PostLabel"
                  }
                },
                "example": [
                  {
                    "id": "900000002",
                    "type": "photo",
                    "name": "Nova Demo",
                    "posts": 3
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/users/{userId}/stories": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Stories eines Nutzers",
        "description": "Die laufenden Stories eines anderen Creators aus Sicht dieses Accounts.",
        "operationId": "ListUserStories",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Story"
                  }
                },
                "example": [
                  {
                    "id": 900000085,
                    "createdAt": "2026-11-27T12:00:00Z",
                    "isReady": true,
                    "views": 3,
                    "likes": 3,
                    "comments": 3,
                    "tipsSum": 9.99,
                    "canDelete": true,
                    "isHighlightCover": true,
                    "media": [
                      {
                        "id": 900000301,
                        "type": "photo",
                        "canView": true,
                        "isReady": true,
                        "durationSeconds": null,
                        "width": 1080,
                        "height": 1350,
                        "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                        "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                        "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/users/{userId}/highlights": {
      "get": {
        "tags": [
          "users"
        ],
        "summary": "Highlights eines Nutzers",
        "description": "Die Highlights im Profil eines anderen Creators; Inhalt mit GET …/stories/highlights/{highlightId}.",
        "operationId": "ListUserHighlights",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Highlight"
                  }
                },
                "example": [
                  {
                    "id": 900000086,
                    "title": "Beispiel",
                    "coverStoryId": 900000087,
                    "stories": 3,
                    "items": [
                      {
                        "id": 900000088,
                        "createdAt": "2026-11-27T12:00:00Z",
                        "isReady": true,
                        "views": 3,
                        "likes": 3,
                        "comments": 3,
                        "tipsSum": 9.99,
                        "canDelete": true,
                        "isHighlightCover": true,
                        "media": [
                          {
                            "id": 900000301,
                            "type": "photo",
                            "canView": true,
                            "isReady": true,
                            "durationSeconds": null,
                            "width": 1080,
                            "height": 1350,
                            "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                            "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                            "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/bundles": {
      "get": {
        "tags": [
          "promotions"
        ],
        "summary": "Abo-Bundles",
        "description": "Mehrmonats-Angebote des Profils mit Rabatt und Gesamtpreis.",
        "operationId": "ListBundles",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Bundle"
                  }
                },
                "example": [
                  {
                    "id": 900000089,
                    "durationMonths": 3,
                    "discount": 20,
                    "price": 9.99,
                    "canBuy": true
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "promotions"
        ],
        "summary": "Bundle anlegen",
        "description": "Neues Mehrmonats-Angebot (3, 6 oder 12 Monate) mit Rabatt in Prozent; die Plattform rechnet den Preis aus dem Abo-Preis. Sofort kaufbar: confirm=true. Braucht die Posts-Freigabe.",
        "operationId": "CreateBundle",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBundle"
              },
              "example": {
                "durationMonths": 3,
                "discount": 20
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Bundle"
                  }
                },
                "example": [
                  {
                    "id": 900000090,
                    "durationMonths": 3,
                    "discount": 20,
                    "price": 9.99,
                    "canBuy": true
                  }
                ]
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Bundle"
                },
                "example": {
                  "id": 900000091,
                  "durationMonths": 3,
                  "discount": 20,
                  "price": 9.99,
                  "canBuy": true
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/bundles/{bundleId}": {
      "delete": {
        "tags": [
          "promotions"
        ],
        "summary": "Bundle löschen",
        "description": "Entfernt ein Bundle (confirm=true); laufende Abos bleiben. Braucht die Posts-Freigabe.",
        "operationId": "DeleteBundle",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "bundleId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/promotions": {
      "get": {
        "tags": [
          "promotions"
        ],
        "summary": "Promotions",
        "description": "Rabattaktionen des Profils (laufende und beendete), neueste zuerst; isRunning zeigt, ob eine Aktion läuft.",
        "operationId": "ListPromotions",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromotionPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000092,
                      "type": "all",
                      "message": "Danke fürs Abo!",
                      "price": 9.99,
                      "claims": 3,
                      "maxClaims": 3,
                      "subscribeDays": 30,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "endsAt": "2026-11-27T12:00:00Z",
                      "isFinished": false,
                      "canClaim": true,
                      "isRunning": true
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "promotions"
        ],
        "summary": "Promotion starten",
        "description": "Startet eine Rabattaktion (discount % auf den Abopreis, 100 = gratis) für alle, nur neue oder nur ehemalige Abonnenten; sofort einlösbar: confirm=true. Braucht die Posts-Freigabe.",
        "operationId": "CreatePromotion",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePromotion"
              },
              "example": {
                "discount": 20,
                "audience": "all",
                "maxClaims": 3,
                "subscribeDays": 30,
                "message": "Danke fürs Abo!",
                "endsInDays": 30
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Promotion"
                },
                "example": {
                  "id": 900000093,
                  "type": "all",
                  "message": "Danke fürs Abo!",
                  "price": 9.99,
                  "claims": 3,
                  "maxClaims": 3,
                  "subscribeDays": 30,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "endsAt": "2026-11-27T12:00:00Z",
                  "isFinished": false,
                  "canClaim": true,
                  "isRunning": true
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/promotions/{promotionId}/stop": {
      "post": {
        "tags": [
          "promotions"
        ],
        "summary": "Promotion stoppen",
        "description": "Beendet eine laufende Promotion; sie bleibt in der Liste. Braucht die Posts-Freigabe.",
        "operationId": "StopPromotion",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "promotionId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/promotions/{promotionId}": {
      "delete": {
        "tags": [
          "promotions"
        ],
        "summary": "Promotion löschen",
        "description": "Löscht eine beendete Promotion (confirm=true). In der Oberfläche der Plattform ist sie danach weg; GET …/promotions listet sie weiter als beendet. Braucht die Posts-Freigabe.",
        "operationId": "DeletePromotion",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "promotionId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/posts": {
      "get": {
        "tags": [
          "posts"
        ],
        "summary": "Eigene Posts",
        "description": "Posts des Accounts, neueste zuerst; type: photo, video, audio oder archived. Ältere mit marker = nextMarker.",
        "operationId": "ListPosts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "marker",
            "in": "query",
            "description": "nextMarker der vorigen Seite, für die nächste (ältere) Seite.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000094,
                      "postedAt": "2026-11-27T12:00:00Z",
                      "text": "Danke fürs Abo!",
                      "price": 9.99,
                      "likes": 3,
                      "comments": 3,
                      "tipsSum": 9.99,
                      "canEdit": true,
                      "isPinned": false,
                      "isArchived": false,
                      "labels": [
                        {
                          "id": 900000095,
                          "name": "Nova Demo"
                        }
                      ],
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ],
                      "taggedUserIds": [
                        900000096
                      ]
                    }
                  ],
                  "hasMore": false,
                  "nextMarker": null
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "posts"
        ],
        "summary": "Post veröffentlichen",
        "description": "Veröffentlicht einen Post im Feed (für alle Fans sichtbar), sofort, mit scheduledAt geplant oder mit saveForLater=true ohne Termin für später gespeichert (GET …/saved-for-later/posts): Text, Vault-Medien (mediaIds) oder frische Uploads (uploadRefs), optional bezahlt (price) mit Vorschau, taggedUserIds markiert Mitwirkende an den Medien. Braucht die Posts-Freigabe des Accounts.",
        "operationId": "CreatePost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePost"
              },
              "example": {
                "text": "Danke fürs Abo!",
                "mediaIds": [
                  900000097
                ],
                "uploadRefs": [
                  "Beispiel"
                ],
                "price": 9.99,
                "previewMediaIds": [
                  900000098
                ],
                "labelIds": [
                  900000099
                ],
                "scheduledAt": "2026-11-27T12:00:00Z",
                "saveForLater": false,
                "taggedUserIds": [
                  900000100
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Post"
                },
                "example": {
                  "id": 900000101,
                  "postedAt": "2026-11-27T12:00:00Z",
                  "text": "Danke fürs Abo!",
                  "price": 9.99,
                  "likes": 3,
                  "comments": 3,
                  "tipsSum": 9.99,
                  "canEdit": true,
                  "isPinned": false,
                  "isArchived": false,
                  "labels": [
                    {
                      "id": 900000102,
                      "name": "Nova Demo"
                    }
                  ],
                  "media": [
                    {
                      "id": 900000301,
                      "type": "photo",
                      "canView": true,
                      "isReady": true,
                      "durationSeconds": null,
                      "width": 1080,
                      "height": 1350,
                      "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                      "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                      "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                    }
                  ],
                  "taggedUserIds": [
                    900000103
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/{postId}": {
      "get": {
        "tags": [
          "posts"
        ],
        "summary": "Post abrufen",
        "operationId": "GetPost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Post"
                },
                "example": {
                  "id": 900000104,
                  "postedAt": "2026-11-27T12:00:00Z",
                  "text": "Danke fürs Abo!",
                  "price": 9.99,
                  "likes": 3,
                  "comments": 3,
                  "tipsSum": 9.99,
                  "canEdit": true,
                  "isPinned": false,
                  "isArchived": false,
                  "labels": [
                    {
                      "id": 900000105,
                      "name": "Nova Demo"
                    }
                  ],
                  "media": [
                    {
                      "id": 900000301,
                      "type": "photo",
                      "canView": true,
                      "isReady": true,
                      "durationSeconds": null,
                      "width": 1080,
                      "height": 1350,
                      "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                      "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                      "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                    }
                  ],
                  "taggedUserIds": [
                    900000106
                  ]
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "posts"
        ],
        "summary": "Post ändern",
        "description": "Ändert Text, Medien (mediaIds, Vault-IDs), Labels (labelIds, [] = keine) und/oder markierte Mitwirkende (taggedUserIds, [] = keine) eines eigenen Posts; was nicht angegeben ist, bleibt. Nur Labels ändern geht einfacher mit …/posts/labels/{labelId}/posts. Braucht die Posts-Freigabe.",
        "operationId": "EditPost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditPost"
              },
              "example": {
                "text": "Danke fürs Abo!",
                "mediaIds": [
                  900000107
                ],
                "labelIds": [
                  900000108
                ],
                "taggedUserIds": [
                  900000109
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Post"
                },
                "example": {
                  "id": 900000110,
                  "postedAt": "2026-11-27T12:00:00Z",
                  "text": "Danke fürs Abo!",
                  "price": 9.99,
                  "likes": 3,
                  "comments": 3,
                  "tipsSum": 9.99,
                  "canEdit": true,
                  "isPinned": false,
                  "isArchived": false,
                  "labels": [
                    {
                      "id": 900000111,
                      "name": "Nova Demo"
                    }
                  ],
                  "media": [
                    {
                      "id": 900000301,
                      "type": "photo",
                      "canView": true,
                      "isReady": true,
                      "durationSeconds": null,
                      "width": 1080,
                      "height": 1350,
                      "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                      "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                      "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                    }
                  ],
                  "taggedUserIds": [
                    900000112
                  ]
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "posts"
        ],
        "summary": "Post löschen",
        "description": "Löscht einen eigenen Post endgültig (confirm=true). Braucht die Posts-Freigabe.",
        "operationId": "DeletePost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/{postId}/pin": {
      "put": {
        "tags": [
          "posts"
        ],
        "summary": "Post anheften",
        "description": "Heftet den Post oben ans Profil; schon angeheftet → keine Änderung.",
        "operationId": "PinPost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "posts"
        ],
        "summary": "Post lösen",
        "description": "Löst einen angehefteten Post; nicht angeheftet → keine Änderung.",
        "operationId": "UnpinPost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/{postId}/archive": {
      "put": {
        "tags": [
          "posts"
        ],
        "summary": "Post archivieren",
        "description": "Nimmt den Post aus dem Feed ins Archiv (Fans sehen ihn nicht mehr); schon archiviert → keine Änderung. Braucht die Posts-Freigabe.",
        "operationId": "ArchivePost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "posts"
        ],
        "summary": "Post wiederherstellen",
        "description": "Holt einen archivierten Post zurück in den Feed; nicht archiviert → keine Änderung. Braucht die Posts-Freigabe.",
        "operationId": "UnarchivePost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/{postId}/comments": {
      "get": {
        "tags": [
          "posts"
        ],
        "summary": "Kommentare eines Posts",
        "description": "Kommentare, neueste zuerst; weiter mit offset.",
        "operationId": "ListPostComments",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PostComment"
                  }
                },
                "example": [
                  {
                    "id": 900000113,
                    "postedAt": "2026-11-27T12:00:00Z",
                    "text": "Danke fürs Abo!",
                    "author": {
                      "id": 900000101,
                      "username": "demo_fan_1",
                      "name": "Demo Fan",
                      "displayName": "Demo Fan (VIP)",
                      "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                      "isVerified": false,
                      "isCreator": false,
                      "isSubscriber": true,
                      "subscriptionExpired": false,
                      "subscribedFor": "3 months",
                      "isFollowing": false,
                      "lastSeen": "2026-11-27T11:40:00Z",
                      "isBlocked": false,
                      "isRestricted": false,
                      "lists": [
                        {
                          "id": "900000501",
                          "name": "VIP",
                          "type": "custom"
                        }
                      ],
                      "note": "Mag Fotos aus dem Urlaub."
                    },
                    "likes": 3,
                    "isLiked": true,
                    "isPinned": false
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "posts"
        ],
        "summary": "Kommentieren",
        "description": "Schreibt einen Kommentar unter einen Post (für alle sichtbar). Braucht die Posts-Freigabe.",
        "operationId": "CommentOnPost",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentBody"
              },
              "example": {
                "text": "Danke fürs Abo!"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostComment"
                },
                "example": {
                  "id": 900000114,
                  "postedAt": "2026-11-27T12:00:00Z",
                  "text": "Danke fürs Abo!",
                  "author": {
                    "id": 900000101,
                    "username": "demo_fan_1",
                    "name": "Demo Fan",
                    "displayName": "Demo Fan (VIP)",
                    "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                    "isVerified": false,
                    "isCreator": false,
                    "isSubscriber": true,
                    "subscriptionExpired": false,
                    "subscribedFor": "3 months",
                    "isFollowing": false,
                    "lastSeen": "2026-11-27T11:40:00Z",
                    "isBlocked": false,
                    "isRestricted": false,
                    "lists": [
                      {
                        "id": "900000501",
                        "name": "VIP",
                        "type": "custom"
                      }
                    ],
                    "note": "Mag Fotos aus dem Urlaub."
                  },
                  "likes": 3,
                  "isLiked": true,
                  "isPinned": false
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/{postId}/comments/{commentId}/like": {
      "put": {
        "tags": [
          "posts"
        ],
        "summary": "Kommentar liken",
        "description": "Liked einen Kommentar (für den Fan sichtbar). Braucht die Posts-Freigabe.",
        "operationId": "LikePostComment",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "commentId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "posts"
        ],
        "summary": "Like entfernen",
        "description": "Nimmt den Like zurück. Braucht die Posts-Freigabe.",
        "operationId": "UnlikePostComment",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "commentId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/{postId}/comments/{commentId}/pin": {
      "put": {
        "tags": [
          "posts"
        ],
        "summary": "Kommentar anpinnen",
        "description": "Pinnt einen Kommentar oben an den Post. Braucht die Posts-Freigabe.",
        "operationId": "PinPostComment",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "commentId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "posts"
        ],
        "summary": "Kommentar lösen",
        "description": "Löst einen angepinnten Kommentar. Braucht die Posts-Freigabe.",
        "operationId": "UnpinPostComment",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "commentId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/{postId}/comments/{commentId}": {
      "delete": {
        "tags": [
          "posts"
        ],
        "summary": "Kommentar löschen",
        "description": "Löscht einen Kommentar unter einem eigenen Post, auch den eines Fans (confirm=true). Braucht die Posts-Freigabe.",
        "operationId": "DeletePostComment",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "commentId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/labels": {
      "get": {
        "tags": [
          "posts"
        ],
        "summary": "Post-Labels",
        "description": "Eigene Post-Labels und Archiv-Labels der Plattform (archived, private_archived) mit Anzahl Posts.",
        "operationId": "ListPostLabels",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PostLabel"
                  }
                },
                "example": [
                  {
                    "id": "900000002",
                    "type": "photo",
                    "name": "Nova Demo",
                    "posts": 3
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "posts"
        ],
        "summary": "Post-Label anlegen",
        "description": "Legt ein eigenes Post-Label an (für Fans nicht sichtbar); Name im Feld text.",
        "operationId": "CreatePostLabel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentBody"
              },
              "example": {
                "text": "Danke fürs Abo!"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostLabel"
                },
                "example": {
                  "id": "900000002",
                  "type": "photo",
                  "name": "Nova Demo",
                  "posts": 3
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/labels/{labelId}": {
      "get": {
        "tags": [
          "posts"
        ],
        "summary": "Post-Label abrufen",
        "description": "Ein eigenes Post-Label mit den IDs der Posts darin.",
        "operationId": "GetPostLabel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "labelId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostLabelDetail"
                },
                "example": {
                  "id": 900000115,
                  "name": "Nova Demo",
                  "posts": 3,
                  "postIds": [
                    900000116
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/labels/{labelId}/posts": {
      "post": {
        "tags": [
          "posts"
        ],
        "summary": "Posts zum Label hinzufügen",
        "description": "Legt bis zu 100 eigene Posts in ein Label, ohne die Posts zu ändern. Labels mit Posts erscheinen als Reiter im Profil. Braucht die Posts-Freigabe.",
        "operationId": "AddPostsToLabel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "labelId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostIdsBody"
              },
              "example": {
                "postIds": [
                  900000117
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostLabelDetail"
                },
                "example": {
                  "id": 900000118,
                  "name": "Nova Demo",
                  "posts": 3,
                  "postIds": [
                    900000119
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/posts/labels/{labelId}/posts/{postId}": {
      "delete": {
        "tags": [
          "posts"
        ],
        "summary": "Post aus Label nehmen",
        "description": "Nimmt einen Post aus einem Label; der Post selbst bleibt. Braucht die Posts-Freigabe.",
        "operationId": "RemovePostFromLabel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "labelId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "postId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostLabelDetail"
                },
                "example": {
                  "id": 900000120,
                  "name": "Nova Demo",
                  "posts": 3,
                  "postIds": [
                    900000121
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stories": {
      "get": {
        "tags": [
          "stories"
        ],
        "summary": "Aktive Stories",
        "description": "Die laufenden Stories des Accounts (24 Stunden sichtbar).",
        "operationId": "ListStories",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Story"
                  }
                },
                "example": [
                  {
                    "id": 900000122,
                    "createdAt": "2026-11-27T12:00:00Z",
                    "isReady": true,
                    "views": 3,
                    "likes": 3,
                    "comments": 3,
                    "tipsSum": 9.99,
                    "canDelete": true,
                    "isHighlightCover": true,
                    "media": [
                      {
                        "id": 900000301,
                        "type": "photo",
                        "canView": true,
                        "isReady": true,
                        "durationSeconds": null,
                        "width": 1080,
                        "height": 1350,
                        "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                        "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                        "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "stories"
        ],
        "summary": "Story veröffentlichen",
        "description": "Veröffentlicht sofort eine Story (24 Stunden für Fans sichtbar) aus frischen Uploads, optional mit Text. Braucht die Posts-Freigabe des Accounts.",
        "operationId": "CreateStory",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStory"
              },
              "example": {
                "uploadRefs": [
                  "Beispiel"
                ],
                "caption": "Danke fürs Abo!"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Story"
                },
                "example": {
                  "id": 900000123,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "isReady": true,
                  "views": 3,
                  "likes": 3,
                  "comments": 3,
                  "tipsSum": 9.99,
                  "canDelete": true,
                  "isHighlightCover": true,
                  "media": [
                    {
                      "id": 900000301,
                      "type": "photo",
                      "canView": true,
                      "isReady": true,
                      "durationSeconds": null,
                      "width": 1080,
                      "height": 1350,
                      "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                      "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                      "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stories/archive": {
      "get": {
        "tags": [
          "stories"
        ],
        "summary": "Story-Archiv",
        "description": "Abgelaufene eigene Stories, neueste zuerst; ältere mit marker = nextMarker (offset wird ignoriert).",
        "operationId": "ListStoryArchive",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "marker",
            "in": "query",
            "description": "nextMarker der vorigen Seite, für die nächste (ältere) Seite.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoryPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000124,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isReady": true,
                      "views": 3,
                      "likes": 3,
                      "comments": 3,
                      "tipsSum": 9.99,
                      "canDelete": true,
                      "isHighlightCover": true,
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ]
                    }
                  ],
                  "hasMore": false,
                  "nextMarker": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stories/{storyId}": {
      "get": {
        "tags": [
          "stories"
        ],
        "summary": "Story abrufen",
        "operationId": "GetStory",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "storyId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Story"
                },
                "example": {
                  "id": 900000125,
                  "createdAt": "2026-11-27T12:00:00Z",
                  "isReady": true,
                  "views": 3,
                  "likes": 3,
                  "comments": 3,
                  "tipsSum": 9.99,
                  "canDelete": true,
                  "isHighlightCover": true,
                  "media": [
                    {
                      "id": 900000301,
                      "type": "photo",
                      "canView": true,
                      "isReady": true,
                      "durationSeconds": null,
                      "width": 1080,
                      "height": 1350,
                      "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                      "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                      "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "stories"
        ],
        "summary": "Story löschen",
        "description": "Löscht eine eigene Story endgültig (confirm=true). Braucht die Posts-Freigabe.",
        "operationId": "DeleteStory",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "storyId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/stories/{storyId}/viewers": {
      "get": {
        "tags": [
          "stories"
        ],
        "summary": "Zuschauer einer Story",
        "description": "Wer die Story gesehen hat; onlyWithTips=true: nur wer dabei ein Tip gegeben hat.",
        "operationId": "ListStoryViewers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "storyId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "onlyWithTips",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewerPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000101,
                      "username": "demo_fan_1",
                      "name": "Demo Fan",
                      "displayName": "Demo Fan (VIP)",
                      "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                      "isVerified": false,
                      "isCreator": false,
                      "isSubscriber": true,
                      "subscriptionExpired": false,
                      "subscribedFor": "3 months",
                      "isFollowing": false,
                      "lastSeen": "2026-11-27T11:40:00Z",
                      "isBlocked": false,
                      "isRestricted": false,
                      "lists": [
                        {
                          "id": "900000501",
                          "name": "VIP",
                          "type": "custom"
                        }
                      ],
                      "note": "Mag Fotos aus dem Urlaub."
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stories/highlights": {
      "get": {
        "tags": [
          "stories"
        ],
        "summary": "Highlights",
        "description": "Die Highlights im Profil des Accounts.",
        "operationId": "ListHighlights",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Highlight"
                  }
                },
                "example": [
                  {
                    "id": 900000126,
                    "title": "Beispiel",
                    "coverStoryId": 900000127,
                    "stories": 3,
                    "items": [
                      {
                        "id": 900000128,
                        "createdAt": "2026-11-27T12:00:00Z",
                        "isReady": true,
                        "views": 3,
                        "likes": 3,
                        "comments": 3,
                        "tipsSum": 9.99,
                        "canDelete": true,
                        "isHighlightCover": true,
                        "media": [
                          {
                            "id": 900000301,
                            "type": "photo",
                            "canView": true,
                            "isReady": true,
                            "durationSeconds": null,
                            "width": 1080,
                            "height": 1350,
                            "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                            "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                            "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "stories"
        ],
        "summary": "Highlight anlegen",
        "description": "Legt ein Highlight im Profil an (für Fans sichtbar) aus eigenen Stories, auch archivierten. Braucht die Posts-Freigabe.",
        "operationId": "CreateHighlight",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHighlight"
              },
              "example": {
                "title": "Beispiel",
                "storyIds": [
                  900000129
                ],
                "coverStoryId": 900000130
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Highlight"
                },
                "example": {
                  "id": 900000131,
                  "title": "Beispiel",
                  "coverStoryId": 900000132,
                  "stories": 3,
                  "items": [
                    {
                      "id": 900000133,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isReady": true,
                      "views": 3,
                      "likes": 3,
                      "comments": 3,
                      "tipsSum": 9.99,
                      "canDelete": true,
                      "isHighlightCover": true,
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/stories/highlights/{highlightId}": {
      "get": {
        "tags": [
          "stories"
        ],
        "summary": "Highlight abrufen",
        "description": "Ein Highlight mit seinen Stories in Abspielreihenfolge.",
        "operationId": "GetHighlight",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "highlightId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Highlight"
                },
                "example": {
                  "id": 900000134,
                  "title": "Beispiel",
                  "coverStoryId": 900000135,
                  "stories": 3,
                  "items": [
                    {
                      "id": 900000136,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isReady": true,
                      "views": 3,
                      "likes": 3,
                      "comments": 3,
                      "tipsSum": 9.99,
                      "canDelete": true,
                      "isHighlightCover": true,
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "stories"
        ],
        "summary": "Highlight ändern",
        "description": "Titel, Stories (storyIds ersetzt die Liste) und/oder Titelbild (coverStoryId) ändern; was fehlt, bleibt. Braucht die Posts-Freigabe.",
        "operationId": "UpdateHighlight",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "highlightId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateHighlight"
              },
              "example": {
                "title": "Beispiel",
                "storyIds": [
                  900000137
                ],
                "coverStoryId": 900000138
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Highlight"
                },
                "example": {
                  "id": 900000139,
                  "title": "Beispiel",
                  "coverStoryId": 900000140,
                  "stories": 3,
                  "items": [
                    {
                      "id": 900000141,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isReady": true,
                      "views": 3,
                      "likes": 3,
                      "comments": 3,
                      "tipsSum": 9.99,
                      "canDelete": true,
                      "isHighlightCover": true,
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "stories"
        ],
        "summary": "Highlight löschen",
        "description": "Löscht ein Highlight (confirm=true); die Stories darin bleiben im Archiv. Braucht die Posts-Freigabe.",
        "operationId": "DeleteHighlight",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "highlightId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/stories/highlights/{highlightId}/stories/{storyId}": {
      "put": {
        "tags": [
          "stories"
        ],
        "summary": "Story ins Highlight",
        "description": "Hängt eine eigene Story (auch aus dem Archiv) hinten ans Highlight an. Braucht die Posts-Freigabe.",
        "operationId": "AddStoryToHighlight",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "highlightId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "storyId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Highlight"
                },
                "example": {
                  "id": 900000142,
                  "title": "Beispiel",
                  "coverStoryId": 900000143,
                  "stories": 3,
                  "items": [
                    {
                      "id": 900000144,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isReady": true,
                      "views": 3,
                      "likes": 3,
                      "comments": 3,
                      "tipsSum": 9.99,
                      "canDelete": true,
                      "isHighlightCover": true,
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "stories"
        ],
        "summary": "Story aus Highlight",
        "description": "Nimmt eine Story aus dem Highlight; die Story selbst bleibt. Die letzte Story lässt sich nicht entfernen (dann das Highlight löschen). Braucht die Posts-Freigabe.",
        "operationId": "RemoveStoryFromHighlight",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "highlightId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "storyId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Highlight"
                },
                "example": {
                  "id": 900000145,
                  "title": "Beispiel",
                  "coverStoryId": 900000146,
                  "stories": 3,
                  "items": [
                    {
                      "id": 900000147,
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isReady": true,
                      "views": 3,
                      "likes": 3,
                      "comments": 3,
                      "tipsSum": 9.99,
                      "canDelete": true,
                      "isHighlightCover": true,
                      "media": [
                        {
                          "id": 900000301,
                          "type": "photo",
                          "canView": true,
                          "isReady": true,
                          "durationSeconds": null,
                          "width": 1080,
                          "height": 1350,
                          "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                          "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                          "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/stories/{storyId}/watched": {
      "post": {
        "tags": [
          "stories"
        ],
        "summary": "Story als gesehen markieren",
        "description": "Markiert die Story eines anderen Creators als gesehen (wie beim Ansehen auf der Plattform); er sieht den Account dann unter den Zuschauern.",
        "operationId": "MarkStoryWatched",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "storyId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/settings": {
      "get": {
        "tags": [
          "settings"
        ],
        "summary": "Einstellungen",
        "description": "Die Konto-Einstellungen, wie die Plattform sie liefert (z. B. replyOnSubscribe, isPrivate, commentsOnlyForPayers, blockedCountries). Zugangsdaten, Sicherheits- und Kontaktfelder werden herausgefiltert.",
        "operationId": "GetSettings",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/settings/blocked-countries": {
      "get": {
        "tags": [
          "settings"
        ],
        "summary": "Gesperrte Länder",
        "description": "Länder (ISO-Codes) und US-Bundesstaaten, aus denen das Profil nicht sichtbar ist.",
        "operationId": "GetBlockedCountries",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlockedCountries"
                },
                "example": {
                  "countries": [
                    "Beispiel"
                  ],
                  "states": [
                    "delivered"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "put": {
        "tags": [
          "settings"
        ],
        "summary": "Länder sperren",
        "description": "Ersetzt die gesperrten Länder (und US-Staaten); Besucher von dort sehen das Profil nicht. [] hebt alle Sperren auf. Braucht die Posts-Freigabe.",
        "operationId": "SetBlockedCountries",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BlockedBody"
              },
              "example": {
                "countries": [
                  "Beispiel"
                ],
                "states": [
                  "delivered"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlockedCountries"
                },
                "example": {
                  "countries": [
                    "Beispiel"
                  ],
                  "states": [
                    "delivered"
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/settings/drm": {
      "get": {
        "tags": [
          "settings"
        ],
        "summary": "DRM-Schutz",
        "description": "Ob der DRM-Schutz der Plattform für Videos eingeschaltet ist.",
        "operationId": "GetDrm",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Drm"
                },
                "example": {
                  "enabled": true
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "patch": {
        "tags": [
          "settings"
        ],
        "summary": "DRM-Schutz schalten",
        "description": "Schaltet den DRM-Schutz der Plattform für Videos ein oder aus (gilt für neue Uploads). Braucht die Posts-Freigabe.",
        "operationId": "SetDrm",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DrmBody"
              },
              "example": {
                "enabled": true
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Drm"
                },
                "example": {
                  "enabled": true
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/settings/social-media-buttons": {
      "get": {
        "tags": [
          "settings"
        ],
        "summary": "Social-Media-Buttons",
        "description": "Die Social-Media-Buttons im Profil mit Ziel-URL und Klickzahl.",
        "operationId": "ListSocialButtons",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocialButton"
                  }
                },
                "example": [
                  {
                    "id": 900000148,
                    "sort": 3,
                    "label": "Hauptaccount",
                    "network": "Beispiel",
                    "username": "novademo",
                    "url": "https://example.com/demo",
                    "isValid": true,
                    "clicks": 3
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "settings"
        ],
        "summary": "Social-Media-Button anlegen",
        "description": "Legt einen Button im Profil an; Antwort: alle Buttons. Braucht die Posts-Freigabe.",
        "operationId": "CreateSocialButton",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SocialButtonBody"
              },
              "example": {
                "network": "instagram",
                "label": "Hauptaccount",
                "username": "novademo",
                "link": "https://example.com/demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocialButton"
                  }
                },
                "example": [
                  {
                    "id": 900000149,
                    "sort": 3,
                    "label": "Hauptaccount",
                    "network": "Beispiel",
                    "username": "novademo",
                    "url": "https://example.com/demo",
                    "isValid": true,
                    "clicks": 3
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/settings/username-exists": {
      "post": {
        "tags": [
          "settings"
        ],
        "summary": "Benutzername vergeben?",
        "description": "Prüft, ob es bei der Plattform ein Profil mit diesem Benutzernamen gibt (z. B. vor einer Umbenennung).",
        "operationId": "UsernameExists",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsernameBody"
              },
              "example": {
                "username": "novademo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsernameCheck"
                },
                "example": {
                  "username": "novademo",
                  "exists": true
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/settings/profile": {
      "get": {
        "tags": [
          "settings"
        ],
        "summary": "Profiltext",
        "description": "„Über mich“ des Profils als HTML, so wie die Plattform es speichert.",
        "operationId": "GetProfileText",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Profile"
                },
                "example": {
                  "about": "Beispiel"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "settings"
        ],
        "summary": "Profiltext ändern",
        "description": "Setzt „Über mich“ (HTML: <p>…</p>, <br>). Die Plattform prüft den Text vorher wie im Browser. Braucht die Posts-Freigabe.",
        "operationId": "UpdateProfileText",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProfileBody"
              },
              "example": {
                "about": "Beispiel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Profile"
                },
                "example": {
                  "about": "Beispiel"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/settings/social-media-buttons/{buttonId}": {
      "patch": {
        "tags": [
          "settings"
        ],
        "summary": "Social-Media-Button ändern",
        "description": "Ändert Name, Netzwerk, Benutzername oder Link eines Buttons; was fehlt, bleibt. Braucht die Posts-Freigabe.",
        "operationId": "UpdateSocialButton",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "buttonId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SocialButtonBody"
              },
              "example": {
                "network": "instagram",
                "label": "Hauptaccount",
                "username": "novademo",
                "link": "https://example.com/demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocialButton"
                  }
                },
                "example": [
                  {
                    "id": 900000150,
                    "sort": 3,
                    "label": "Hauptaccount",
                    "network": "Beispiel",
                    "username": "novademo",
                    "url": "https://example.com/demo",
                    "isValid": true,
                    "clicks": 3
                  }
                ]
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "delete": {
        "tags": [
          "settings"
        ],
        "summary": "Social-Media-Button löschen",
        "description": "Entfernt einen Button aus dem Profil (confirm=true). Braucht die Posts-Freigabe.",
        "operationId": "DeleteSocialButton",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "buttonId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/settings/welcome-message": {
      "get": {
        "tags": [
          "settings"
        ],
        "summary": "Begrüßungsnachricht",
        "description": "Die Nachricht, die die Plattform neuen Abonnenten schickt, und ob sie eingeschaltet ist.",
        "operationId": "GetWelcomeMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WelcomeMessage"
                },
                "example": {
                  "enabled": true,
                  "id": "900000002",
                  "text": "Danke fürs Abo!",
                  "price": 9.99,
                  "mediaIds": [
                    900000151
                  ],
                  "previewMediaIds": [
                    900000152
                  ],
                  "lockedText": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "patch": {
        "tags": [
          "settings"
        ],
        "summary": "Begrüßungsnachricht ein/aus",
        "description": "Schaltet die automatische Nachricht an neue Abonnenten ein oder aus. Braucht die Posts-Freigabe.",
        "operationId": "SwitchWelcomeMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WelcomeSwitch"
              },
              "example": {
                "enabled": true
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WelcomeMessage"
                },
                "example": {
                  "enabled": true,
                  "id": "900000002",
                  "text": "Danke fürs Abo!",
                  "price": 9.99,
                  "mediaIds": [
                    900000153
                  ],
                  "previewMediaIds": [
                    900000154
                  ],
                  "lockedText": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "post": {
        "tags": [
          "settings"
        ],
        "summary": "Begrüßungsnachricht ändern",
        "description": "Ändert Text (Klartext, Zeilenumbrüche bleiben), Medien und/oder Preis der Begrüßungsnachricht; was fehlt, bleibt. Der Ein/Aus-Zustand bleibt, wie er war; schalten mit PATCH. Braucht die Posts-Freigabe.",
        "operationId": "SaveWelcomeMessage",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WelcomeMessageBody"
              },
              "example": {
                "text": "Danke fürs Abo!",
                "mediaIds": [
                  900000155
                ],
                "price": 9.99,
                "previewMediaIds": [
                  900000156
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WelcomeMessage"
                },
                "example": {
                  "enabled": true,
                  "id": "900000002",
                  "text": "Danke fürs Abo!",
                  "price": 9.99,
                  "mediaIds": [
                    900000157
                  ],
                  "previewMediaIds": [
                    900000158
                  ],
                  "lockedText": false
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/saved-for-later/posts": {
      "get": {
        "tags": [
          "saved-for-later"
        ],
        "summary": "Für später gespeicherte Posts",
        "description": "Posts ohne Termin, die auf das Veröffentlichen warten. Anlegen mit POST …/posts und saveForLater=true, löschen mit DELETE …/posts/{postId}.",
        "operationId": "ListSavedPosts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedPage"
                },
                "example": {
                  "items": [
                    {
                      "scheduleId": 900000159,
                      "savedAt": "2026-11-27T12:00:00Z",
                      "post": {
                        "id": 900000160,
                        "postedAt": "2026-11-27T12:00:00Z",
                        "text": "Danke fürs Abo!",
                        "price": 9.99,
                        "likes": 3,
                        "comments": 3,
                        "tipsSum": 9.99,
                        "canEdit": true,
                        "isPinned": false,
                        "isArchived": false,
                        "labels": [
                          {
                            "id": 900000161,
                            "name": "Nova Demo"
                          }
                        ],
                        "media": [
                          {
                            "id": 900000301,
                            "type": "photo",
                            "canView": true,
                            "isReady": true,
                            "durationSeconds": null,
                            "width": 1080,
                            "height": 1350,
                            "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                            "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                            "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                          }
                        ],
                        "taggedUserIds": [
                          900000162
                        ]
                      },
                      "message": {
                        "id": 900000202,
                        "createdAt": "2026-11-27T12:00:00Z",
                        "changedAt": null,
                        "fromUserId": 900000001,
                        "fromMe": true,
                        "text": "Ruhig, danke! Hier ein Foto vom Sonntag.",
                        "html": "<p>Ruhig, danke! Hier ein Foto vom Sonntag.</p>",
                        "lockedText": false,
                        "price": 9.99,
                        "canPurchase": false,
                        "isOpened": false,
                        "isNew": false,
                        "isTip": false,
                        "tipAmount": null,
                        "tipText": null,
                        "isFromQueue": false,
                        "queueId": null,
                        "isPinned": false,
                        "isLiked": false,
                        "giphyId": null,
                        "mediaCount": 1,
                        "media": [
                          {
                            "id": 900000301,
                            "type": "photo",
                            "canView": true,
                            "isReady": true,
                            "durationSeconds": null,
                            "width": 1080,
                            "height": 1350,
                            "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                            "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                            "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                          }
                        ],
                        "previewMediaIds": [ ]
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/saved-for-later/posts/settings": {
      "get": {
        "tags": [
          "saved-for-later"
        ],
        "summary": "Automatik für Posts",
        "description": "Ob die Plattform gespeicherte Posts automatisch veröffentlicht und in welchem Abstand.",
        "operationId": "GetAutoPosts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoPublish"
                },
                "example": {
                  "enabled": true,
                  "periodHours": 24,
                  "options": [
                    3
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/saved-for-later/posts/settings/enable-or-update-automatic-posting": {
      "patch": {
        "tags": [
          "saved-for-later"
        ],
        "summary": "Automatik für Posts ein",
        "description": "Die Plattform veröffentlicht alle periodHours Stunden einen der gespeicherten Posts (für Fans sichtbar). Braucht die Posts-Freigabe.",
        "operationId": "EnableAutoPosts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoPublishBody"
              },
              "example": {
                "periodHours": 24
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoPublish"
                },
                "example": {
                  "enabled": true,
                  "periodHours": 24,
                  "options": [
                    3
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/saved-for-later/posts/settings/disable-automatic-posting": {
      "patch": {
        "tags": [
          "saved-for-later"
        ],
        "summary": "Automatik für Posts aus",
        "description": "Schaltet das automatische Veröffentlichen gespeicherter Posts aus. Braucht die Posts-Freigabe.",
        "operationId": "DisableAutoPosts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoPublish"
                },
                "example": {
                  "enabled": true,
                  "periodHours": 24,
                  "options": [
                    3
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/saved-for-later/messages": {
      "get": {
        "tags": [
          "saved-for-later"
        ],
        "summary": "Für später gespeicherte Nachrichten",
        "description": "Nachrichten ohne Termin, die auf das Veröffentlichen warten.",
        "operationId": "ListSavedMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedPage"
                },
                "example": {
                  "items": [
                    {
                      "scheduleId": 900000163,
                      "savedAt": "2026-11-27T12:00:00Z",
                      "post": {
                        "id": 900000164,
                        "postedAt": "2026-11-27T12:00:00Z",
                        "text": "Danke fürs Abo!",
                        "price": 9.99,
                        "likes": 3,
                        "comments": 3,
                        "tipsSum": 9.99,
                        "canEdit": true,
                        "isPinned": false,
                        "isArchived": false,
                        "labels": [
                          {
                            "id": 900000165,
                            "name": "Nova Demo"
                          }
                        ],
                        "media": [
                          {
                            "id": 900000301,
                            "type": "photo",
                            "canView": true,
                            "isReady": true,
                            "durationSeconds": null,
                            "width": 1080,
                            "height": 1350,
                            "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                            "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                            "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                          }
                        ],
                        "taggedUserIds": [
                          900000166
                        ]
                      },
                      "message": {
                        "id": 900000202,
                        "createdAt": "2026-11-27T12:00:00Z",
                        "changedAt": null,
                        "fromUserId": 900000001,
                        "fromMe": true,
                        "text": "Ruhig, danke! Hier ein Foto vom Sonntag.",
                        "html": "<p>Ruhig, danke! Hier ein Foto vom Sonntag.</p>",
                        "lockedText": false,
                        "price": 9.99,
                        "canPurchase": false,
                        "isOpened": false,
                        "isNew": false,
                        "isTip": false,
                        "tipAmount": null,
                        "tipText": null,
                        "isFromQueue": false,
                        "queueId": null,
                        "isPinned": false,
                        "isLiked": false,
                        "giphyId": null,
                        "mediaCount": 1,
                        "media": [
                          {
                            "id": 900000301,
                            "type": "photo",
                            "canView": true,
                            "isReady": true,
                            "durationSeconds": null,
                            "width": 1080,
                            "height": 1350,
                            "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                            "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                            "fullUrl": "https://cdn.example.com/demo/900000301.jpg"
                          }
                        ],
                        "previewMediaIds": [ ]
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/saved-for-later/messages/settings": {
      "get": {
        "tags": [
          "saved-for-later"
        ],
        "summary": "Automatik für Nachrichten",
        "description": "Ob die Plattform gespeicherte Nachrichten automatisch veröffentlicht und in welchem Abstand.",
        "operationId": "GetAutoMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoPublish"
                },
                "example": {
                  "enabled": true,
                  "periodHours": 24,
                  "options": [
                    3
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/saved-for-later/messages/settings/enable-or-update-automatic-messaging": {
      "patch": {
        "tags": [
          "saved-for-later"
        ],
        "summary": "Automatik für Nachrichten ein",
        "description": "Die Plattform veröffentlicht alle periodHours Stunden eine der gespeicherten Nachrichten (für Fans sichtbar). Braucht die Posts-Freigabe.",
        "operationId": "EnableAutoMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoPublishBody"
              },
              "example": {
                "periodHours": 24
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoPublish"
                },
                "example": {
                  "enabled": true,
                  "periodHours": 24,
                  "options": [
                    3
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/saved-for-later/messages/settings/disable-automatic-messaging": {
      "patch": {
        "tags": [
          "saved-for-later"
        ],
        "summary": "Automatik für Nachrichten aus",
        "description": "Schaltet das automatische Veröffentlichen gespeicherter Nachrichten aus. Braucht die Posts-Freigabe.",
        "operationId": "DisableAutoMessages",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoPublish"
                },
                "example": {
                  "enabled": true,
                  "periodHours": 24,
                  "options": [
                    3
                  ]
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/notifications": {
      "get": {
        "tags": [
          "notifications"
        ],
        "summary": "Benachrichtigungen",
        "description": "Benachrichtigungen der Plattform, neueste zuerst; type filtert (subscribed, purchases, tip, commented, mentioned, favorited, message, …), userId nur die zu einem Nutzer. Ältere mit marker = nextMarker.",
        "operationId": "ListNotifications",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "marker",
            "in": "query",
            "description": "nextMarker der vorigen Seite, für die nächste (ältere) Seite.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000167,
                      "type": "photo",
                      "subType": "Beispiel",
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isRead": true,
                      "text": "Danke fürs Abo!",
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextMarker": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/notifications/counts": {
      "get": {
        "tags": [
          "notifications"
        ],
        "summary": "Ungelesene Benachrichtigungen",
        "description": "Anzahl ungelesener Benachrichtigungen je Reiter (all, subscribed, purchases, tip, tags, commented, mentioned, favorited, message, deactivated_media, system).",
        "operationId": "GetNotificationCounts",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/notifications/search-users": {
      "get": {
        "tags": [
          "notifications"
        ],
        "summary": "Nutzer für den Filter suchen",
        "description": "Sucht Nutzer nach Name oder vollem Username (allgemeine Suche der Plattform), um die Benachrichtigungen mit userId=<id> auf einen Fan zu filtern. Die Suche findet nicht jeden Nutzer; mit der ID aus einem Chat oder der Fan-Liste geht es immer.",
        "operationId": "SearchNotificationUsers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FanPage"
                },
                "example": {
                  "items": [
                    {
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      },
                      "subscription": {
                        "subscribeAt": "2026-11-27T12:00:00Z",
                        "expiredAt": "2026-11-27T12:00:00Z",
                        "expired": false,
                        "price": 9.99,
                        "durationDays": 30,
                        "totalSpent": 9.99,
                        "subscriptionsSpent": 9.99,
                        "messagesSpent": 9.99,
                        "postsSpent": 9.99,
                        "streamsSpent": 9.99,
                        "tipsSpent": 9.99
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/notifications/mark-all-as-read": {
      "post": {
        "tags": [
          "notifications"
        ],
        "summary": "Alle als gelesen markieren",
        "description": "Markiert alle Benachrichtigungen als gelesen; Antwort: die Zähler danach, soweit die Plattform sie mitschickt (sonst {}). Für Fans nicht sichtbar.",
        "operationId": "MarkNotificationsRead",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/notifications/tabs-order": {
      "get": {
        "tags": [
          "notifications"
        ],
        "summary": "Reihenfolge der Reiter",
        "description": "Die Reihenfolge der Benachrichtigungs-Reiter, wie die Plattform sie anzeigt.",
        "operationId": "GetNotificationTabs",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      },
      "put": {
        "tags": [
          "notifications"
        ],
        "summary": "Reiter umsortieren",
        "description": "Speichert die Reihenfolge der Benachrichtigungs-Reiter (alle Reiter, „all“ zuerst). Für Fans nicht sichtbar.",
        "operationId": "SetNotificationTabs",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TabsBody"
              },
              "example": {
                "tabs": [
                  "Beispiel"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/release-forms": {
      "get": {
        "tags": [
          "release-forms"
        ],
        "summary": "Release-Forms",
        "description": "Einverständniserklärungen von Drehpartnern (nur Name, Art, Datum; Dokumente gibt die API nicht heraus); name filtert.",
        "operationId": "ListReleaseForms",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReleaseFormPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000168,
                      "name": "Nova Demo",
                      "type": "photo",
                      "createdAt": "2026-11-27T12:00:00Z"
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/release-forms/mentions": {
      "get": {
        "tags": [
          "release-forms"
        ],
        "summary": "Markierungen",
        "description": "Wo der Account von anderen markiert wurde, neueste zuerst. E-Mail-Adressen aus der Antwort der Plattform werden entfernt.",
        "operationId": "ListReleaseFormMentions",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MentionPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000169,
                      "type": "photo",
                      "createdAt": "2026-11-27T12:00:00Z",
                      "isRead": true,
                      "text": "Danke fürs Abo!",
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/release-forms/taggable-users": {
      "get": {
        "tags": [
          "release-forms"
        ],
        "summary": "Markierbare Partner",
        "description": "Wen der Account in Posts und Nachrichten markieren kann (Creator mit Freigabe, Gäste, Formulare); search filtert.",
        "operationId": "ListTaggableUsers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaggablePage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000170,
                      "name": "Nova Demo",
                      "type": "photo",
                      "user": {
                        "id": 900000101,
                        "username": "demo_fan_1",
                        "name": "Demo Fan",
                        "displayName": "Demo Fan (VIP)",
                        "avatarUrl": "https://cdn.example.com/demo/avatar-900000101.jpg",
                        "isVerified": false,
                        "isCreator": false,
                        "isSubscriber": true,
                        "subscriptionExpired": false,
                        "subscribedFor": "3 months",
                        "isFollowing": false,
                        "lastSeen": "2026-11-27T11:40:00Z",
                        "isBlocked": false,
                        "isRestricted": false,
                        "lists": [
                          {
                            "id": "900000501",
                            "name": "VIP",
                            "type": "custom"
                          }
                        ],
                        "note": "Mag Fotos aus dem Urlaub."
                      }
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/release-forms/toggle-show": {
      "patch": {
        "tags": [
          "release-forms"
        ],
        "summary": "Markierung ein-/ausblenden",
        "description": "Blendet eine Markierung ein oder aus (Umschalter). Braucht die Posts-Freigabe.",
        "operationId": "ToggleReleaseForm",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleBody"
              },
              "example": {
                "entityId": 900000171,
                "entityType": "Beispiel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/release-forms/create-invitation-link": {
      "post": {
        "tags": [
          "release-forms"
        ],
        "summary": "Einladungslink für einen Gast",
        "description": "Legt bei der Plattform einen Gast an und liefert den Link, über den er sein Release-Form ausfüllt. Braucht die Posts-Freigabe.",
        "operationId": "CreateReleaseFormInvite",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteBody"
              },
              "example": {
                "name": "Nova Demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invite"
                },
                "example": {
                  "guestId": 900000172,
                  "name": "Nova Demo",
                  "url": "https://example.com/demo"
                }
              }
            }
          }
        },
        "x-platforms": [
          "onlyfans"
        ]
      }
    },
    "/v1/accounts/{id}/vault/uploads": {
      "post": {
        "tags": [
          "vault"
        ],
        "summary": "Datei hochladen",
        "description": "Datei zur Plattform hochladen (multipart/form-data, Feld file). Ergebnis: uploadRef für uploadRefs beim Senden (24 h gültig); ist die Datei schon im Vault, stattdessen vaultMediaId. Ins Vault kommt sie erst durch das Senden. Braucht Schreib-Freigabe.",
        "operationId": "UploadMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "checkDuplicate",
            "in": "query",
            "description": "true: erst prüfen, ob die Datei schon im Vault liegt; dann kommt vaultMediaId statt eines Uploads.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "file"
                ],
                "type": "object",
                "properties": {
                  "file": {
                    "$ref": "#/components/schemas/IFormFile"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadResponse"
                },
                "example": {
                  "deduplicated": false,
                  "vaultMediaId": null,
                  "hidden": false,
                  "uploadRef": "up_CfDJ8demo…",
                  "size": 412800,
                  "eTag": "\"9b1f4c2e7a\""
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/vault/media": {
      "get": {
        "tags": [
          "vault"
        ],
        "summary": "Vault-Medien auflisten",
        "description": "Medien im Vault, neueste zuerst. folderId: nur dieser Ordner; type: photo, video, gif, audio; search: Volltext. Die id kommt in mediaIds beim Senden.",
        "operationId": "ListVaultMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "folderId",
            "in": "query",
            "description": "Nur Medien aus diesem Vault-Ordner (id aus …/vault/folders).",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Nur photo, video, gif oder audio.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "description": "Volltextsuche in den Medien.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "description": "desc (neueste zuerst, Standard) oder asc.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Medien pro Seite, 1–100, Standard 24.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultMediaPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000301,
                      "type": "photo",
                      "createdAt": "2026-11-26T18:20:00Z",
                      "isReady": true,
                      "hasError": false,
                      "durationSeconds": null,
                      "width": 1080,
                      "height": 1350,
                      "sizeBytes": 412800,
                      "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                      "squarePreviewUrl": "https://cdn.example.com/demo/900000301-square.jpg",
                      "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                      "fullUrl": "https://cdn.example.com/demo/900000301.jpg",
                      "likes": 12,
                      "tipsSum": 0,
                      "buyers": 3,
                      "hasPosts": false,
                      "folders": [
                        {
                          "id": 900000401,
                          "type": "custom",
                          "name": "Urlaub"
                        }
                      ]
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "vault"
        ],
        "summary": "Medien in den Vault hochladen",
        "description": "Lädt die Dateien (files, 1–10, multipart/form-data) hoch und schickt sie als PPV an den Vault-Träger-Chat des Accounts (eingestellter Preis, Standard 10 USD), damit der Träger sie nicht ohne Zahlung sieht. Danach stehen sie im Vault; die Antwort nennt ihre vaultMediaId (ready: fertig verarbeitet). Schon vorhandene Dateien werden nicht erneut hochgeladen. Braucht einen Träger-Chat in der Schreib-Freigabe.",
        "operationId": "AddVaultMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "price",
            "in": "query",
            "description": "PPV-Preis der Träger-Nachricht in USD (3–200); Standard: am Account eingestellt (10).",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
              "type": [
                "number",
                "string"
              ],
              "format": "double"
            }
          },
          {
            "name": "text",
            "in": "query",
            "description": "Optionaler Text der Träger-Nachricht.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "files"
                ],
                "type": "object",
                "properties": {
                  "files": {
                    "$ref": "#/components/schemas/IFormFileCollection"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultUploadResult"
                },
                "example": {
                  "messageId": 900000173,
                  "carrierChatId": 900000174,
                  "media": [
                    {
                      "vaultMediaId": 900000175,
                      "alreadyInVault": false,
                      "ready": true
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "vault"
        ],
        "summary": "Medien aus dem Vault löschen",
        "description": "Löscht bis zu 100 Medien aus dem Vault (mediaIds, confirm=true). Nicht umkehrbar; schon verschickte Nachrichten und Posts funktionieren weiter.",
        "operationId": "DeleteVaultMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "description": "Muss true sein: Löschen aus dem Vault ist nicht umkehrbar.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MediaIdsBody"
              },
              "example": {
                "mediaIds": [
                  900000176
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/vault/media/{mediaId}": {
      "get": {
        "tags": [
          "vault"
        ],
        "summary": "Vault-Medium abrufen",
        "description": "Ein Medium aus dem Vault mit Typ, Größe, Vorschau-URLs und Ordnern; die id kommt in mediaIds beim Senden.",
        "operationId": "GetVaultMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "mediaId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultMedia"
                },
                "example": {
                  "id": 900000301,
                  "type": "photo",
                  "createdAt": "2026-11-26T18:20:00Z",
                  "isReady": true,
                  "hasError": false,
                  "durationSeconds": null,
                  "width": 1080,
                  "height": 1350,
                  "sizeBytes": 412800,
                  "thumbUrl": "https://cdn.example.com/demo/900000301-thumb.jpg",
                  "squarePreviewUrl": "https://cdn.example.com/demo/900000301-square.jpg",
                  "previewUrl": "https://cdn.example.com/demo/900000301-preview.jpg",
                  "fullUrl": "https://cdn.example.com/demo/900000301.jpg",
                  "likes": 12,
                  "tipsSum": 0,
                  "buyers": 3,
                  "hasPosts": false,
                  "folders": [
                    {
                      "id": 900000401,
                      "type": "custom",
                      "name": "Urlaub"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/vault/folders": {
      "get": {
        "tags": [
          "vault"
        ],
        "summary": "Vault-Ordner auflisten",
        "description": "Vault-Ordner (eigene und Ordner der Plattform) mit Anzahl je Medientyp; all = der ganze Vault.",
        "operationId": "ListVaultFolders",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Ordner pro Seite, 1–50, Standard 10.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Startposition: nextOffset der vorigen Seite. Standard 0.",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "raw",
            "in": "query",
            "description": "true: die Originalantwort der Plattform zusätzlich im Feld raw (siehe Rohdaten).",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultFolderPage"
                },
                "example": {
                  "items": [
                    {
                      "id": 900000177,
                      "type": "custom",
                      "name": "Nova Demo",
                      "canUpdate": true,
                      "canDelete": true,
                      "photos": 3,
                      "videos": 3,
                      "gifs": 3,
                      "audios": 3
                    }
                  ],
                  "hasMore": false,
                  "nextOffset": null,
                  "all": {
                    "id": 900000178,
                    "type": "custom",
                    "name": "Nova Demo",
                    "canUpdate": true,
                    "canDelete": true,
                    "photos": 3,
                    "videos": 3,
                    "gifs": 3,
                    "audios": 3
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "vault"
        ],
        "summary": "Vault-Ordner anlegen",
        "description": "Legt einen eigenen Vault-Ordner an. Für Fans nicht sichtbar.",
        "operationId": "CreateVaultFolder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FolderName"
              },
              "example": {
                "name": "Nova Demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultFolder"
                },
                "example": {
                  "id": 900000179,
                  "type": "custom",
                  "name": "Nova Demo",
                  "canUpdate": true,
                  "canDelete": true,
                  "photos": 3,
                  "videos": 3,
                  "gifs": 3,
                  "audios": 3
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/vault/folders/{folderId}": {
      "get": {
        "tags": [
          "vault"
        ],
        "summary": "Vault-Ordner abrufen",
        "description": "Ein Vault-Ordner mit Anzahl je Medientyp. Die Medien darin: GET …/vault/media?folderId=.",
        "operationId": "GetVaultFolder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "folderId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultFolder"
                },
                "example": {
                  "id": 900000180,
                  "type": "custom",
                  "name": "Nova Demo",
                  "canUpdate": true,
                  "canDelete": true,
                  "photos": 3,
                  "videos": 3,
                  "gifs": 3,
                  "audios": 3
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "vault"
        ],
        "summary": "Vault-Ordner umbenennen",
        "description": "Ändert den Namen eines eigenen Vault-Ordners.",
        "operationId": "RenameVaultFolder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "folderId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FolderName"
              },
              "example": {
                "name": "Nova Demo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultFolder"
                },
                "example": {
                  "id": 900000181,
                  "type": "custom",
                  "name": "Nova Demo",
                  "canUpdate": true,
                  "canDelete": true,
                  "photos": 3,
                  "videos": 3,
                  "gifs": 3,
                  "audios": 3
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "vault"
        ],
        "summary": "Vault-Ordner löschen",
        "description": "Löscht einen eigenen Vault-Ordner (confirm=true). Die Medien darin bleiben im Vault.",
        "operationId": "DeleteVaultFolder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "folderId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "confirm",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/vault/folders/{folderId}/media": {
      "post": {
        "tags": [
          "vault"
        ],
        "summary": "Medien in Ordner legen",
        "description": "Legt Vault-Medien (mediaIds, bis 100) zusätzlich in einen eigenen Ordner.",
        "operationId": "AddVaultFolderMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "folderId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MediaIdsBody"
              },
              "example": {
                "mediaIds": [
                  900000182
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultFolder"
                },
                "example": {
                  "id": 900000183,
                  "type": "custom",
                  "name": "Nova Demo",
                  "canUpdate": true,
                  "canDelete": true,
                  "photos": 3,
                  "videos": 3,
                  "gifs": 3,
                  "audios": 3
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "vault"
        ],
        "summary": "Medien aus Ordner nehmen",
        "description": "Nimmt Vault-Medien (mediaIds, bis 100) aus einem Ordner; sie bleiben im Vault.",
        "operationId": "RemoveVaultFolderMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "folderId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MediaIdsBody"
              },
              "example": {
                "mediaIds": [
                  900000184
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VaultFolder"
                },
                "example": {
                  "id": 900000185,
                  "type": "custom",
                  "name": "Nova Demo",
                  "canUpdate": true,
                  "canDelete": true,
                  "photos": 3,
                  "videos": 3,
                  "gifs": 3,
                  "audios": 3
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/accounts/{id}/vault/uploads/from-url": {
      "post": {
        "tags": [
          "vault"
        ],
        "summary": "Datei per URL hochladen",
        "description": "Lädt die Datei von einer öffentlichen http(s)-Adresse und dann zur Plattform hoch; Ergebnis wie bei POST …/vault/uploads (uploadRef oder vaultMediaId). Interne Adressen werden abgelehnt. Braucht Schreib-Freigabe.",
        "operationId": "UploadMediaFromUrl",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadFromUrl"
              },
              "example": {
                "url": "https://example.com/demo",
                "fileName": "Beispiel",
                "checkDuplicate": true
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadResponse"
                },
                "example": {
                  "deduplicated": false,
                  "vaultMediaId": null,
                  "hidden": false,
                  "uploadRef": "up_CfDJ8demo…",
                  "size": 412800,
                  "eTag": "\"9b1f4c2e7a\""
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/vault/media/{mediaId}/download": {
      "get": {
        "tags": [
          "vault"
        ],
        "summary": "Vault-Medium herunterladen",
        "description": "Die Datei eines Vault-Mediums (size: full Standard, preview, thumb), über den Proxy des Accounts geladen. DRM-geschützte Videos gehen nicht.",
        "operationId": "DownloadVaultMedia",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "mediaId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/Stream"
                }
              }
            }
          }
        }
      }
    },
    "/v1/accounts/{id}/vault/download": {
      "get": {
        "tags": [
          "vault"
        ],
        "summary": "Mediendatei herunterladen",
        "description": "Lädt eine Medien-URL der Plattform (aus Nachrichten, Vault, Posts) über den Proxy des Accounts; signierte URLs laufen nach einiger Zeit ab.",
        "operationId": "DownloadCdnUrl",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "url",
            "in": "query",
            "description": "Medien-URL der Plattform (https) aus einer API-Antwort.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/Stream"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks": {
      "get": {
        "tags": [
          "webhooks"
        ],
        "summary": "Webhooks auflisten",
        "description": "Webhooks der Organisation mit Zustellstand (letzte Antwort, Fehler in Folge, Anzahl). Ein gebundener Key sieht nur Webhooks seiner Accounts.",
        "operationId": "ListWebhooks",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WebhookResponse"
                  }
                },
                "example": [
                  {
                    "id": "0193f1c2-0000-7000-8000-000000000101",
                    "name": "CRM",
                    "url": "https://example.com/nocturo/webhook",
                    "events": [
                      "message.received",
                      "subscription.new"
                    ],
                    "accountId": null,
                    "includeRaw": false,
                    "enabled": true,
                    "createdAt": "2026-11-20T09:30:00Z",
                    "lastDeliveryAt": "2026-11-27T11:42:01Z",
                    "lastStatus": 200,
                    "lastError": null,
                    "consecutiveFailures": 0,
                    "delivered": 1284
                  }
                ]
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "webhooks"
        ],
        "summary": "Webhook anlegen",
        "description": "Legt einen Webhook an. Das Signier-Secret kommt nur in dieser Antwort; damit die Signatur jeder Zustellung prüfen. Ohne accountId gilt er für alle Accounts (Key muss alle sehen).",
        "operationId": "CreateWebhook",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookCreate"
              },
              "example": {
                "name": "CRM",
                "url": "https://example.com/nocturo/webhook",
                "events": [
                  "message.received",
                  "subscription.new"
                ],
                "accountId": null,
                "includeRaw": false
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookCreated"
                },
                "example": {
                  "webhook": {
                    "id": "0193f1c2-0000-7000-8000-000000000101",
                    "name": "CRM",
                    "url": "https://example.com/nocturo/webhook",
                    "events": [
                      "message.received",
                      "subscription.new"
                    ],
                    "accountId": null,
                    "includeRaw": false,
                    "enabled": true,
                    "createdAt": "2026-11-20T09:30:00Z",
                    "lastDeliveryAt": "2026-11-27T11:42:01Z",
                    "lastStatus": 200,
                    "lastError": null,
                    "consecutiveFailures": 0,
                    "delivered": 1284
                  },
                  "secret": "whsec_beispiel_9b1f4c2e"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/{webhookId}": {
      "get": {
        "tags": [
          "webhooks"
        ],
        "summary": "Webhook abrufen",
        "description": "Ein Webhook mit Zustellstand.",
        "operationId": "GetWebhook",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponse"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000101",
                  "name": "CRM",
                  "url": "https://example.com/nocturo/webhook",
                  "events": [
                    "message.received",
                    "subscription.new"
                  ],
                  "accountId": null,
                  "includeRaw": false,
                  "enabled": true,
                  "createdAt": "2026-11-20T09:30:00Z",
                  "lastDeliveryAt": "2026-11-27T11:42:01Z",
                  "lastStatus": 200,
                  "lastError": null,
                  "consecutiveFailures": 0,
                  "delivered": 1284
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "webhooks"
        ],
        "summary": "Webhook ändern",
        "description": "Name, URL, Ereignisse, an/aus (enabled) und Rohdaten (includeRaw); nur angegebene Felder ändern sich. Account-Bindung und Secret bleiben (dafür neu anlegen).",
        "operationId": "UpdateWebhook",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookUpdate"
              },
              "example": {
                "name": "Nova Demo",
                "url": "https://example.com/nocturo/webhook",
                "events": [
                  "message.received"
                ],
                "enabled": true,
                "includeRaw": false
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponse"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000101",
                  "name": "CRM",
                  "url": "https://example.com/nocturo/webhook",
                  "events": [
                    "message.received",
                    "subscription.new"
                  ],
                  "accountId": null,
                  "includeRaw": false,
                  "enabled": true,
                  "createdAt": "2026-11-20T09:30:00Z",
                  "lastDeliveryAt": "2026-11-27T11:42:01Z",
                  "lastStatus": 200,
                  "lastError": null,
                  "consecutiveFailures": 0,
                  "delivered": 1284
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "webhooks"
        ],
        "summary": "Webhook löschen",
        "description": "Löscht den Webhook; es wird nichts mehr zugestellt.",
        "operationId": "DeleteWebhook",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/v1/webhooks/{webhookId}/test": {
      "post": {
        "tags": [
          "webhooks"
        ],
        "summary": "Webhook testen",
        "description": "Schickt ein webhook.test-Ereignis (ein Versuch, egal welche Ereignisse abonniert sind) und liefert die Antwort des Ziels.",
        "operationId": "TestWebhook",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookTestResult"
                },
                "example": {
                  "status": 200,
                  "error": null,
                  "ok": true
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/{webhookId}/deliveries": {
      "get": {
        "tags": [
          "webhooks"
        ],
        "summary": "Zustellungen eines Webhooks",
        "description": "Die Zustellungen, neueste zuerst: Ereignis, Zustand (pending, delivered, dead), Versuche, nächster Versuch, letzte Antwort. state filtert; ältere mit before = nextBefore. Versuche: sofort, nach 30 s, 2 min, 10 min, 1 h, 6 h und 24 h, danach dead.",
        "operationId": "ListWebhookDeliveries",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "before",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDeliveryPage"
                },
                "example": {
                  "items": [
                    {
                      "id": "0193f1c2-0000-7000-8000-000000000501",
                      "eventId": "0193f1c2-0000-7000-8000-000000000201",
                      "eventType": "message.received",
                      "state": "delivered",
                      "attempts": 1,
                      "createdAt": "2026-11-27T11:42:00Z",
                      "nextAt": null,
                      "deliveredAt": "2026-11-27T11:42:01Z",
                      "lastStatus": 200,
                      "lastError": null,
                      "manualAttempts": 0,
                      "retryRequested": false
                    }
                  ],
                  "hasMore": false,
                  "nextBefore": null
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/{webhookId}/deliveries/{deliveryId}": {
      "get": {
        "tags": [
          "webhooks"
        ],
        "summary": "Zustellung mit Versuchen",
        "description": "Eine Zustellung mit allen Versuchen (Zeit, Antwort, Fehler); manual = von Hand erneut gesendet.",
        "operationId": "GetWebhookDelivery",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "deliveryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDeliveryDetail"
                },
                "example": {
                  "delivery": {
                    "id": "0193f1c2-0000-7000-8000-000000000501",
                    "eventId": "0193f1c2-0000-7000-8000-000000000201",
                    "eventType": "message.received",
                    "state": "delivered",
                    "attempts": 1,
                    "createdAt": "2026-11-27T11:42:00Z",
                    "nextAt": null,
                    "deliveredAt": "2026-11-27T11:42:01Z",
                    "lastStatus": 200,
                    "lastError": null,
                    "manualAttempts": 0,
                    "retryRequested": false
                  },
                  "attempts": [
                    {
                      "number": 1,
                      "at": "2026-11-27T12:00:00Z",
                      "manual": false,
                      "status": 200,
                      "error": null
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/{webhookId}/deliveries/{deliveryId}/retry": {
      "post": {
        "tags": [
          "webhooks"
        ],
        "summary": "Zustellung erneut senden",
        "description": "Stellt eine Zustellung binnen Sekunden noch einmal zu, als manueller Versuch (in der Historie manual). Der automatische Plan bleibt, wie er ist; scheitert der manuelle Versuch, bleibt die Zustellung, wie sie war (aufgegebene ohne weitere automatische Versuche). Der Empfänger erkennt die Wiederholung an X-Nocturo-Delivery.",
        "operationId": "RetryWebhookDelivery",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "deliveryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Optional, 1–255 sichtbare ASCII-Zeichen. Gleiche Anfrage mit gleichem Key binnen 24 h: gespeicherte Antwort mit Idempotent-Replayed: true, keine zweite Ausführung. 409 idempotency_in_progress, solange die erste läuft; 422 idempotency_mismatch bei anderem Pfad oder Inhalt. Siehe Doku „Idempotency“.",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDeliveryInfo"
                },
                "example": {
                  "id": "0193f1c2-0000-7000-8000-000000000501",
                  "eventId": "0193f1c2-0000-7000-8000-000000000201",
                  "eventType": "message.received",
                  "state": "delivered",
                  "attempts": 1,
                  "createdAt": "2026-11-27T11:42:00Z",
                  "nextAt": null,
                  "deliveredAt": "2026-11-27T11:42:01Z",
                  "lastStatus": 200,
                  "lastError": null,
                  "manualAttempts": 0,
                  "retryRequested": false
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/events": {
      "get": {
        "tags": [
          "webhooks"
        ],
        "summary": "Ereignistypen",
        "description": "Alle Ereignistypen, die Webhooks und /v1/events liefern, mit Kategorie und Beschreibung.",
        "operationId": "ListWebhookEvents",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventType"
                  }
                },
                "example": [
                  {
                    "type": "photo",
                    "category": "Beispiel",
                    "description": "Beispiel"
                  }
                ]
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/events/{type}/example": {
      "get": {
        "tags": [
          "webhooks"
        ],
        "summary": "Beispiel-Payload",
        "description": "Ein vollständiger Beispiel-Body (Rahmen und data) für diesen Ereignistyp.",
        "operationId": "GetWebhookEventExample",
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonNode"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountChange": {
        "type": "object",
        "properties": {
          "label": {
            "type": [
              "null",
              "string"
            ],
            "description": "Eigener Name; \"\" entfernt ihn."
          },
          "writePolicy": {
            "type": [
              "null",
              "string"
            ],
            "description": "off, allowlist oder all; braucht einen Key mit vollen Rechten."
          },
          "writeAllowlist": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Chat-IDs (Plattform-IDs der Fans), an die bei allowlist geschrieben werden darf."
          },
          "proxyUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neuer Proxy; \"\" = keiner (Server-IP)."
          },
          "vaultCarrierChatId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Träger-Chat für Uploads in den Vault; 0 = aus. Der Chat muss in der Schreib-Freigabe stehen; braucht einen Key mit vollen Rechten.",
            "format": "int64"
          },
          "vaultCarrierPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis der Träger-Nachrichten in USD (3–200, Standard 10).",
            "format": "double"
          },
          "postsAllowed": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Posts über /v1 erlauben (veröffentlichen, ändern, löschen; erreichen alle Fans); braucht einen Key mit vollen Rechten."
          }
        },
        "description": "Änderungen an einem Account; nicht gesetzte Felder bleiben, wie sie sind."
      },
      "AccountEvent": {
        "required": [
          "id",
          "type",
          "accountId",
          "platform",
          "platformUserId",
          "username",
          "at",
          "chatId",
          "data",
          "raw"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID des Ereignisses; gleich bei Webhook, SSE und Verlauf, zum Entdoppeln.",
            "format": "uuid"
          },
          "type": {
            "type": "string",
            "description": "Typ des Ereignisses, z. B. message.received; Liste: GET /v1/webhooks/events."
          },
          "accountId": {
            "type": "string",
            "description": "Account, zu dem das Ereignis gehört; 00000000-… bei einem Account, dessen Login noch läuft.",
            "format": "uuid"
          },
          "platform": {
            "type": [
              "null",
              "string"
            ],
            "description": "Plattform des Accounts, z. B. onlyfans; null bei Ereignissen ohne Account."
          },
          "platformUserId": {
            "type": "string",
            "description": "ID des Accounts auf der Plattform; leer bei Ereignissen ohne Account."
          },
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Benutzername des Accounts auf der Plattform."
          },
          "at": {
            "type": "string",
            "description": "Zeitpunkt des Ereignisses.",
            "format": "date-time"
          },
          "chatId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Chat, zu dem das Ereignis gehört; null, wenn es keinen gibt.",
            "format": "int64"
          },
          "data": {
            "description": "Inhalt des Ereignisses; der Aufbau hängt vom Typ ab."
          },
          "raw": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonNode"
              }
            ],
            "description": "Originaldaten der Plattform; nur, wenn sie angefordert wurden."
          }
        },
        "description": "Ein Ereignis, wie Anwendungen es bekommen (Webhook, /v1/events, Verlauf)."
      },
      "AccountPage": {
        "required": [
          "items",
          "hasMore",
          "nextAfter"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountResponse"
            },
            "description": "Die Accounts dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Accounts."
          },
          "nextAfter": {
            "type": [
              "null",
              "string"
            ],
            "description": "Als after für die nächste Seite übergeben; null auf der letzten Seite.",
            "format": "uuid"
          }
        },
        "description": "Eine Seite der Accounts, älteste zuerst."
      },
      "AccountResponse": {
        "required": [
          "id",
          "platformUserId",
          "username",
          "displayName",
          "status",
          "statusMessage",
          "proxy",
          "sessionCapturedAt",
          "lastCheckedAt",
          "writes",
          "build",
          "observedBuild",
          "buildBehind",
          "rulesVerifiedAt",
          "rulesSource"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID des Accounts bei nocturo connect (UUID); steht in Pfaden als {id}.",
            "format": "uuid"
          },
          "platformUserId": {
            "type": "string",
            "description": "ID des Accounts auf der Plattform."
          },
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Benutzername auf der Plattform, ohne @."
          },
          "displayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Anzeigename auf der Plattform."
          },
          "status": {
            "type": "string",
            "description": "Stand der Session: connected (gültig), needs_reauth (neuer Login nötig), suspended (im Portal pausiert) oder banned (gesperrt)."
          },
          "statusMessage": {
            "type": [
              "null",
              "string"
            ],
            "description": "Erklärung zum Status für Menschen; null, wenn es nichts zu erklären gibt."
          },
          "proxy": {
            "type": [
              "null",
              "string"
            ],
            "description": "Proxy des Accounts (Host und Port, ohne Zugangsdaten); null, wenn keiner eingestellt ist."
          },
          "sessionCapturedAt": {
            "type": "string",
            "description": "Zeitpunkt des Logins, aus dem die gespeicherte Session stammt.",
            "format": "date-time"
          },
          "lastCheckedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Letzte Prüfung der Session durch den Dienst.",
            "format": "date-time"
          },
          "writes": {
            "type": "string",
            "description": "Schreib-Freigabe: off, allowlist oder all – was /v1 bei der Plattform für diesen Account ändern darf."
          },
          "build": {
            "type": "string",
            "description": "Version der Web-App der Plattform, für die die Session signiert."
          },
          "observedBuild": {
            "type": [
              "null",
              "string"
            ],
            "description": "Version der Web-App, die die Plattform in ihrer letzten Antwort genannt hat."
          },
          "buildBehind": {
            "type": "boolean",
            "description": "true: Die Plattform hat seitdem eine neuere Version ausgeliefert. Der Dienst übernimmt bestätigte Regeln anderer Accounts selbst."
          },
          "rulesVerifiedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Letzte erfolgreiche Antwort mit den aktuellen Signier-Regeln.",
            "format": "date-time"
          },
          "rulesSource": {
            "type": [
              "null",
              "string"
            ],
            "description": "Herkunft der aktuellen Signier-Regeln, z. B. aus dem Login oder von einem anderen Account übernommen."
          },
          "label": {
            "type": [
              "null",
              "string"
            ],
            "description": "Eigener Name des Accounts bei nocturo connect."
          },
          "writeAllowlist": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Chat-IDs (Plattform-IDs der Fans), an die bei writes = allowlist geschrieben werden darf."
          },
          "vaultCarrierChatId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Träger-Chat für Uploads in den Vault (POST …/vault/media); null, wenn keiner eingestellt ist.",
            "format": "int64"
          },
          "vaultCarrierPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis der Träger-Nachrichten in USD.",
            "format": "double"
          },
          "postsAllowed": {
            "type": "boolean",
            "description": "true: Posts dürfen über /v1 veröffentlicht, geändert und gelöscht werden.",
            "default": false
          },
          "platform": {
            "type": "string",
            "description": "Plattform des Accounts, z. B. onlyfans.",
            "default": "onlyfans"
          },
          "lastError": {
            "type": [
              "null",
              "string"
            ],
            "description": "Letztes vorübergehendes Problem (Proxy, Netz); null nach einem erfolgreichen Aufruf."
          },
          "lastErrorAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt von lastError.",
            "format": "date-time"
          }
        },
        "description": "Ein verbundener Account mit dem Stand seiner Session."
      },
      "AutoPublish": {
        "required": [
          "enabled",
          "periodHours",
          "options"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "description": "true: Die Plattform veröffentlicht die Einträge nach und nach."
          },
          "periodHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Solange eingeschaltet, wird alle so viele Stunden ein gespeicherter Eintrag veröffentlicht.",
            "format": "int32"
          },
          "options": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            },
            "description": "Abstände, die die Plattform anbietet."
          }
        },
        "description": "Automatisches Veröffentlichen der für später gespeicherten Einträge."
      },
      "AutoPublishBody": {
        "required": [
          "periodHours"
        ],
        "type": "object",
        "properties": {
          "periodHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Abstand in Stunden: 6, 12, 24 oder 48 (Auswahl der Plattform).",
            "format": "int32"
          }
        }
      },
      "BlockedBody": {
        "required": [
          "countries"
        ],
        "type": "object",
        "properties": {
          "countries": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "ISO-Ländercodes, z. B. [\"AF\"]; [] = keine."
          },
          "states": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "US-Bundesstaaten, wie die Plattform sie nennt."
          }
        }
      },
      "BlockedCountries": {
        "required": [
          "countries",
          "states"
        ],
        "type": "object",
        "properties": {
          "countries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "ISO-Ländercodes, z. B. [\"AF\"]."
          },
          "states": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "US-Bundesstaaten, wie die Plattform sie nennt."
          }
        },
        "description": "Länder und US-Bundesstaaten, aus denen das Profil nicht sichtbar ist."
      },
      "Bundle": {
        "required": [
          "id",
          "durationMonths",
          "discount",
          "price",
          "canBuy"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Angebots bei der Plattform; steht in Pfaden als {bundleId}.",
            "format": "int64"
          },
          "durationMonths": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Laufzeit in Monaten.",
            "format": "int32"
          },
          "discount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Rabatt auf den Abo-Preis in Prozent.",
            "format": "int32"
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Gesamtpreis des Pakets in USD, wie die Plattform ihn berechnet.",
            "format": "double"
          },
          "canBuy": {
            "type": "boolean",
            "description": "true: Fans können das Angebot kaufen."
          }
        },
        "description": "Ein Mehrmonats-Angebot für das Abo."
      },
      "BuyerPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatUser"
            },
            "description": "Die Käufer dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Käufer einer Massennachricht."
      },
      "CategoryTotal": {
        "required": [
          "category",
          "net",
          "gross",
          "daysWithIncome"
        ],
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "subscriptions, tips, messages, posts, streams oder referrals."
          },
          "net": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Netto-Umsatz der Kategorie in USD (nach dem Anteil der Plattform).",
            "format": "double"
          },
          "gross": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Umsatz der Kategorie vor dem Anteil der Plattform, in USD.",
            "format": "double"
          },
          "daysWithIncome": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Tage im Zeitraum mit Einnahmen in dieser Kategorie; Verkäufe: GET …/earnings.",
            "format": "int32"
          }
        }
      },
      "Chargeback": {
        "required": [
          "id",
          "createdAt",
          "paymentAt",
          "amount",
          "fee",
          "net",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID der Rückbuchung bei der Plattform.",
            "format": "int64"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Rückbuchung.",
            "format": "date-time"
          },
          "paymentAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der ursprünglichen Zahlung.",
            "format": "date-time"
          },
          "amount": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Betrag der ursprünglichen Zahlung, wie die Plattform ihn meldet.",
            "format": "double"
          },
          "fee": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Gebühr der ursprünglichen Zahlung, wie die Plattform sie meldet.",
            "format": "double"
          },
          "net": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Netto-Betrag der ursprünglichen Zahlung, wie die Plattform ihn meldet.",
            "format": "double"
          },
          "description": {
            "type": "string",
            "description": "Beschreibung der Zahlung, ohne HTML."
          }
        },
        "description": "Eine zurückgebuchte Zahlung."
      },
      "ChargebackPage": {
        "required": [
          "items",
          "hasMore",
          "nextMarker"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Chargeback"
            },
            "description": "Die Rückbuchungen dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Die Seite ist voll; nur dann lohnt die nächste Seite."
          },
          "nextMarker": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Als marker für die nächste Seite übergeben; null, wenn hasMore false ist.",
            "format": "int64"
          }
        },
        "description": "Eine Seite der Rückbuchungen."
      },
      "ChargebackRatio": {
        "required": [
          "from",
          "to",
          "ratio"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "ratio": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "ChargebackStats": {
        "required": [
          "from",
          "to",
          "total",
          "deltaPercent",
          "amountPerPeriod",
          "countPerPeriod"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Summe des Zeitraums, wie die Plattform sie meldet.",
            "format": "double"
          },
          "deltaPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Änderung gegenüber dem vorigen Zeitraum, wie die Plattform sie meldet; null, wenn keine.",
            "format": "double"
          },
          "amountPerPeriod": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeriodValue"
            },
            "description": "Betrag je Punkt der Kurve."
          },
          "countPerPeriod": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeriodValue"
            },
            "description": "Anzahl je Punkt der Kurve."
          }
        },
        "description": "Rückbuchungen eines Zeitraums als Summe und Kurven."
      },
      "Chat": {
        "required": [
          "chatId",
          "user",
          "unreadCount",
          "hasUnreadTips",
          "isMuted",
          "canSendMessage",
          "cannotSendReason",
          "pinnedMessages",
          "lastReadMessageId",
          "lastMessage"
        ],
        "type": "object",
        "properties": {
          "chatId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Chats; gleich der Plattform-ID des Gegenübers.",
            "format": "int64"
          },
          "user": {
            "description": "Das Gegenüber im Chat.",
            "$ref": "#/components/schemas/ChatUser"
          },
          "unreadCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Ungelesene Nachrichten in diesem Chat.",
            "format": "int32"
          },
          "hasUnreadTips": {
            "type": "boolean",
            "description": "true: Unter den ungelesenen Nachrichten ist ein Tip."
          },
          "isMuted": {
            "type": "boolean",
            "description": "Benachrichtigungen für diesen Chat sind stummgeschaltet."
          },
          "canSendMessage": {
            "type": "boolean",
            "description": "Der Account kann in diesem Chat gerade schreiben."
          },
          "cannotSendReason": {
            "type": [
              "null",
              "string"
            ],
            "description": "Grund, wenn canSendMessage false ist."
          },
          "pinnedMessages": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl angehefteter Nachrichten.",
            "format": "int32"
          },
          "lastReadMessageId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Letzte Nachricht, die das Gegenüber gelesen hat.",
            "format": "int64"
          },
          "lastMessage": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/LastMessage"
              }
            ],
            "description": "Die neueste Nachricht des Chats, wie die Chatliste sie zeigt."
          }
        },
        "description": "Ein Chat mit einem Fan."
      },
      "ChatPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Chat"
            },
            "description": "Die Chats dieser Seite, neueste zuerst."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Chatliste."
      },
      "ChatUser": {
        "required": [
          "id",
          "username",
          "name",
          "displayName",
          "avatarUrl",
          "isVerified",
          "isCreator",
          "isSubscriber",
          "subscriptionExpired",
          "subscribedFor",
          "isFollowing",
          "lastSeen",
          "isBlocked",
          "isRestricted",
          "lists"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Nutzers; zugleich die Chat-ID.",
            "format": "int64"
          },
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Benutzername, ohne @."
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name, wie der Nutzer ihn selbst angibt."
          },
          "displayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Eigener Anzeigename, den der Account für diesen Nutzer vergeben hat; nicht der Name des Nutzers."
          },
          "avatarUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Profilbild."
          },
          "isVerified": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Der Nutzer ist auf der Plattform verifiziert."
          },
          "isCreator": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Der Nutzer ist selbst Creator."
          },
          "isSubscriber": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Der Nutzer hat diesen Account abonniert."
          },
          "subscriptionExpired": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Das Abo des Nutzers für diesen Account ist abgelaufen."
          },
          "subscribedFor": {
            "type": [
              "null",
              "string"
            ],
            "description": "Wie lange der Nutzer abonniert ist, so wie die Plattform es formuliert (z. B. „1 year“)."
          },
          "isFollowing": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Dieser Account hat den Nutzer abonniert, typisch bei einem anderen Creator."
          },
          "lastSeen": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zuletzt online.",
            "format": "date-time"
          },
          "isBlocked": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Der Account hat den Nutzer blockiert."
          },
          "isRestricted": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Der Account hat den Nutzer eingeschränkt."
          },
          "lists": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/UserList"
            },
            "description": "Eigene Listen des Accounts, in denen der Nutzer steht; null, wenn die Plattform sie nicht mitgeschickt hat."
          },
          "note": {
            "type": [
              "null",
              "string"
            ],
            "description": "Private Notiz des Accounts zu diesem Fan; die Plattform schickt sie in Chatlisten mit."
          }
        },
        "description": "Das Gegenüber in einem Chat, meist ein Fan; seine ID ist auch die Chat-ID."
      },
      "Cohort": {
        "required": [
          "month",
          "subscribers",
          "paying",
          "revenue",
          "arps"
        ],
        "type": "object",
        "properties": {
          "month": {
            "type": "string",
            "description": "Monat, in dem die Fans abonniert haben (JJJJ-MM)."
          },
          "subscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Abonnenten der Kohorte.",
            "format": "int32"
          },
          "paying": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Davon Abonnenten mit Ausgaben > 0.",
            "format": "int32"
          },
          "revenue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Gesamte Ausgaben der Kohorte (USD, netto, wie die Plattform sie meldet).",
            "format": "double"
          },
          "arps": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Durchschnittlicher Umsatz je Abonnent der Kohorte.",
            "format": "double"
          }
        },
        "description": "Fans eines Links, die im selben Monat abonniert haben."
      },
      "CohortReport": {
        "required": [
          "linkId",
          "cohorts",
          "lookedUp",
          "truncated"
        ],
        "type": "object",
        "properties": {
          "linkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links.",
            "format": "int64"
          },
          "cohorts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Cohort"
            },
            "description": "Die Kohorten, je Monat eine."
          },
          "lookedUp": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Wie viele Abonnenten bzw. Einlöser ausgewertet wurden.",
            "format": "int32"
          },
          "truncated": {
            "type": "boolean",
            "description": "true: Obergrenze erreicht (Tracking-Links 100 Abonnenten, Trial-Links 500 Einlöser); Umsatz und ARPS sind Mindestwerte."
          }
        },
        "description": "Umsatz eines Links nach Abo-Monat."
      },
      "CommentBody": {
        "required": [
          "text"
        ],
        "type": "object",
        "properties": {
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "Text des Kommentars; bei POST …/posts/labels der Name des neuen Labels."
          }
        }
      },
      "ConnectRequest": {
        "required": [
          "email",
          "password"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": [
              "null",
              "string"
            ],
            "description": "E-Mail des Logins bei der Plattform."
          },
          "password": {
            "type": [
              "null",
              "string"
            ],
            "description": "Passwort des Logins; wird nicht gespeichert."
          },
          "totpSecret": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional: 2FA-Schlüssel des Accounts, damit der Login den Code selbst eingibt; wird nicht gespeichert."
          },
          "proxyUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional: Proxy für den neuen Account (http(s) oder socks5, mit Zugangsdaten)."
          },
          "poolProxyId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional: ein freier Proxy aus dem Pool der Organisation, statt proxyUrl.",
            "format": "uuid"
          },
          "teamId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Team des neuen Accounts; ein an ein Team gebundener Key nutzt immer sein Team.",
            "format": "uuid"
          },
          "label": {
            "type": [
              "null",
              "string"
            ],
            "description": "Eigener Name des Accounts."
          }
        },
        "description": "Login eines neuen Accounts im Browser."
      },
      "CountryVisits": {
        "required": [
          "rank",
          "countryCode",
          "countryName",
          "total",
          "guests",
          "users"
        ],
        "type": "object",
        "properties": {
          "rank": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Platz in der Liste der Länder.",
            "format": "int32"
          },
          "countryCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ländercode, z. B. DE."
          },
          "countryName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name des Landes, wie die Plattform ihn nennt."
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Besuche aus dem Land.",
            "format": "int32"
          },
          "guests": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Davon ohne Konto bei der Plattform.",
            "format": "int32"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Davon von angemeldeten Nutzern der Plattform.",
            "format": "int32"
          }
        },
        "description": "Besuche des Profils aus einem Land."
      },
      "CreateBundle": {
        "required": [
          "durationMonths",
          "discount"
        ],
        "type": "object",
        "properties": {
          "durationMonths": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Laufzeit in Monaten: 3, 6 oder 12.",
            "format": "int32"
          },
          "discount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Rabatt auf den Abo-Preis in Prozent; die Plattform rechnet daraus den Preis.",
            "format": "int32"
          }
        }
      },
      "CreateExport": {
        "required": [
          "kind"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "transactions, fans, messages, mass_messages oder tracking_links."
          },
          "accountIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Accounts für den Export; leer = alle, die der Key sieht."
          },
          "from": {
            "type": [
              "null",
              "string"
            ],
            "description": "Erster Tag des Zeitraums (UTC) bei Arten mit Zeitraum; Standard 29 Tage vor to.",
            "format": "date"
          },
          "to": {
            "type": [
              "null",
              "string"
            ],
            "description": "Letzter Tag des Zeitraums (UTC); Standard heute.",
            "format": "date"
          },
          "maxChats": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Nur messages: höchstens so viele Chats je Account, neueste zuerst; null = alle.",
            "format": "int32"
          },
          "maxMessages": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Nur messages: höchstens so viele Nachrichten je Account; Standard 10.000.",
            "format": "int32"
          },
          "skipMassMessages": {
            "type": "boolean",
            "description": "Nur messages: Kopien von Massennachrichten weglassen.",
            "default": false
          },
          "fanIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Nur messages: nur diese Chats (Plattform-IDs der Fans)."
          },
          "maxFans": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Nur fans: höchstens so viele Fans je Account; Standard 5.000.",
            "format": "int32"
          }
        }
      },
      "CreateHighlight": {
        "required": [
          "title",
          "storyIds"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ],
            "description": "Titel des Highlights."
          },
          "storyIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Die Storys des Highlights in Reihenfolge."
          },
          "coverStoryId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Story als Titelbild; Standard die erste.",
            "format": "int64"
          }
        }
      },
      "CreatePost": {
        "required": [
          "text"
        ],
        "type": "object",
        "properties": {
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "Text; Zeilenumbrüche bleiben erhalten."
          },
          "mediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Medien aus dem Vault."
          },
          "uploadRefs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Frische Uploads aus POST …/vault/uploads."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "0 = kostenlos für Abonnenten; > 0 = bezahlter Post (PPV im Feed).",
            "format": "double"
          },
          "previewMediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Kostenlose Vorschau eines bezahlten Posts (muss auch in mediaIds stehen)."
          },
          "labelIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Eigene Post-Labels (GET …/posts/labels)."
          },
          "scheduledAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Später veröffentlichen (ISO 8601 mit Zeitzone, 5 Minuten bis 1 Jahr voraus); null = sofort.",
            "format": "date-time"
          },
          "saveForLater": {
            "type": "boolean",
            "description": "true: nicht veröffentlichen, sondern ohne Termin für später speichern (GET …/saved-for-later/posts).",
            "default": false
          },
          "taggedUserIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Markierte Mitwirkende an den Medien (Plattform-IDs)."
          }
        }
      },
      "CreatePromotion": {
        "required": [
          "discount"
        ],
        "type": "object",
        "properties": {
          "discount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Rabatt auf den Abo-Preis in Prozent, 1–100 (100 = kostenlos).",
            "format": "int32"
          },
          "audience": {
            "type": [
              "null",
              "string"
            ],
            "description": "all (neue und abgelaufene), new oder expired.",
            "default": "all"
          },
          "maxClaims": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Höchstzahl der Einlösungen; null = ohne Grenze.",
            "format": "int32"
          },
          "subscribeDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Dauer des vergünstigten Zugangs in Tagen; Standard des Editors der Plattform: 30.",
            "format": "int32",
            "default": 30
          },
          "message": {
            "type": [
              "null",
              "string"
            ],
            "description": "Text der Aktion für die Fans; null = ohne Text."
          },
          "endsInDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Das Angebot endet nach so vielen Tagen; 0 = wenn es gestoppt wird.",
            "format": "int32",
            "default": 0
          }
        }
      },
      "CreateStory": {
        "required": [
          "uploadRefs"
        ],
        "type": "object",
        "properties": {
          "uploadRefs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Frische Uploads aus POST …/vault/uploads mit checkDuplicate=false; Storys nehmen keine Vault-IDs."
          },
          "caption": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optionaler Text auf der Story."
          }
        }
      },
      "CreateTrackingLink": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name des neuen Links."
          }
        }
      },
      "CreateTrialLink": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name des neuen Links."
          },
          "freeDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Kostenloser Zugang in Tagen (die Plattform bietet 1–30).",
            "format": "int32",
            "default": 7
          },
          "maxClaims": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Wie oft das Angebot genutzt werden kann; 0 = ohne Grenze.",
            "format": "int32",
            "default": 0
          },
          "expireDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Der Link läuft nach so vielen Tagen ab; 0 = nie.",
            "format": "int32",
            "default": 0
          }
        }
      },
      "DayCount": {
        "required": [
          "day",
          "posts",
          "messages"
        ],
        "type": "object",
        "properties": {
          "day": {
            "type": "string",
            "description": "Der Tag (JJJJ-MM-TT).",
            "format": "date"
          },
          "posts": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Geplante Posts an diesem Tag.",
            "format": "int32"
          },
          "messages": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Geplante Nachrichten an diesem Tag.",
            "format": "int32"
          }
        },
        "description": "Geplante Einträge eines Tages im Planungskalender."
      },
      "DayValue": {
        "required": [
          "day",
          "value"
        ],
        "type": "object",
        "properties": {
          "day": {
            "type": "string",
            "description": "Der Tag (JJJJ-MM-TT, UTC).",
            "format": "date"
          },
          "value": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Betrag (netto, USD) oder Anzahl an diesem Tag.",
            "format": "double"
          }
        },
        "description": "Ein UTC-Tag einer Kurve: Betrag (netto, USD) oder Anzahl."
      },
      "DirectMessageStat": {
        "required": [
          "id",
          "messageId",
          "toUserId",
          "sentAt",
          "text",
          "price",
          "purchases",
          "views",
          "mediaCount"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Statistik-ID der Plattform.",
            "format": "int64"
          },
          "messageId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Die Nachricht im Chat (für …/chats/{toUserId}/messages); id ist die Statistik-ID der Plattform.",
            "format": "int64"
          },
          "toUserId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Fans; zugleich die Chat-ID.",
            "format": "int64"
          },
          "sentAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Nachricht.",
            "format": "date-time"
          },
          "text": {
            "type": "string",
            "description": "Text der Nachricht."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis in USD; null bei kostenlosen Nachrichten.",
            "format": "double"
          },
          "purchases": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Käufe der Nachricht.",
            "format": "int32"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Aufrufe der Nachricht.",
            "format": "int32"
          },
          "mediaCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Medien.",
            "format": "int32"
          }
        },
        "description": "Eine Direktnachricht mit Käufen und Aufrufen, wie die Statistikseite der Plattform sie führt."
      },
      "DirectMessageStats": {
        "required": [
          "items",
          "hasMore"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectMessageStat"
            },
            "description": "Die Nachrichten."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere."
          }
        },
        "description": "Direktnachrichten eines Zeitraums mit Käufen und Aufrufen."
      },
      "Drm": {
        "required": [
          "enabled"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "description": "true: eingeschaltet."
          }
        },
        "description": "DRM-Schutz der Plattform für Videos."
      },
      "DrmBody": {
        "required": [
          "enabled"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: einschalten, false: ausschalten; gilt für neue Uploads."
          }
        }
      },
      "EarningPeriod": {
        "required": [
          "start",
          "net",
          "gross",
          "categories"
        ],
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "description": "Erster Tag des Abschnitts (bei Wochen der Montag, bei Monaten der Monatserste).",
            "format": "date"
          },
          "net": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Netto-Umsatz des Abschnitts in USD.",
            "format": "double"
          },
          "gross": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Umsatz des Abschnitts vor dem Anteil der Plattform, in USD.",
            "format": "double"
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoryTotal"
            },
            "description": "Je Kategorie mit Umsatz eine Zeile, höchster Netto-Umsatz zuerst."
          }
        },
        "description": "Ein Tag, eine Woche oder ein Monat mit Umsatz."
      },
      "EarningsCategory": {
        "required": [
          "net",
          "gross",
          "delta",
          "sales",
          "netPerDay",
          "salesPerDay"
        ],
        "type": "object",
        "properties": {
          "net": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Umsatz im Zeitraum nach dem Anteil der Plattform.",
            "format": "double"
          },
          "gross": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Umsatz vor dem Anteil der Plattform, wie sie ihn meldet.",
            "format": "double"
          },
          "delta": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Änderung gegenüber dem vorigen Zeitraum, wie die Plattform sie meldet; der Wert wird unverändert weitergegeben.",
            "format": "double"
          },
          "sales": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Summe der täglichen Anzahlen.",
            "format": "int32"
          },
          "netPerDay": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayValue"
            },
            "description": "Netto-Umsatz je UTC-Tag."
          },
          "salesPerDay": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayValue"
            },
            "description": "Anzahl der Verkäufe je UTC-Tag."
          }
        }
      },
      "EarningsSummary": {
        "required": [
          "from",
          "to",
          "categories"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "categories": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/EarningsCategory"
            },
            "description": "total, subscriptions, tips, messages, posts, streams, referrals (die, zu denen die Plattform geantwortet hat)."
          }
        }
      },
      "EarningStatistics": {
        "required": [
          "from",
          "to",
          "by",
          "net",
          "gross",
          "periods"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "by": {
            "type": "string",
            "description": "Zusammenfassung: day, week (ab Montag) oder month."
          },
          "net": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Netto-Umsatz des Zeitraums in USD.",
            "format": "double"
          },
          "gross": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Umsatz des Zeitraums vor dem Anteil der Plattform, in USD.",
            "format": "double"
          },
          "periods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EarningPeriod"
            },
            "description": "Die Abschnitte mit Umsatz, älteste zuerst."
          }
        },
        "description": "Umsätze eines Zeitraums, zusammengefasst je Tag, Woche oder Monat."
      },
      "EditPost": {
        "required": [
          "text"
        ],
        "type": "object",
        "properties": {
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neuer Text; null = bleibt."
          },
          "mediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Neue Medien (Vault-IDs); null = bleiben."
          },
          "labelIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Neue eigene Labels; [] = keine; null = bleiben."
          },
          "taggedUserIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Markierte Mitwirkende; [] = keine; null = bleiben."
          }
        }
      },
      "EditQueued": {
        "type": "object",
        "properties": {
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neuer Text; null = bleibt."
          },
          "scheduledAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neuer Zeitpunkt; null = bleibt. saveForLater=true entfernt den Termin.",
            "format": "date-time"
          },
          "saveForLater": {
            "type": "boolean",
            "description": "true: Termin entfernen und für später speichern.",
            "default": false
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Neuer PPV-Preis; null = bleibt.",
            "format": "double"
          },
          "mediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Neue Medien (Vault-IDs); null = bleiben."
          },
          "taggedUserIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Neue markierte Mitwirkende; null = bleiben."
          }
        }
      },
      "EventHistory": {
        "required": [
          "items",
          "hasMore",
          "nextAfter"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountEvent"
            },
            "description": "Die Ereignisse dieser Seite, älteste zuerst."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Ereignisse."
          },
          "nextAfter": {
            "type": [
              "null",
              "string"
            ],
            "description": "Als after für die nächste Seite übergeben.",
            "format": "uuid"
          }
        },
        "description": "Eine Seite des Ereignis-Verlaufs."
      },
      "EventType": {
        "required": [
          "type",
          "category",
          "description"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Name des Typs, z. B. message.received."
          },
          "category": {
            "type": "string",
            "description": "Bereich, z. B. Nachrichten oder Account."
          },
          "description": {
            "type": "string",
            "description": "Wann das Ereignis kommt."
          }
        },
        "description": "Ein Ereignistyp."
      },
      "ExportCancelled": {
        "required": [
          "cancelledOrDeleted"
        ],
        "type": "object",
        "properties": {
          "cancelledOrDeleted": {
            "type": "string",
            "description": "ID des Exports.",
            "format": "uuid"
          }
        },
        "description": "Bestätigung: Export abgebrochen oder gelöscht."
      },
      "ExportResponse": {
        "required": [
          "id",
          "kind",
          "state",
          "progress",
          "rows",
          "error",
          "accountIds",
          "from",
          "to",
          "createdAt",
          "finishedAt",
          "sizeBytes",
          "downloadUrl"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID des Exports; steht in Pfaden als {exportId}.",
            "format": "uuid"
          },
          "kind": {
            "type": "string",
            "description": "Art des Exports."
          },
          "state": {
            "type": "string",
            "description": "queued, running, done, failed oder cancelled."
          },
          "progress": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fortschritt als Text; null, wenn keiner läuft."
          },
          "rows": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Zeilen der Datei bisher.",
            "format": "int32"
          },
          "error": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fehler bei state = failed; sonst null."
          },
          "accountIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Accounts im Export."
          },
          "from": {
            "type": [
              "null",
              "string"
            ],
            "description": "Erster Tag des Zeitraums.",
            "format": "date"
          },
          "to": {
            "type": [
              "null",
              "string"
            ],
            "description": "Letzter Tag des Zeitraums.",
            "format": "date"
          },
          "createdAt": {
            "type": "string",
            "description": "Anlage des Exports.",
            "format": "date-time"
          },
          "finishedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ende des Exports; null, solange er läuft.",
            "format": "date-time"
          },
          "sizeBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Größe der Datei in Byte; null, solange es keine gibt.",
            "format": "int64"
          },
          "downloadUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Pfad zum Herunterladen, sobald state = done; sonst null."
          }
        },
        "description": "Ein Export mit seinem Stand."
      },
      "Fan": {
        "required": [
          "user",
          "subscription"
        ],
        "type": "object",
        "properties": {
          "user": {
            "description": "Der Fan.",
            "$ref": "#/components/schemas/ChatUser"
          },
          "subscription": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/FanSubscription"
              }
            ],
            "description": "Abo und Ausgaben des Fans; null, wenn die Plattform keine Abo-Daten mitschickt."
          }
        }
      },
      "FanList": {
        "required": [
          "id",
          "type",
          "name",
          "usersCount"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Eine Zahl bei eigenen Listen, ein Wort bei Listen der Plattform (fans, following, …)."
          },
          "type": {
            "type": "string",
            "description": "Art der Liste, wie die Plattform sie nennt."
          },
          "name": {
            "type": "string",
            "description": "Name der Liste."
          },
          "usersCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Mitglieder der Liste; null, wenn die Plattform keine Zahl nennt.",
            "format": "int32"
          }
        },
        "description": "Eine Fan-Liste: eigene oder eine Liste der Plattform."
      },
      "FanListPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FanList"
            },
            "description": "Die Listen dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Fan-Listen."
      },
      "FanNote": {
        "required": [
          "userId",
          "note",
          "displayName"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Fans.",
            "format": "int64"
          },
          "note": {
            "type": "string",
            "description": "Private Notiz des Accounts zum Fan; \"\", wenn es keine gibt."
          },
          "displayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Eigener Name des Accounts für den Fan; null, wenn es keinen gibt."
          }
        },
        "description": "Notiz und eigener Name des Accounts für einen Fan."
      },
      "FanPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fan"
            },
            "description": "Die Fans dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Fans."
      },
      "FanSubscription": {
        "required": [
          "subscribeAt",
          "expiredAt",
          "expired",
          "price",
          "durationDays",
          "totalSpent",
          "subscriptionsSpent",
          "messagesSpent",
          "postsSpent",
          "streamsSpent",
          "tipsSpent"
        ],
        "type": "object",
        "properties": {
          "subscribeAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Beginn des Abos.",
            "format": "date-time"
          },
          "expiredAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ende des laufenden Abo-Zeitraums.",
            "format": "date-time"
          },
          "expired": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: Das Abo ist abgelaufen; null, wenn die Plattform den Wert nicht mitgeschickt hat."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Preis des letzten Abo-Zeitraums; 0 = kostenlos.",
            "format": "double"
          },
          "durationDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Dauer des letzten Abo-Zeitraums in Tagen.",
            "format": "int32"
          },
          "totalSpent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Gesamte Ausgaben des Fans beim Account.",
            "format": "double"
          },
          "subscriptionsSpent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon für Abos.",
            "format": "double"
          },
          "messagesSpent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon für Nachrichten.",
            "format": "double"
          },
          "postsSpent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon für Posts.",
            "format": "double"
          },
          "streamsSpent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon für Streams.",
            "format": "double"
          },
          "tipsSpent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon Tips.",
            "format": "double"
          }
        },
        "description": "Abo eines Fans und seine gesamten Ausgaben (Beträge in USD)."
      },
      "FanUpdate": {
        "required": [
          "note",
          "displayName"
        ],
        "type": "object",
        "properties": {
          "note": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neue private Notiz zum Fan; null = bleibt."
          },
          "displayName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neuer eigener Name für den Fan; null = bleibt."
          }
        }
      },
      "FolderName": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Der neue Name."
          }
        },
        "description": "Name für einen Vault-Ordner."
      },
      "Highlight": {
        "required": [
          "id",
          "title",
          "coverStoryId",
          "stories",
          "items"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Highlights bei der Plattform; steht in Pfaden als {highlightId}.",
            "format": "int64"
          },
          "title": {
            "type": "string",
            "description": "Titel des Highlights."
          },
          "coverStoryId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Story, die als Titelbild dient; null, wenn keine.",
            "format": "int64"
          },
          "stories": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Storys im Highlight.",
            "format": "int32"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Story"
            },
            "description": "Die Storys des Highlights, soweit die Plattform sie mitliefert."
          }
        },
        "description": "Ein Highlight: dauerhaft im Profil gezeigte Storys."
      },
      "IFormFile": {
        "type": "string",
        "format": "binary"
      },
      "IFormFileCollection": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/IFormFile"
        }
      },
      "Invite": {
        "required": [
          "guestId",
          "name",
          "url"
        ],
        "type": "object",
        "properties": {
          "guestId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "ID des Gasts bei der Plattform; null, wenn sie keine nennt.",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "description": "Name des Gasts."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Diesen Link an den Gast schicken; er öffnet für ihn das Freigabeformular der Plattform."
          }
        },
        "description": "Ein Gast mit dem Link für sein Release-Form."
      },
      "InviteBody": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name des Gasts."
          }
        }
      },
      "JsonNode": { },
      "LastMessage": {
        "required": [
          "id",
          "createdAt",
          "fromUserId",
          "fromMe",
          "text",
          "mediaCount",
          "price",
          "isOpened",
          "isTip",
          "tipAmount"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID der Nachricht.",
            "format": "int64"
          },
          "createdAt": {
            "type": "string",
            "description": "Zeitpunkt der Nachricht.",
            "format": "date-time"
          },
          "fromUserId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Absenders.",
            "format": "int64"
          },
          "fromMe": {
            "type": "boolean",
            "description": "true: Der Account hat die Nachricht geschickt."
          },
          "text": {
            "type": "string",
            "description": "Text ohne HTML; Absätze und Zeilenumbrüche als Zeilenumbruch."
          },
          "mediaCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Medien.",
            "format": "int32"
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis in USD; null bei einer kostenlosen Nachricht.",
            "format": "double"
          },
          "isOpened": {
            "type": "boolean",
            "description": "Die Plattform meldet die Nachricht als geöffnet."
          },
          "isTip": {
            "type": "boolean",
            "description": "Die Nachricht ist ein Tip."
          },
          "tipAmount": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Betrag des Tips in USD.",
            "format": "double"
          }
        },
        "description": "Die neueste Nachricht eines Chats, wie die Chatliste sie zeigt."
      },
      "LinkChart": {
        "required": [
          "clicks",
          "subscribers"
        ],
        "type": "object",
        "properties": {
          "clicks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinkDay"
            },
            "description": "Tracking-Links: Klicks je Tag; Trial-Links: angebotene Probe-Abos je Tag."
          },
          "subscribers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinkDay"
            },
            "description": "Tracking-Links: Abos je Tag; Trial-Links: eingelöste Probe-Abos je Tag."
          }
        },
        "description": "Kurven aller Links eines Accounts zusammen, je Tag."
      },
      "LinkDay": {
        "required": [
          "day",
          "count"
        ],
        "type": "object",
        "properties": {
          "day": {
            "type": "string",
            "description": "Der Tag (JJJJ-MM-TT).",
            "format": "date"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl an diesem Tag.",
            "format": "int32"
          }
        },
        "description": "Anzahlen je Tag einer Link-Kurve (Klicks und Abos bei Tracking-Links, Einlösungen und Angebote bei Trial-Links)."
      },
      "LinkDeleted": {
        "required": [
          "deleted"
        ],
        "type": "object",
        "properties": {
          "deleted": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des gelöschten Links.",
            "format": "int64"
          }
        },
        "description": "Bestätigung: Link gelöscht."
      },
      "LinkRevenue": {
        "required": [
          "linkId",
          "revenue",
          "subscribers",
          "payingSubscribers",
          "truncated",
          "computedAt"
        ],
        "type": "object",
        "properties": {
          "linkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links.",
            "format": "int64"
          },
          "revenue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Gesamte Ausgaben (USD) der Fans, die über den Link abonniert haben, soweit abgerufen.",
            "format": "double"
          },
          "subscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Ausgewertete Abonnenten.",
            "format": "int32"
          },
          "payingSubscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Davon Abonnenten mit Ausgaben > 0.",
            "format": "int32"
          },
          "truncated": {
            "type": "boolean",
            "description": "true: Es gab mehr Abonnenten, als abgerufen wurden (höchstens 100 je Berechnung)."
          },
          "computedAt": {
            "type": "string",
            "description": "Zeitpunkt der Berechnung.",
            "format": "date-time"
          }
        },
        "description": "Ergebnis einer Umsatz-Berechnung für einen Tracking-Link; wird gespeichert."
      },
      "LinkStats": {
        "required": [
          "linkId",
          "clicks",
          "subscribers",
          "conversionRate",
          "revenue",
          "payingSubscribers",
          "revenuePerSubscriber",
          "revenueComputedAt"
        ],
        "type": "object",
        "properties": {
          "linkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links.",
            "format": "int64"
          },
          "clicks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Klicks auf den Link.",
            "format": "int32"
          },
          "subscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Abos, die über den Link kamen.",
            "format": "int32"
          },
          "conversionRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Abonnenten je Klick (0–1).",
            "format": "double"
          },
          "revenue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Zuletzt berechnete Ausgaben der Fans des Links (GET …/revenue), mit Zeitpunkt der Berechnung.",
            "format": "double"
          },
          "payingSubscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Abonnenten mit Ausgaben > 0, aus der letzten Umsatz-Berechnung; null, wenn noch nicht berechnet.",
            "format": "int32"
          },
          "revenuePerSubscriber": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "revenue geteilt durch die ausgewerteten Abonnenten, auf Cent gerundet; null, wenn noch nicht berechnet.",
            "format": "double"
          },
          "revenueComputedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der letzten Umsatz-Berechnung; null, wenn noch keine lief.",
            "format": "date-time"
          }
        },
        "description": "Kennzahlen eines Links über die ganze Laufzeit."
      },
      "LinkSubscriber": {
        "required": [
          "user",
          "isActive",
          "expiresAt",
          "price"
        ],
        "type": "object",
        "properties": {
          "user": {
            "description": "Der Fan.",
            "$ref": "#/components/schemas/ChatUser"
          },
          "isActive": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: Das Abo läuft; null, wenn die Plattform den Wert nicht mitgeschickt hat."
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ende des laufenden Abo-Zeitraums; null, wenn nicht bekannt.",
            "format": "date-time"
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Aktueller Abo-Preis in USD; 0 = kostenlos.",
            "format": "double"
          }
        },
        "description": "Ein Fan, der über einen Tracking-Link abonniert hat, mit dem Abo, wie die Plattform es dort führt."
      },
      "LinkSubscriberPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinkSubscriber"
            },
            "description": "Die Fans dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Fans, die über einen Tracking-Link abonniert haben."
      },
      "LinkTags": {
        "required": [
          "linkId",
          "tags"
        ],
        "type": "object",
        "properties": {
          "linkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links.",
            "format": "int64"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Die Tags nach dem Speichern."
          }
        },
        "description": "Die eigenen Tags eines Links."
      },
      "ListAddResult": {
        "required": [
          "added",
          "missing"
        ],
        "type": "object",
        "properties": {
          "added": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "IDs, die die Plattform jetzt in der Liste meldet."
          },
          "missing": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Angefragte IDs, die die Plattform nicht hinzugefügt hat (nicht mehr im Publikum, Konto weg)."
          }
        }
      },
      "ListMembers": {
        "required": [
          "listId",
          "userIds"
        ],
        "type": "object",
        "properties": {
          "listId": {
            "type": "string",
            "description": "ID der Liste."
          },
          "userIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Plattform-IDs der Mitglieder (höchstens max, Standard 500)."
          }
        },
        "description": "Die Mitglieder einer Liste."
      },
      "ListName": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name der neuen Liste."
          }
        }
      },
      "ListRemoveResult": {
        "required": [
          "removed",
          "failed"
        ],
        "type": "object",
        "properties": {
          "removed": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "IDs, die entfernt wurden."
          },
          "failed": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "IDs, bei denen die Plattform das Entfernen abgelehnt hat."
          }
        },
        "description": "Ergebnis des Entfernens aus einer Liste."
      },
      "LoginJobResponse": {
        "required": [
          "id",
          "state",
          "startedAt",
          "endedAt",
          "accountId",
          "error",
          "log"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID des Login-Jobs.",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "description": "running, succeeded, failed oder cancelled."
          },
          "startedAt": {
            "type": "string",
            "description": "Beginn des Logins.",
            "format": "date-time"
          },
          "endedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ende des Logins; null, solange er läuft.",
            "format": "date-time"
          },
          "accountId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Account, der verbunden wurde; gesetzt bei succeeded.",
            "format": "uuid"
          },
          "error": {
            "type": [
              "null",
              "string"
            ],
            "description": "Grund bei failed oder cancelled, als Text für Menschen; kann sich ändern. Zum Auswerten errorCode nehmen."
          },
          "log": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Fortschritt des Logins in Zeilen, älteste zuerst."
          },
          "phase": {
            "type": [
              "null",
              "string"
            ],
            "description": "Solange der Login läuft: working, challenge (ein Mensch muss in der Live-Ansicht etwas lösen), otp (Code mit POST …/otp schicken) oder waiting (alle Login-Browser belegt; der Login startet von selbst, sobald einer frei ist)."
          },
          "liveViewUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Live-Ansicht des Login-Browsers (per iframe einbettbar, Host https://www.browserbase.com); nur bei running mit phase challenge oder otp und nur für den Key bzw. die Person, die den Login gestartet hat, sonst null. Gilt höchstens bis zum Ende des Logins."
          },
          "errorCode": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fester Code bei failed oder cancelled, z. B. otp_timeout, proxy_unreachable, cancelled, interrupted, internal (Liste unter Accounts & Sessions › Fehlercodes); sonst null."
          }
        },
        "description": "Ein Login im Browser, der im Hintergrund läuft."
      },
      "MassDryRun": {
        "required": [
          "userIds",
          "lists",
          "excludedListIds",
          "policy"
        ],
        "type": "object",
        "properties": {
          "userIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Die angefragten Empfänger (userIds)."
          },
          "lists": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MassDryRunList"
            },
            "description": "Die angefragten Listen."
          },
          "excludedListIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Die angefragten ausgeschlossenen Listen."
          },
          "policy": {
            "type": "string",
            "description": "Schreib-Freigabe des Accounts, gegen die geprüft wurde: allowlist oder all."
          }
        },
        "description": "Ergebnis von dryRun=true: geprüft, nichts gesendet."
      },
      "MassDryRunList": {
        "required": [
          "listId",
          "members"
        ],
        "type": "object",
        "properties": {
          "listId": {
            "type": "string",
            "description": "ID der Liste."
          },
          "members": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Mitglieder, die gegen die Schreib-Freigabe geprüft wurden; null, wenn nicht geprüft (Freigabe all).",
            "format": "int32"
          }
        },
        "description": "Eine angefragte Liste."
      },
      "MassMessageRequest": {
        "required": [
          "text"
        ],
        "type": "object",
        "properties": {
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "Text (Zeilenumbrüche erlaubt) oder HTML der Plattform, beginnend mit <p>."
          },
          "userIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Plattform-IDs einzelner Empfänger."
          },
          "listIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Listen als Empfänger: eigene Listen; Listen der Plattform wie fans nur bei Schreib-Freigabe all."
          },
          "excludedListIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Listen, deren Mitglieder die Nachricht nicht bekommen."
          },
          "excludedUserIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Fans, die die Nachricht nicht bekommen."
          },
          "mediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Medien aus dem Vault (IDs aus GET …/vault/media)."
          },
          "uploadRefs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Frische Uploads aus POST …/vault/uploads, die mitgeschickt werden."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis in USD; 0 oder leer = kostenlos.",
            "format": "double"
          },
          "previewMediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Nur bei PPV: diese der Medien bleiben als Vorschau frei sichtbar."
          },
          "lockedText": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Nur bei PPV: auch den Text sperren."
          },
          "scheduledAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Später senden (mindestens eine Minute voraus); null = sofort.",
            "format": "date-time"
          },
          "taggedUserIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Plattform-IDs mitwirkender Creator (aus GET …/release-forms/taggable-users), die in den Medien markiert werden."
          }
        },
        "description": "Eine Massennachricht an einzelne Fans und/oder Listen."
      },
      "MassMessageSent": {
        "required": [
          "id",
          "date",
          "text",
          "mediaCount",
          "sentCount",
          "viewedCount",
          "isCanceled",
          "canUnsend"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Queue-ID der Massennachricht; zum Zurückziehen.",
            "format": "int64"
          },
          "date": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt des Versands.",
            "format": "date-time"
          },
          "text": {
            "type": "string",
            "description": "Text der Nachricht, ohne HTML."
          },
          "mediaCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Medien.",
            "format": "int32"
          },
          "sentCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Empfänger, wie die Plattform sie meldet.",
            "format": "int32"
          },
          "viewedCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Aufrufe, wie die Plattform sie meldet.",
            "format": "int32"
          },
          "isCanceled": {
            "type": "boolean",
            "description": "true: Die Nachricht wurde zurückgezogen oder storniert."
          },
          "canUnsend": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: Die Plattform erlaubt, die Nachricht zurückzuziehen; null, wenn sie den Wert nicht mitgeschickt hat."
          }
        },
        "description": "Eine gesendete Massennachricht; id ist die Queue-ID (zum Zurückziehen)."
      },
      "MassOverview": {
        "required": [
          "from",
          "to",
          "totals",
          "items",
          "nextBefore"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Beginn des Zeitraums.",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "description": "Ende des Zeitraums.",
            "format": "date-time"
          },
          "totals": {
            "description": "Summen über die Nachrichten dieser Seite; zurückgezogene zählen nicht mit.",
            "$ref": "#/components/schemas/MassOverviewTotals"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MassOverviewItem"
            },
            "description": "Die Nachrichten, neueste zuerst."
          },
          "nextBefore": {
            "type": [
              "null",
              "string"
            ],
            "description": "Als before= für ältere übergeben; null, wenn der Zeitraum durch ist.",
            "format": "date-time"
          }
        },
        "description": "Gesendete Massennachrichten eines Zeitraums mit Summen."
      },
      "MassOverviewItem": {
        "required": [
          "id",
          "date",
          "text",
          "mediaCount",
          "price",
          "sent",
          "viewed",
          "viewRate",
          "purchases",
          "revenue",
          "isCanceled",
          "canUnsend"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Queue-ID der Massennachricht; zum Zurückziehen.",
            "format": "int64"
          },
          "date": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt des Versands.",
            "format": "date-time"
          },
          "text": {
            "type": "string",
            "description": "Text der Nachricht, ohne HTML."
          },
          "mediaCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Medien.",
            "format": "int32"
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "null = kostenlos.",
            "format": "double"
          },
          "sent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Empfänger.",
            "format": "int32"
          },
          "viewed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Aufrufe.",
            "format": "int32"
          },
          "viewRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "viewed geteilt durch sent (0–1).",
            "format": "double"
          },
          "purchases": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Käufe.",
            "format": "int32"
          },
          "revenue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Preis × Käufe, mit den Preisen, wie die Plattform sie anzeigt (vor ihrem Anteil).",
            "format": "double"
          },
          "isCanceled": {
            "type": "boolean",
            "description": "true: zurückgezogen oder storniert."
          },
          "canUnsend": {
            "type": "boolean",
            "description": "true: Die Plattform erlaubt, die Nachricht zurückzuziehen."
          }
        },
        "description": "Eine gesendete Massennachricht mit Aufrufen und Käufen."
      },
      "MassOverviewTotals": {
        "required": [
          "messages",
          "sent",
          "viewed",
          "viewRate",
          "paidMessages",
          "purchases",
          "revenue"
        ],
        "type": "object",
        "properties": {
          "messages": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Nachrichten, zurückgezogene eingeschlossen.",
            "format": "int32"
          },
          "sent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Empfänger insgesamt.",
            "format": "int32"
          },
          "viewed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Aufrufe insgesamt.",
            "format": "int32"
          },
          "viewRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "viewed geteilt durch sent (0–1); null, wenn nichts gesendet wurde.",
            "format": "double"
          },
          "paidMessages": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Nachrichten mit Preis.",
            "format": "int32"
          },
          "purchases": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Käufe insgesamt.",
            "format": "int32"
          },
          "revenue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Summe von Preis × Käufe, vor dem Anteil der Plattform.",
            "format": "double"
          }
        },
        "description": "Summen über die nicht zurückgezogenen Nachrichten."
      },
      "MediaIdsBody": {
        "required": [
          "mediaIds"
        ],
        "type": "object",
        "properties": {
          "mediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "IDs der Medien."
          }
        },
        "description": "Eine Auswahl von Medien aus dem Vault."
      },
      "Mention": {
        "required": [
          "id",
          "type",
          "createdAt",
          "isRead",
          "text",
          "user"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID bei der Plattform.",
            "format": "int64"
          },
          "type": {
            "type": [
              "null",
              "string"
            ],
            "description": "Art, wie die Plattform sie nennt."
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt.",
            "format": "date-time"
          },
          "isRead": {
            "type": "boolean",
            "description": "true: gelesen."
          },
          "text": {
            "type": "string",
            "description": "Text mit eingesetzten Werten, ohne HTML."
          },
          "user": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ChatUser"
              }
            ],
            "description": "Der Nutzer, um den es geht; null, wenn keiner."
          }
        },
        "description": "Eine Erwähnung aus den Release-Forms, in der Form einer Benachrichtigung."
      },
      "MentionPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Mention"
            },
            "description": "Die Erwähnungen dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Erwähnungen."
      },
      "MeResponse": {
        "required": [
          "keyId",
          "keyName",
          "keyPrefix",
          "owner",
          "createdAt",
          "expiresAt"
        ],
        "type": "object",
        "properties": {
          "keyId": {
            "type": "string",
            "description": "ID des Keys.",
            "format": "uuid"
          },
          "keyName": {
            "type": "string",
            "description": "Name des Keys aus dem Portal."
          },
          "keyPrefix": {
            "type": "string",
            "description": "Sichtbarer Anfang des Keys (nc_ und die Kennung); das Geheimnis wird nie ausgegeben."
          },
          "owner": {
            "type": [
              "null",
              "string"
            ],
            "description": "E-Mail der Person, die den Key angelegt hat."
          },
          "createdAt": {
            "type": "string",
            "description": "Anlage des Keys.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ablauf des Keys; null = kein Ablauf.",
            "format": "date-time"
          }
        },
        "description": "Der API-Key, mit dem der Aufruf kam."
      },
      "Message": {
        "required": [
          "id",
          "createdAt",
          "changedAt",
          "fromUserId",
          "fromMe",
          "text",
          "html",
          "lockedText",
          "price",
          "canPurchase",
          "isOpened",
          "isNew",
          "isTip",
          "tipAmount",
          "tipText",
          "isFromQueue",
          "queueId",
          "isPinned",
          "isLiked",
          "giphyId",
          "mediaCount",
          "media",
          "previewMediaIds"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID der Nachricht.",
            "format": "int64"
          },
          "createdAt": {
            "type": "string",
            "description": "Zeitpunkt der Nachricht.",
            "format": "date-time"
          },
          "changedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der letzten Änderung; null, wenn sie nicht geändert wurde.",
            "format": "date-time"
          },
          "fromUserId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Absenders.",
            "format": "int64"
          },
          "fromMe": {
            "type": "boolean",
            "description": "true: Der Account hat die Nachricht geschickt."
          },
          "text": {
            "type": "string",
            "description": "Text ohne HTML; Absätze und Zeilenumbrüche als Zeilenumbruch."
          },
          "html": {
            "type": "string",
            "description": "Der Text, wie die Plattform ihn speichert (HTML), für Anwendungen, die HTML darstellen."
          },
          "lockedText": {
            "type": "boolean",
            "description": "Der Text ist bis zum Kauf gesperrt (PPV)."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis in USD; null bei einer kostenlosen Nachricht.",
            "format": "double"
          },
          "canPurchase": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Die abrufende Seite kann die Nachricht jetzt kaufen; bei eigenen Nachrichten meist false."
          },
          "isOpened": {
            "type": "boolean",
            "description": "Die Plattform meldet die Nachricht als geöffnet; der Wert wird unverändert weitergegeben."
          },
          "isNew": {
            "type": "boolean",
            "description": "Die Plattform meldet die Nachricht als neu."
          },
          "isTip": {
            "type": "boolean",
            "description": "Die Nachricht ist ein Tip."
          },
          "tipAmount": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Betrag des Tips in USD.",
            "format": "double"
          },
          "tipText": {
            "type": [
              "null",
              "string"
            ],
            "description": "Text, den der Fan zum Tip geschrieben hat."
          },
          "isFromQueue": {
            "type": "boolean",
            "description": "Aus der Warteschlange der Plattform gesendet, z. B. als Kopie einer Massennachricht."
          },
          "queueId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "queueId der Plattform. Auch bei gewöhnlichen Direktnachrichten gesetzt; Massennachrichten erkennt man an isFromQueue.",
            "format": "int64"
          },
          "isPinned": {
            "type": "boolean",
            "description": "Die Nachricht ist im Chat angeheftet."
          },
          "isLiked": {
            "type": "boolean",
            "description": "Die Nachricht ist mit einem Herz markiert."
          },
          "giphyId": {
            "type": [
              "null",
              "string"
            ],
            "description": "ID des GIFs bei Giphy, wenn die Nachricht ein GIF ist."
          },
          "mediaCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Medien.",
            "format": "int32"
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MessageMedia"
            },
            "description": "Die Medien der Nachricht."
          },
          "previewMediaIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Medien, die bei einem PPV als Vorschau frei sichtbar sind."
          }
        },
        "description": "Eine Nachricht in einem Chat."
      },
      "MessageKindStats": {
        "required": [
          "sent",
          "net",
          "sentDelta",
          "netDelta",
          "sentPerPoint",
          "netPerPoint"
        ],
        "type": "object",
        "properties": {
          "sent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Gesendete Nachrichten im Zeitraum, kostenlose und bezahlte; eine Massennachricht zählt einmal. Den letzten Tag trägt die Plattform oft später nach.",
            "format": "int32"
          },
          "net": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Netto-Umsatz in USD aus Käufen dieser Nachrichten, nach Kaufdatum.",
            "format": "double"
          },
          "sentDelta": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Änderung in % gegenüber dem vorigen gleich langen Zeitraum (100, wenn dieser 0 war).",
            "format": "double"
          },
          "netDelta": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Änderung des Netto-Umsatzes in % gegenüber dem vorigen gleich langen Zeitraum.",
            "format": "double"
          },
          "sentPerPoint": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayValue"
            },
            "description": "Je Tag bis etwa 31 Tage, darüber je Monat (Monatserster)."
          },
          "netPerPoint": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayValue"
            },
            "description": "Netto-Umsatz je Tag bis etwa 31 Tage, darüber je Monat (Monatserster)."
          }
        },
        "description": "Nachrichten einer Art, wie die Statistikseite der Plattform sie zeigt."
      },
      "MessageMedia": {
        "required": [
          "id",
          "type",
          "canView",
          "isReady",
          "durationSeconds",
          "width",
          "height",
          "thumbUrl",
          "previewUrl",
          "fullUrl"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Mediums.",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "description": "photo, video, audio oder gif."
          },
          "canView": {
            "type": "boolean",
            "description": "Die abrufende Seite darf das Medium öffnen (false = gesperrt, z. B. nicht bezahltes PPV)."
          },
          "isReady": {
            "type": "boolean",
            "description": "Die Plattform hat das Medium fertig verarbeitet."
          },
          "durationSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Länge in Sekunden bei Video und Audio.",
            "format": "int32"
          },
          "width": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Breite in Pixeln.",
            "format": "int32"
          },
          "height": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Höhe in Pixeln.",
            "format": "int32"
          },
          "thumbUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Kleines Vorschaubild."
          },
          "previewUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vorschau in mittlerer Größe."
          },
          "fullUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Das Medium in voller Größe; null, wenn es gesperrt ist."
          }
        },
        "description": "Ein Foto, Video, Audio oder GIF in einer Nachricht. Die URLs sind signierte CDN-Links, die nach einiger Zeit ablaufen."
      },
      "MessagePage": {
        "required": [
          "items",
          "hasMore",
          "nextBeforeId"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Message"
            },
            "description": "Die Nachrichten dieser Seite, neueste zuerst."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt ältere Nachrichten."
          },
          "nextBeforeId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Als beforeId für die nächste, ältere Seite übergeben; null am Ende.",
            "format": "int64"
          }
        },
        "description": "Eine Seite der Nachrichten eines Chats."
      },
      "MessageStats": {
        "required": [
          "from",
          "to",
          "direct",
          "mass"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "direct": {
            "description": "Direktnachrichten.",
            "$ref": "#/components/schemas/MessageKindStats"
          },
          "mass": {
            "description": "Massennachrichten.",
            "$ref": "#/components/schemas/MessageKindStats"
          }
        },
        "description": "Direkt- und Massennachrichten eines Zeitraums mit Netto-Käufen."
      },
      "Metric": {
        "required": [
          "total",
          "deltaPercent"
        ],
        "type": "object",
        "properties": {
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Die Zahl im Zeitraum.",
            "format": "double"
          },
          "deltaPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Änderung gegenüber dem vorigen gleich langen Zeitraum in Prozent; null, wenn die Plattform keine nennt.",
            "format": "double"
          }
        },
        "description": "Eine Zahl mit der Änderung gegenüber dem vorigen gleich langen Zeitraum in Prozent, wie die Plattform sie meldet."
      },
      "Notification": {
        "required": [
          "id",
          "type",
          "subType",
          "createdAt",
          "isRead",
          "text",
          "user"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID der Benachrichtigung bei der Plattform.",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "description": "Art der Benachrichtigung, wie die Plattform sie nennt."
          },
          "subType": {
            "type": [
              "null",
              "string"
            ],
            "description": "Feinere Art der Benachrichtigung, z. B. bei Käufen."
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Benachrichtigung.",
            "format": "date-time"
          },
          "isRead": {
            "type": "boolean",
            "description": "true: gelesen."
          },
          "text": {
            "type": "string",
            "description": "Text der Benachrichtigung mit eingesetzten Werten, ohne HTML."
          },
          "user": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ChatUser"
              }
            ],
            "description": "Der Nutzer, um den es geht; null, wenn keiner."
          }
        },
        "description": "Eine Benachrichtigung des Accounts bei der Plattform."
      },
      "NotificationPage": {
        "required": [
          "items",
          "hasMore",
          "nextMarker"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Notification"
            },
            "description": "Die Benachrichtigungen dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt ältere."
          },
          "nextMarker": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Als marker für ältere Benachrichtigungen übergeben; null am Ende.",
            "format": "int64"
          }
        },
        "description": "Eine Seite der Benachrichtigungen, neueste zuerst."
      },
      "OtpRequest": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": [
              "null",
              "string"
            ],
            "description": "Der aktuelle 2FA-Code."
          }
        },
        "description": "2FA-Code für einen laufenden Login."
      },
      "Overview": {
        "required": [
          "from",
          "to",
          "sections"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "sections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverviewSection"
            },
            "description": "Die angefragten Bereiche."
          }
        },
        "description": "Die Übersicht der Statistikseite für einen Zeitraum, je Bereich ein Abschnitt."
      },
      "OverviewSection": {
        "required": [
          "name",
          "hasStatistic",
          "metrics",
          "earningsNet",
          "earningsGross",
          "earningsDeltaPercent",
          "earningsPerPeriod"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "visitors, fans, posts, messages, streams, promotions oder trials."
          },
          "hasStatistic": {
            "type": "boolean",
            "description": "true: Die Plattform hat für diesen Bereich Zahlen."
          },
          "metrics": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/Metric"
            },
            "description": "Die Zähler des Bereichs, wie die Plattform sie nennt (visitors, subscribers, count, views, offers, claims, new, renew)."
          },
          "earningsNet": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Netto-Umsatz des Bereichs in USD (nach dem Anteil der Plattform).",
            "format": "double"
          },
          "earningsGross": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Umsatz des Bereichs vor dem Anteil der Plattform, in USD.",
            "format": "double"
          },
          "earningsDeltaPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Änderung des Umsatzes gegenüber dem vorigen gleich langen Zeitraum in Prozent.",
            "format": "double"
          },
          "earningsPerPeriod": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeriodValue"
            },
            "description": "Netto-Umsatz je Tag (Zeiträume bis etwa 31 Tage) oder je Monat."
          }
        }
      },
      "PayoutBalance": {
        "required": [
          "available",
          "pending",
          "currency",
          "minPayout",
          "maxPayout",
          "withdrawalPeriod",
          "manualPayoutPendingDays"
        ],
        "type": "object",
        "properties": {
          "available": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Guthaben, das ausgezahlt werden kann.",
            "format": "double"
          },
          "pending": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Guthaben, das noch nicht verfügbar ist.",
            "format": "double"
          },
          "currency": {
            "type": [
              "null",
              "string"
            ],
            "description": "Währung der Beträge, z. B. USD."
          },
          "minPayout": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Kleinster Betrag einer Auszahlung.",
            "format": "double"
          },
          "maxPayout": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Größter Betrag einer Auszahlung.",
            "format": "double"
          },
          "withdrawalPeriod": {
            "type": [
              "null",
              "string"
            ],
            "description": "Auszahlungsrhythmus: manual, weekly oder monthly."
          },
          "manualPayoutPendingDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        },
        "description": "Guthaben und Auszahlungs-Einstellungen des Accounts."
      },
      "PayoutEligibility": {
        "required": [
          "canRequestPayout",
          "notVerifiedReason",
          "needsBankingUpdate"
        ],
        "type": "object",
        "properties": {
          "canRequestPayout": {
            "type": "boolean",
            "description": "Eine Auszahlung kann angefordert werden."
          },
          "notVerifiedReason": {
            "type": [
              "null",
              "string"
            ],
            "description": "Grund, wenn nicht."
          },
          "needsBankingUpdate": {
            "type": "boolean",
            "description": "true: Die Plattform verlangt aktualisierte Bankdaten."
          }
        }
      },
      "PayoutRequest": {
        "required": [
          "id",
          "createdAt",
          "amount",
          "currency",
          "state",
          "rejectReason"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rechnungsnummer der Auszahlung bei der Plattform."
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Anforderung.",
            "format": "date-time"
          },
          "amount": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Betrag der Auszahlung.",
            "format": "double"
          },
          "currency": {
            "type": [
              "null",
              "string"
            ],
            "description": "Währung, z. B. USD."
          },
          "state": {
            "type": [
              "null",
              "string"
            ],
            "description": "Stand der Auszahlung, wie die Plattform ihn nennt, z. B. approved."
          },
          "rejectReason": {
            "type": [
              "null",
              "string"
            ],
            "description": "Grund einer Ablehnung; null, wenn keine."
          }
        },
        "description": "Eine angeforderte Auszahlung."
      },
      "PayoutRequestPage": {
        "required": [
          "items",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PayoutRequest"
            },
            "description": "Die Auszahlungen dieser Seite."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Als offset für ältere übergeben; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der angeforderten Auszahlungen."
      },
      "PeriodValue": {
        "required": [
          "date",
          "value"
        ],
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Der Tag bzw. der Monatserste (JJJJ-MM-TT, UTC).",
            "format": "date"
          },
          "value": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Betrag (netto, USD) oder Anzahl.",
            "format": "double"
          }
        },
        "description": "Ein Punkt einer Kurve: ein UTC-Tag (Zeiträume bis etwa 31 Tage) oder ein Monatserster; Betrag (netto, USD) oder Anzahl."
      },
      "Post": {
        "required": [
          "id",
          "postedAt",
          "text",
          "price",
          "likes",
          "comments",
          "tipsSum",
          "canEdit",
          "isPinned",
          "isArchived",
          "labels",
          "media"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Posts bei der Plattform; steht in Pfaden als {postId}.",
            "format": "int64"
          },
          "postedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Veröffentlichung.",
            "format": "date-time"
          },
          "text": {
            "type": "string",
            "description": "Text des Posts."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Preis eines bezahlten Posts in USD; null = kostenlos für Abonnenten.",
            "format": "double"
          },
          "likes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Likes des Posts.",
            "format": "int32"
          },
          "comments": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Kommentare unter dem Post.",
            "format": "int32"
          },
          "tipsSum": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Summe der Tips auf den Post in USD.",
            "format": "double"
          },
          "canEdit": {
            "type": "boolean",
            "description": "true: Die Plattform erlaubt, den Post zu ändern."
          },
          "isPinned": {
            "type": "boolean",
            "description": "Oben im Profil angeheftet; null, wenn die Plattform den Wert nicht mitgeschickt hat."
          },
          "isArchived": {
            "type": "boolean",
            "description": "true: Der Post ist archiviert."
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostLabelRef"
            },
            "description": "Eigene Post-Labels an diesem Post."
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MessageMedia"
            },
            "description": "Medien des Posts."
          },
          "taggedUserIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Markierte Mitwirkende (Plattform-IDs); null, wenn die Plattform keine nennt."
          }
        }
      },
      "PostComment": {
        "required": [
          "id",
          "postedAt",
          "text",
          "author",
          "likes",
          "isLiked",
          "isPinned"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Kommentars bei der Plattform.",
            "format": "int64"
          },
          "postedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt des Kommentars.",
            "format": "date-time"
          },
          "text": {
            "type": "string",
            "description": "Text des Kommentars."
          },
          "author": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ChatUser"
              }
            ],
            "description": "Wer kommentiert hat; null, wenn die Plattform niemanden nennt."
          },
          "likes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Likes des Kommentars.",
            "format": "int32"
          },
          "isLiked": {
            "type": "boolean",
            "description": "true: Der Account hat den Kommentar geliked."
          },
          "isPinned": {
            "type": "boolean",
            "description": "true: Der Kommentar ist angeheftet."
          }
        },
        "description": "Ein Kommentar unter einem Post."
      },
      "PostIdsBody": {
        "required": [
          "postIds"
        ],
        "type": "object",
        "properties": {
          "postIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Eigene Posts, die ins Label kommen; höchstens 100."
          }
        }
      },
      "PostLabel": {
        "required": [
          "id",
          "type",
          "name",
          "posts"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID des Labels: ein Wort bei Labels der Plattform, eine Zahl bei eigenen."
          },
          "type": {
            "type": "string",
            "description": "Art des Labels, wie die Plattform sie nennt, z. B. custom bei eigenen Labels."
          },
          "name": {
            "type": "string",
            "description": "Name des Labels."
          },
          "posts": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Posts im Label.",
            "format": "int32"
          }
        },
        "description": "Ein Post-Label: eines der Plattform (archived, private_archived) oder ein eigenes."
      },
      "PostLabelDetail": {
        "required": [
          "id",
          "name",
          "posts",
          "postIds"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Labels.",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "description": "Name des Labels."
          },
          "posts": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Posts im Label.",
            "format": "int32"
          },
          "postIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Posts mit diesem Label, wie die Plattform sie auflistet."
          }
        },
        "description": "Ein eigenes Post-Label mit seinen Posts."
      },
      "PostLabelRef": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Labels.",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "description": "Name des Labels."
          }
        },
        "description": "Ein eigenes Label an einem Post."
      },
      "PostPage": {
        "required": [
          "items",
          "hasMore",
          "nextMarker"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Post"
            },
            "description": "Die Posts dieser Seite, neueste zuerst."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt ältere Posts."
          },
          "nextMarker": {
            "type": [
              "null",
              "string"
            ],
            "description": "Als marker für ältere Posts übergeben; null am Ende."
          }
        },
        "description": "Eine Seite der eigenen Posts."
      },
      "PostStats": {
        "required": [
          "postId",
          "views",
          "uniqueViews",
          "viewDuration",
          "averageViewDuration",
          "likes",
          "comments",
          "tips",
          "tipsSum",
          "purchases",
          "purchasesSum",
          "viewsPerDay",
          "purchasesPerDay"
        ],
        "type": "object",
        "properties": {
          "postId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Posts.",
            "format": "int64"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Alle Aufrufe; uniqueViews = verschiedene Betrachter.",
            "format": "int32"
          },
          "uniqueViews": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Verschiedene Betrachter.",
            "format": "int32"
          },
          "viewDuration": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Gesamte Betrachtungsdauer, wie die Plattform sie zählt; averageViewDuration je Aufruf.",
            "format": "int64"
          },
          "averageViewDuration": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Betrachtungsdauer je Aufruf, wie die Plattform sie zählt.",
            "format": "double"
          },
          "likes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Likes des Posts.",
            "format": "int32"
          },
          "comments": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Kommentare unter dem Post.",
            "format": "int32"
          },
          "tips": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Tips auf den Post.",
            "format": "int32"
          },
          "tipsSum": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Summe der Tips in USD.",
            "format": "double"
          },
          "purchases": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Käufe des Posts.",
            "format": "int32"
          },
          "purchasesSum": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Umsatz aus Käufen des Posts (brutto, USD).",
            "format": "double"
          },
          "viewsPerDay": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeriodValue"
            },
            "description": "Aufrufe je Punkt der Kurve."
          },
          "purchasesPerDay": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeriodValue"
            },
            "description": "Käufe je Punkt der Kurve."
          }
        }
      },
      "Profile": {
        "required": [
          "about"
        ],
        "type": "object",
        "properties": {
          "about": {
            "type": "string",
            "description": "Text „Über mich“ als HTML, wie die Plattform ihn speichert."
          }
        },
        "description": "Das Profil des Accounts."
      },
      "ProfileBody": {
        "required": [
          "about"
        ],
        "type": "object",
        "properties": {
          "about": {
            "type": [
              "null",
              "string"
            ],
            "description": "Text „Über mich“, wie die Plattform ihn speichert (HTML, wie GET …/settings/profile ihn liefert)."
          }
        }
      },
      "ProfileVisitors": {
        "required": [
          "from",
          "to",
          "total",
          "deltaPercent",
          "guests",
          "users",
          "viewDuration",
          "visitorsPerPeriod",
          "durationPerPeriod",
          "topCountries"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Besuche im Zeitraum.",
            "format": "int32"
          },
          "deltaPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Änderung gegenüber dem vorigen gleich langen Zeitraum in Prozent.",
            "format": "double"
          },
          "guests": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Besuche ohne Konto bei der Plattform.",
            "format": "int32"
          },
          "users": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Besuche angemeldeter Nutzer der Plattform.",
            "format": "int32"
          },
          "viewDuration": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Gesamte Betrachtungsdauer, wie die Plattform sie zählt.",
            "format": "int64"
          },
          "visitorsPerPeriod": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeriodValue"
            },
            "description": "Besuche je Punkt der Kurve; ihre Summe ist total."
          },
          "durationPerPeriod": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeriodValue"
            },
            "description": "Betrachtungsdauer je Punkt der Kurve, wie die Plattform sie zählt."
          },
          "topCountries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CountryVisits"
            },
            "description": "Länder mit den meisten Besuchen."
          }
        },
        "description": "Besuche des Profils in einem Zeitraum."
      },
      "Promotion": {
        "required": [
          "id",
          "type",
          "message",
          "price",
          "claims",
          "maxClaims",
          "subscribeDays",
          "createdAt",
          "endsAt",
          "isFinished",
          "canClaim",
          "isRunning"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID der Aktion bei der Plattform; steht in Pfaden als {promotionId}.",
            "format": "int64"
          },
          "type": {
            "type": [
              "null",
              "string"
            ],
            "description": "all (alle Fans), expired (frühere Abonnenten), trial oder offer."
          },
          "message": {
            "type": "string",
            "description": "Text der Aktion für die Fans."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Vergünstigter Abo-Preis in USD.",
            "format": "double"
          },
          "claims": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Einlösungen bisher.",
            "format": "int32"
          },
          "maxClaims": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Wie oft die Aktion eingelöst werden kann; null = ohne Grenze.",
            "format": "int32"
          },
          "subscribeDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Dauer des vergünstigten Zugangs in Tagen.",
            "format": "int32"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Anlage der Aktion.",
            "format": "date-time"
          },
          "endsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ende der Aktion; null, wenn kein Ende gesetzt ist.",
            "format": "date-time"
          },
          "isFinished": {
            "type": "boolean",
            "description": "Beendet, wie die Plattform es meldet; verlässlicher ist isRunning."
          },
          "canClaim": {
            "type": "boolean",
            "description": "Noch einlösbar, wie die Plattform es meldet."
          },
          "isRunning": {
            "type": "boolean",
            "description": "Die Aktion läuft: nicht beendet und noch einlösbar."
          }
        },
        "description": "Eine Aktion mit vergünstigtem Abo."
      },
      "PromotionPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Promotion"
            },
            "description": "Die Aktionen dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Aktionen."
      },
      "QueuedMessage": {
        "required": [
          "queueId",
          "text",
          "price",
          "lockedText",
          "mediaIds",
          "previewMediaIds",
          "scheduledAt",
          "userIds",
          "listIds",
          "excludedListIds",
          "taggedUserIds"
        ],
        "type": "object",
        "properties": {
          "queueId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Queue-ID; zum Lesen, Ändern und Stornieren.",
            "format": "int64"
          },
          "text": {
            "type": "string",
            "description": "Text der Nachricht."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis in USD; null bei kostenlosen Nachrichten.",
            "format": "double"
          },
          "lockedText": {
            "type": "boolean",
            "description": "Der Text ist bis zum Kauf gesperrt (PPV)."
          },
          "mediaIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Medien aus dem Vault."
          },
          "previewMediaIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Medien, die als Vorschau frei sichtbar bleiben."
          },
          "scheduledAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "null = für später gespeichert (ohne Termin).",
            "format": "date-time"
          },
          "userIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Einzelne Empfänger."
          },
          "listIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Listen als Empfänger."
          },
          "excludedListIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Ausgeschlossene Listen."
          },
          "taggedUserIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Markierte Mitwirkende an den Medien."
          }
        },
        "description": "Eine geplante oder für später gespeicherte Nachricht der Warteschlange."
      },
      "QueueEntry": {
        "required": [
          "id",
          "date",
          "isReady",
          "isDone",
          "total",
          "pending",
          "canUnsend",
          "unsendSeconds",
          "hasError",
          "isCanceled"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Queue-ID.",
            "format": "int64"
          },
          "date": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt des Eintrags.",
            "format": "date-time"
          },
          "isReady": {
            "type": "boolean",
            "description": "Bereit zum Versand, wie die Plattform es meldet."
          },
          "isDone": {
            "type": "boolean",
            "description": "true: Der Versand ist fertig."
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Empfänger; die Plattform meldet zuerst -1, verlässlich ist der Wert, sobald der Versand fertig ist.",
            "format": "int32"
          },
          "pending": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Empfänger, die die Nachricht noch nicht haben.",
            "format": "int32"
          },
          "canUnsend": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: Die Plattform erlaubt, die Nachricht zurückzuziehen."
          },
          "unsendSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Zeitfenster zum Zurückziehen in Sekunden, wie die Plattform es meldet.",
            "format": "int64"
          },
          "hasError": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: Die Plattform meldet einen Fehler beim Versand."
          },
          "isCanceled": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: zurückgezogen oder storniert."
          }
        },
        "description": "Ein Eintrag der Warteschlange, wie die Plattform ihn beim Senden einer Massennachricht meldet."
      },
      "Ranking": {
        "required": [
          "topPercent"
        ],
        "type": "object",
        "properties": {
          "topPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Rang des Creators als „Top x %“, wie die Plattform ihn zeigt; null = ohne Rang.",
            "format": "int32"
          }
        }
      },
      "ReconnectRequest": {
        "required": [
          "email",
          "password"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": [
              "null",
              "string"
            ],
            "description": "E-Mail des Logins bei der Plattform."
          },
          "password": {
            "type": [
              "null",
              "string"
            ],
            "description": "Passwort des Logins; wird nicht gespeichert."
          },
          "totpSecret": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional: 2FA-Schlüssel, damit der Login den Code selbst eingibt; wird nicht gespeichert."
          }
        },
        "description": "Neuer Login für einen bestehenden Account; er behält seinen Proxy."
      },
      "ReleaseForm": {
        "required": [
          "id",
          "name",
          "type",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID bei der Plattform.",
            "format": "int64"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name bzw. Titel des Formulars."
          },
          "type": {
            "type": [
              "null",
              "string"
            ],
            "description": "Art, wie die Plattform sie nennt."
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Anlage des Formulars.",
            "format": "date-time"
          }
        },
        "description": "Ein Release-Form (Einwilligung einer markierten Person)."
      },
      "ReleaseFormPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReleaseForm"
            },
            "description": "Die Formulare dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Release-Forms."
      },
      "SavedItem": {
        "required": [
          "scheduleId",
          "savedAt",
          "post",
          "message"
        ],
        "type": "object",
        "properties": {
          "scheduleId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Der Eintrag der Warteschlange; der Post oder die Nachricht selbst steht in post bzw. message.",
            "format": "int64"
          },
          "savedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt des Speicherns.",
            "format": "date-time"
          },
          "post": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Post"
              }
            ],
            "description": "Der gespeicherte Post; null bei Nachrichten."
          },
          "message": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Message"
              }
            ],
            "description": "Die gespeicherte Nachricht; null bei Posts."
          }
        },
        "description": "Ein für später gespeicherter Post oder eine Nachricht."
      },
      "SavedPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SavedItem"
            },
            "description": "Die Einträge dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der für später gespeicherten Einträge."
      },
      "ScheduledMessage": {
        "required": [
          "queueId",
          "scheduledAt",
          "text",
          "mediaCount",
          "price",
          "lockedText"
        ],
        "type": "object",
        "properties": {
          "queueId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Queue-ID; zum Lesen, Ändern und Stornieren.",
            "format": "int64"
          },
          "scheduledAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Geplanter Zeitpunkt des Versands.",
            "format": "date-time"
          },
          "text": {
            "type": "string",
            "description": "Text der Nachricht, ohne HTML."
          },
          "mediaCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Medien.",
            "format": "int32"
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis in USD; null bei kostenlosen Nachrichten.",
            "format": "double"
          },
          "lockedText": {
            "type": "boolean",
            "description": "Der Text ist bis zum Kauf gesperrt (PPV)."
          },
          "scheduleId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Der Eintrag im Kalender (für „jetzt senden“); queueId ist die Nachricht (lesen, ändern, stornieren).",
            "format": "int64"
          }
        },
        "description": "Eine für später geplante Nachricht aus dem Planungskalender der Plattform; queueId storniert sie."
      },
      "SearchResult": {
        "required": [
          "messageIds"
        ],
        "type": "object",
        "properties": {
          "messageIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "IDs der passenden Nachrichten, neueste zuerst; jede mit GET …/messages/{messageId} abrufen."
          }
        },
        "description": "Treffer der Suche in einem Chat."
      },
      "SendMessageRequest": {
        "required": [
          "text",
          "replyToMessageId"
        ],
        "type": "object",
        "properties": {
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "Text (Zeilenumbrüche erlaubt) oder HTML der Plattform, beginnend mit <p>."
          },
          "replyToMessageId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Als Antwort auf diese Nachricht senden; sie erscheint als Zitat über der neuen.",
            "format": "int64"
          },
          "mediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Medien aus dem Vault (IDs aus GET …/vault/media)."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis in USD; 0 oder leer = kostenlos.",
            "format": "double"
          },
          "previewMediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Nur bei PPV: diese der Medien bleiben als Vorschau frei sichtbar."
          },
          "lockedText": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Nur bei PPV: auch den Text sperren."
          },
          "uploadRefs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Frische Uploads aus POST …/vault/uploads, die mitgeschickt werden."
          },
          "taggedUserIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Plattform-IDs mitwirkender Creator, die in den Medien markiert werden."
          }
        },
        "description": "Eine Nachricht an einen Fan."
      },
      "ShareBody": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Nutzers: beim Teilen der, der den Link sehen soll (ein Link lässt sich mit einem Nutzer teilen), beim Aufheben der, dem der Einblick genommen wird.",
            "format": "int64"
          }
        }
      },
      "SharedUser": {
        "required": [
          "id",
          "username"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Nutzers.",
            "format": "int64"
          },
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Benutzername, ohne @; null, wenn nicht bekannt."
          }
        },
        "description": "Der Nutzer, mit dem ein Link geteilt ist."
      },
      "SharedWithMe": {
        "required": [
          "id",
          "name",
          "url",
          "clicks",
          "subscribers",
          "createdAt",
          "isDeleted",
          "owner"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links bei der Plattform.",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "description": "Name des Links."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vollständige Adresse des Links."
          },
          "clicks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Klicks auf den Link.",
            "format": "int32"
          },
          "subscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Abos, die über den Link kamen.",
            "format": "int32"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Anlage des Links.",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean",
            "description": "true: Der Link ist bei der Plattform gelöscht."
          },
          "owner": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ChatUser"
              }
            ],
            "description": "Der Creator, der den Link geteilt hat."
          }
        },
        "description": "Ein Link eines anderen Creators, der mit dem Account geteilt ist."
      },
      "SharedWithMePage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SharedWithMe"
            },
            "description": "Die Links dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Links, die andere Creator mit dem Account geteilt haben."
      },
      "SocialButton": {
        "required": [
          "id",
          "sort",
          "label",
          "network",
          "username",
          "url",
          "isValid",
          "clicks"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Buttons bei der Plattform; steht in Pfaden als {buttonId}.",
            "format": "int64"
          },
          "sort": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Position in der Reihenfolge.",
            "format": "int32"
          },
          "label": {
            "type": "string",
            "description": "Beschriftung des Buttons."
          },
          "network": {
            "type": [
              "null",
              "string"
            ],
            "description": "Netzwerk, wie die Plattform es nennt, z. B. instagram."
          },
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name auf dem Netzwerk; null, wenn keiner."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ziel-Adresse des Buttons."
          },
          "isValid": {
            "type": "boolean",
            "description": "true: Die Plattform hält das Ziel für gültig."
          },
          "clicks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Klicks auf den Knopf, wie die Plattform sie zählt.",
            "format": "int32"
          }
        },
        "description": "Ein Social-Media-Button im Profil."
      },
      "SocialButtonBody": {
        "required": [
          "network",
          "label"
        ],
        "type": "object",
        "properties": {
          "network": {
            "type": [
              "null",
              "string"
            ],
            "description": "instagram, tiktok, twitter, facebook, youtube, website, …, wie die Plattform sie nennt."
          },
          "label": {
            "type": [
              "null",
              "string"
            ],
            "description": "Beschriftung des Buttons."
          },
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name auf dem Netzwerk (die Plattform baut daraus die Adresse); oder link für eine vollständige Adresse."
          },
          "link": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vollständige Ziel-Adresse; statt username."
          }
        }
      },
      "Spender": {
        "required": [
          "user",
          "spent",
          "subscriptions",
          "messages",
          "tips",
          "posts",
          "subscribedAt",
          "expired"
        ],
        "type": "object",
        "properties": {
          "user": {
            "description": "Der Fan.",
            "$ref": "#/components/schemas/ChatUser"
          },
          "spent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Gesamte Ausgaben beim Account (USD, netto, wie die Plattform sie meldet).",
            "format": "double"
          },
          "subscriptions": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon für Abos (USD).",
            "format": "double"
          },
          "messages": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon für Nachrichten (USD).",
            "format": "double"
          },
          "tips": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon Tips (USD).",
            "format": "double"
          },
          "posts": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Davon für Posts (USD).",
            "format": "double"
          },
          "subscribedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Beginn des Abos.",
            "format": "date-time"
          },
          "expired": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: Das Abo ist abgelaufen."
          }
        }
      },
      "SpenderPage": {
        "required": [
          "linkId",
          "items",
          "lookedUp",
          "truncated"
        ],
        "type": "object",
        "properties": {
          "linkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links.",
            "format": "int64"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Spender"
            },
            "description": "Die Fans mit Ausgaben > 0."
          },
          "lookedUp": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Wie viele Abonnenten bzw. Einlöser ausgewertet wurden.",
            "format": "int32"
          },
          "truncated": {
            "type": "boolean",
            "description": "true: Obergrenze erreicht (Tracking-Links 100 Abonnenten, Trial-Links 500 Einlöser); der Link hat mehr, die Liste und ihre Summen sind Mindestwerte."
          }
        },
        "description": "Fans eines Links mit Ausgaben, höchste zuerst."
      },
      "SseItemOfAccountEvent": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Das Ereignis.",
            "$ref": "#/components/schemas/AccountEvent"
          },
          "eventType": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name des SSE-Ereignisses (event:), gleich dem Typ."
          },
          "eventId": {
            "type": [
              "null",
              "string"
            ],
            "description": "ID des SSE-Ereignisses (id:); für Last-Event-ID beim Wiederverbinden."
          },
          "reconnectionInterval": {
            "pattern": "^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$",
            "type": [
              "null",
              "string"
            ],
            "description": "Empfohlene Wartezeit vor dem Wiederverbinden (retry:)."
          }
        },
        "description": "Ein Ereignis im SSE-Stream."
      },
      "StartDate": {
        "required": [
          "creatorSince"
        ],
        "type": "object",
        "properties": {
          "creatorSince": {
            "type": [
              "null",
              "string"
            ],
            "description": "Beginn als Creator; null, wenn die Plattform keinen nennt.",
            "format": "date-time"
          }
        },
        "description": "Seit wann der Account Creator ist."
      },
      "StoredLink": {
        "required": [
          "id",
          "kind",
          "name",
          "url",
          "clicks",
          "subscribers",
          "createdAt",
          "endsAt",
          "isClosed",
          "sharedWith",
          "tags",
          "firstSeenAt",
          "lastSeenAt",
          "goneAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links bei der Plattform.",
            "format": "int64"
          },
          "kind": {
            "type": "string",
            "description": "tracking oder trial."
          },
          "name": {
            "type": "string",
            "description": "Name des Links."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vollständige Adresse des Links."
          },
          "clicks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Klicks auf den Link, zuletzt gesehen.",
            "format": "int32"
          },
          "subscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Tracking-Links: Abos über den Link; Trial-Links: Einlösungen; zuletzt gesehen.",
            "format": "int32"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Anlage des Links.",
            "format": "date-time"
          },
          "endsAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Tracking-Links: Ende des Links; Trial-Links: Ablauf; null = offen bzw. ohne Ablauf.",
            "format": "date-time"
          },
          "isClosed": {
            "type": "boolean",
            "description": "Tracking-Links: gelöscht; Trial-Links: abgelaufen oder alle Einlösungen verbraucht."
          },
          "sharedWith": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SharedUser"
              }
            ],
            "description": "Nutzer, mit dem der Link geteilt ist; null, wenn nicht geteilt."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Eigene Tags bei nocturo connect."
          },
          "firstSeenAt": {
            "type": "string",
            "description": "Erstmals gespeichert.",
            "format": "date-time"
          },
          "lastSeenAt": {
            "type": "string",
            "description": "Letzter Abgleich, in dem die Plattform den Link lieferte.",
            "format": "date-time"
          },
          "goneAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Seit diesem Abgleich führt die Plattform den Link nicht mehr; die Zahlen sind die zuletzt gesehenen.",
            "format": "date-time"
          }
        },
        "description": "Gespeicherte Kopie eines Links bei nocturo connect, mit den zuletzt gesehenen Zahlen und eigenen Tags."
      },
      "Story": {
        "required": [
          "id",
          "createdAt",
          "isReady",
          "views",
          "likes",
          "comments",
          "tipsSum",
          "canDelete",
          "isHighlightCover",
          "media"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID der Story bei der Plattform; steht in Pfaden als {storyId}.",
            "format": "int64"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Story.",
            "format": "date-time"
          },
          "isReady": {
            "type": "boolean"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Betrachter der Story.",
            "format": "int32"
          },
          "likes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Likes der Story.",
            "format": "int32"
          },
          "comments": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Kommentare zur Story.",
            "format": "int32"
          },
          "tipsSum": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Summe der Tips auf die Story in USD.",
            "format": "double"
          },
          "canDelete": {
            "type": "boolean",
            "description": "true: Die Plattform erlaubt, die Story zu löschen."
          },
          "isHighlightCover": {
            "type": "boolean",
            "description": "true: Die Story ist Titelbild eines Highlights."
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MessageMedia"
            },
            "description": "Medien der Story."
          }
        },
        "description": "Eine eigene Story."
      },
      "StoryPage": {
        "required": [
          "items",
          "hasMore",
          "nextMarker"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Story"
            },
            "description": "Die Storys dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt ältere Storys."
          },
          "nextMarker": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Als marker für ältere Storys übergeben; null am Ende.",
            "format": "int64"
          }
        },
        "description": "Eine Seite der eigenen Storys."
      },
      "StoryStats": {
        "required": [
          "storyId",
          "createdAt",
          "views",
          "likes",
          "comments",
          "tips",
          "tipsSum"
        ],
        "type": "object",
        "properties": {
          "storyId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID der Story.",
            "format": "int64"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Story.",
            "format": "date-time"
          },
          "views": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Aufrufe der Story.",
            "format": "int32"
          },
          "likes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Likes der Story.",
            "format": "int32"
          },
          "comments": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Kommentare zur Story.",
            "format": "int32"
          },
          "tips": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Tips.",
            "format": "int32"
          },
          "tipsSum": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Summe der Tips in USD.",
            "format": "double"
          }
        },
        "description": "Kennzahlen einer Story."
      },
      "Stream": {
        "type": "string",
        "format": "binary"
      },
      "SubscriberMetrics": {
        "required": [
          "from",
          "to",
          "subscribers",
          "new",
          "renewed",
          "earningsNet",
          "earningsGross"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "subscribers": {
            "description": "Abonnenten.",
            "$ref": "#/components/schemas/Metric"
          },
          "new": {
            "description": "Neue Abonnenten.",
            "$ref": "#/components/schemas/Metric"
          },
          "renewed": {
            "description": "Verlängerte Abos.",
            "$ref": "#/components/schemas/Metric"
          },
          "earningsNet": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Netto-Umsatz in USD.",
            "format": "double"
          },
          "earningsGross": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Umsatz vor dem Anteil der Plattform, in USD.",
            "format": "double"
          }
        },
        "description": "Abonnenten und Abo-Umsatz eines Zeitraums, wie die Statistikseite der Plattform sie zeigt."
      },
      "SubscribersStats": {
        "required": [
          "from",
          "to",
          "newPerDay",
          "earningsPerDay",
          "newSubscribers",
          "earningsTotal",
          "delta"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "newPerDay": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayValue"
            },
            "description": "Neue Abonnenten je Tag, kostenlose eingeschlossen."
          },
          "earningsPerDay": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayValue"
            },
            "description": "Umsatz aus neuen bezahlten Abos je Tag."
          },
          "newSubscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Neue Abonnenten im Zeitraum (Summe von newPerDay).",
            "format": "double"
          },
          "earningsTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Umsatz aus neuen bezahlten Abos im Zeitraum.",
            "format": "double"
          },
          "delta": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Änderung gegenüber dem vorigen Zeitraum, wie die Plattform sie meldet; der Wert wird unverändert weitergegeben.",
            "format": "double"
          }
        },
        "description": "Neue Abonnenten und ihr Umsatz je Tag."
      },
      "SubscriptionPeriod": {
        "required": [
          "subscribedAt",
          "expiresAt",
          "price"
        ],
        "type": "object",
        "properties": {
          "subscribedAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Beginn des Zeitraums.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ende des Zeitraums.",
            "format": "date-time"
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Monatspreis dieses Zeitraums in USD; 0 = kostenlos.",
            "format": "double"
          }
        },
        "description": "Ein Abo-Zeitraum eines Fans."
      },
      "TabsBody": {
        "required": [
          "tabs"
        ],
        "type": "object",
        "properties": {
          "tabs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Alle Reiter der Benachrichtigungen in der neuen Reihenfolge, all zuerst."
          }
        }
      },
      "Taggable": {
        "required": [
          "id",
          "name",
          "type",
          "user"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Eintrags bei der Plattform.",
            "format": "int64"
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name des Eintrags."
          },
          "type": {
            "type": [
              "null",
              "string"
            ],
            "description": "Art des Eintrags: creator, guest oder form."
          },
          "user": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ChatUser"
              }
            ],
            "description": "Das Profil dahinter; null, wenn keines."
          }
        },
        "description": "Ein Eintrag, der in Posts markiert werden kann."
      },
      "TaggablePage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Taggable"
            },
            "description": "Die Einträge dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der markierbaren Einträge."
      },
      "TagsBody": {
        "required": [
          "tags"
        ],
        "type": "object",
        "properties": {
          "tags": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Tags, die hinzukommen (je bis 30 Zeichen, höchstens 10 je Link); vorhandene bleiben. Mindestens einer."
          }
        }
      },
      "ToggleBody": {
        "required": [
          "entityId",
          "entityType"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "entityType": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "TopMessage": {
        "required": [
          "id",
          "date",
          "text",
          "isMass",
          "messageId",
          "toUserId",
          "price",
          "purchases",
          "grossRevenue",
          "mediaCount",
          "sentCount",
          "viewedCount"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Statistik-ID der Plattform.",
            "format": "int64"
          },
          "date": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Nachricht.",
            "format": "date-time"
          },
          "text": {
            "type": "string",
            "description": "Text der Nachricht, ohne HTML."
          },
          "isMass": {
            "type": "boolean",
            "description": "Aus einer Massennachricht; Direktnachrichten tragen messageId und toUserId."
          },
          "messageId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Die Nachricht im Chat (für …/chats/{toUserId}/messages); null bei Massennachrichten.",
            "format": "int64"
          },
          "toUserId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Fans; null bei Massennachrichten.",
            "format": "int64"
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis in USD; null bei kostenlosen Nachrichten.",
            "format": "double"
          },
          "purchases": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Käufe der Nachricht.",
            "format": "int32"
          },
          "grossRevenue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Preis × Käufe (vor dem Anteil der Plattform), von nocturo connect berechnet.",
            "format": "double"
          },
          "mediaCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl der Medien.",
            "format": "int32"
          },
          "sentCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Empfänger, wie die Plattform sie meldet; null, wenn sie keine nennt.",
            "format": "int32"
          },
          "viewedCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Aufrufe, wie die Plattform sie meldet; null, wenn sie keine nennt.",
            "format": "int32"
          }
        },
        "description": "Die Nachricht mit den meisten Käufen in einem Zeitraum."
      },
      "TrackingLink": {
        "required": [
          "id",
          "code",
          "name",
          "url",
          "clicks",
          "subscribers",
          "createdAt",
          "endDate",
          "isDeleted"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links bei der Plattform; steht in Pfaden als {linkId}.",
            "format": "int64"
          },
          "code": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Kennung im Link: onlyfans.com/{username}/c{code}.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Name des Links."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vollständige Adresse des Links."
          },
          "clicks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Klicks auf den Link.",
            "format": "int32"
          },
          "subscribers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Abos, die über den Link kamen.",
            "format": "int32"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Anlage des Links.",
            "format": "date-time"
          },
          "endDate": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ende des Links; null, solange er offen ist.",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean",
            "description": "true: Der Link ist bei der Plattform gelöscht."
          }
        },
        "description": "Ein Tracking-Link. Klicks und Abonnenten zählen über die ganze Laufzeit."
      },
      "TrackingLinkPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackingLink"
            },
            "description": "Die Links dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Tracking-Links."
      },
      "Transaction": {
        "required": [
          "id",
          "createdAt",
          "type",
          "amount",
          "net",
          "fee",
          "vat",
          "tax",
          "currency",
          "status",
          "description",
          "user"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID der Transaktion bei der Plattform."
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der Transaktion.",
            "format": "date-time"
          },
          "type": {
            "type": [
              "null",
              "string"
            ],
            "description": "Art der Einnahme: subscription, message, tip, post, stream, …"
          },
          "amount": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Betrag der Transaktion, wie die Plattform ihn meldet.",
            "format": "double"
          },
          "net": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Netto-Betrag, wie die Plattform ihn meldet.",
            "format": "double"
          },
          "fee": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Gebühr, wie die Plattform sie meldet.",
            "format": "double"
          },
          "vat": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Umsatzsteuer-Betrag, wie die Plattform ihn meldet.",
            "format": "double"
          },
          "tax": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Steuer-Betrag, wie die Plattform ihn meldet.",
            "format": "double"
          },
          "currency": {
            "type": [
              "null",
              "string"
            ],
            "description": "Währung der Beträge, z. B. USD."
          },
          "status": {
            "type": [
              "null",
              "string"
            ],
            "description": "Stand der Transaktion, wie die Plattform ihn nennt."
          },
          "description": {
            "type": "string",
            "description": "Beschreibung der Plattform, ohne HTML."
          },
          "user": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TransactionUser"
              }
            ],
            "description": "Der Fan, von dem die Einnahme kam; null, wenn die Plattform keinen nennt."
          }
        },
        "description": "Eine Einnahme des Accounts, wie die Plattform sie in ihren Transaktionen führt."
      },
      "TransactionPage": {
        "required": [
          "items",
          "hasMore",
          "nextMarker"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Transaction"
            },
            "description": "Die Transaktionen dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt ältere Transaktionen."
          },
          "nextMarker": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Als marker für die nächste, ältere Seite übergeben.",
            "format": "int64"
          }
        },
        "description": "Eine Seite der Transaktionen, neueste zuerst."
      },
      "TransactionTotals": {
        "required": [
          "from",
          "to",
          "net",
          "gross",
          "categories"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Erster Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "to": {
            "type": "string",
            "description": "Letzter Tag des Zeitraums (UTC, eingeschlossen).",
            "format": "date"
          },
          "net": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Netto-Umsatz aller Kategorien in USD.",
            "format": "double"
          },
          "gross": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "description": "Umsatz aller Kategorien vor dem Anteil der Plattform, in USD.",
            "format": "double"
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoryTotal"
            },
            "description": "Je Kategorie mit Umsatz eine Zeile, höchster Netto-Umsatz zuerst."
          }
        },
        "description": "Umsätze eines Zeitraums je Kategorie, aus den täglichen Einträgen der Plattform."
      },
      "TransactionUser": {
        "required": [
          "id",
          "username",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Plattform-ID des Fans.",
            "format": "int64"
          },
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Benutzername, ohne @."
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Name, wie der Fan ihn selbst angibt."
          }
        },
        "description": "Der Fan einer Transaktion."
      },
      "TrialLink": {
        "required": [
          "id",
          "name",
          "url",
          "freeDays",
          "maxClaims",
          "claims",
          "clicks",
          "createdAt",
          "expiresAt",
          "isFinished"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Links bei der Plattform; steht in Pfaden als {linkId}.",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "description": "Name des Links."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vollständige Adresse des Links."
          },
          "freeDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Dauer des kostenlosen Zugangs in Tagen.",
            "format": "int32"
          },
          "maxClaims": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Höchstzahl der Einlösungen; 0 = ohne Grenze.",
            "format": "int32"
          },
          "claims": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Wie oft das Angebot genutzt wurde.",
            "format": "int32"
          },
          "clicks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Klicks auf den Link.",
            "format": "int32"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Anlage des Links.",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Ablauf des Links; null = ohne Ablauf.",
            "format": "date-time"
          },
          "isFinished": {
            "type": "boolean",
            "description": "Abgelaufen oder alle Einlösungen verbraucht, wie die Plattform es meldet."
          }
        },
        "description": "Ein Trial-Link: kostenloser Zugang für freeDays Tage, höchstens maxClaims Mal (0 = ohne Grenze)."
      },
      "TrialLinkPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrialLink"
            },
            "description": "Die Links dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Trial-Links."
      },
      "UnreadChats": {
        "required": [
          "items",
          "unreadMessages",
          "truncated"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Chat"
            },
            "description": "Die Chats mit ungelesenen Nachrichten."
          },
          "unreadMessages": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Summe der ungelesenen Nachrichten in diesen Chats.",
            "format": "int32"
          },
          "truncated": {
            "type": "boolean",
            "description": "true: Es gibt mehr ungelesene Chats als max."
          }
        },
        "description": "Chats mit ungelesenen Nachrichten."
      },
      "UpdateHighlight": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neuer Titel; null = bleibt."
          },
          "storyIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Die Storys des Highlights in Reihenfolge (ersetzen die bisherigen); null = bleiben."
          },
          "coverStoryId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Neue Titelbild-Story; null = bleibt.",
            "format": "int64"
          }
        }
      },
      "UploadFromUrl": {
        "required": [
          "url",
          "fileName",
          "checkDuplicate"
        ],
        "type": "object",
        "properties": {
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "http(s)-Adresse der Datei; muss öffentlich erreichbar sein."
          },
          "fileName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Optional: Dateiname (sonst aus der Adresse)."
          },
          "checkDuplicate": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Vor dem Upload prüfen, ob die Datei schon im Vault ist (Standard true)."
          }
        },
        "description": "Upload einer Datei von einer Adresse."
      },
      "UploadResponse": {
        "required": [
          "deduplicated",
          "vaultMediaId",
          "hidden",
          "uploadRef",
          "size",
          "eTag"
        ],
        "type": "object",
        "properties": {
          "deduplicated": {
            "type": "boolean",
            "description": "true: Die Datei ist schon im Vault; vaultMediaId in mediaIds nutzen, hochgeladen wurde nichts."
          },
          "vaultMediaId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "ID des vorhandenen Mediums, wenn deduplicated true ist.",
            "format": "int64"
          },
          "hidden": {
            "type": "boolean",
            "description": "Das vorhandene Medium hat der Creator aus dem Vault entfernt."
          },
          "uploadRef": {
            "type": [
              "null",
              "string"
            ],
            "description": "Für uploadRefs beim Senden; 24 Stunden gültig, nur für diesen Account."
          },
          "size": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Größe der hochgeladenen Datei in Byte.",
            "format": "int64"
          },
          "eTag": {
            "type": [
              "null",
              "string"
            ],
            "description": "ETag, den der Speicher der Plattform für den Upload gemeldet hat."
          }
        },
        "description": "Ergebnis eines Uploads."
      },
      "UserIdsBody": {
        "required": [
          "userIds"
        ],
        "type": "object",
        "properties": {
          "userIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Plattform-IDs der Fans, die in die Liste kommen; höchstens 500."
          }
        }
      },
      "UserList": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID der Liste: eine Zahl bei eigenen Listen, ein Wort bei Listen der Plattform."
          },
          "name": {
            "type": "string",
            "description": "Name der Liste."
          },
          "type": {
            "type": "string",
            "description": "Art der Liste, wie die Plattform sie nennt."
          }
        },
        "description": "Eine Liste, in der der Nutzer steht, z. B. eine eigene Liste „VIP“."
      },
      "UsernameBody": {
        "required": [
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": [
              "null",
              "string"
            ],
            "description": "Der zu prüfende Benutzername, ohne @."
          }
        }
      },
      "UsernameCheck": {
        "required": [
          "username",
          "exists"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "Der geprüfte Benutzername."
          },
          "exists": {
            "type": "boolean",
            "description": "true: Bei der Plattform gibt es ein Profil mit diesem Namen."
          }
        },
        "description": "Ergebnis der Prüfung eines Benutzernamens."
      },
      "UserPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatUser"
            },
            "description": "Die Nutzer dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Als offset für die nächste Seite übergeben; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite von Nutzern."
      },
      "VaultFolder": {
        "required": [
          "id",
          "type",
          "name",
          "canUpdate",
          "canDelete",
          "photos",
          "videos",
          "gifs",
          "audios"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Ordners.",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "description": "custom (eigener Ordner) oder ein Ordner der Plattform: messages, posts, stories, streams, media_stickers."
          },
          "name": {
            "type": "string",
            "description": "Name des Ordners."
          },
          "canUpdate": {
            "type": "boolean",
            "description": "Der Ordner lässt sich umbenennen."
          },
          "canDelete": {
            "type": "boolean",
            "description": "Der Ordner lässt sich löschen."
          },
          "photos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl Fotos.",
            "format": "int32"
          },
          "videos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl Videos.",
            "format": "int32"
          },
          "gifs": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl GIFs.",
            "format": "int32"
          },
          "audios": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Anzahl Audios.",
            "format": "int32"
          }
        },
        "description": "Ein Ordner im Vault mit der Anzahl je Medientyp."
      },
      "VaultFolderPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset",
          "all"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VaultFolder"
            },
            "description": "Die Ordner dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          },
          "all": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/VaultFolder"
              }
            ],
            "description": "Anzahl je Medientyp im ganzen Vault."
          }
        },
        "description": "Eine Seite der Vault-Ordner."
      },
      "VaultFolderRef": {
        "required": [
          "id",
          "type",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Ordners.",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "description": "custom oder ein Ordner der Plattform."
          },
          "name": {
            "type": "string",
            "description": "Name des Ordners."
          }
        },
        "description": "Ein Ordner, in dem ein Medium liegt."
      },
      "VaultMedia": {
        "required": [
          "id",
          "type",
          "createdAt",
          "isReady",
          "hasError",
          "durationSeconds",
          "width",
          "height",
          "sizeBytes",
          "thumbUrl",
          "squarePreviewUrl",
          "previewUrl",
          "fullUrl",
          "likes",
          "tipsSum",
          "buyers",
          "hasPosts",
          "folders"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Mediums.",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "description": "photo, video, audio oder gif."
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt, zu dem das Medium in den Vault kam.",
            "format": "date-time"
          },
          "isReady": {
            "type": "boolean",
            "description": "Die Plattform hat das Medium fertig verarbeitet."
          },
          "hasError": {
            "type": "boolean",
            "description": "Die Verarbeitung bei der Plattform ist fehlgeschlagen."
          },
          "durationSeconds": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Länge in Sekunden bei Video und Audio.",
            "format": "int32"
          },
          "width": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Breite in Pixeln.",
            "format": "int32"
          },
          "height": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Höhe in Pixeln.",
            "format": "int32"
          },
          "sizeBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Dateigröße in Byte.",
            "format": "int64"
          },
          "thumbUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Kleines Vorschaubild."
          },
          "squarePreviewUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Quadratische Vorschau."
          },
          "previewUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Vorschau in mittlerer Größe."
          },
          "fullUrl": {
            "type": [
              "null",
              "string"
            ],
            "description": "Das Medium in voller Größe."
          },
          "likes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Likes auf dieses Medium, wie die Plattform sie zählt.",
            "format": "int32"
          },
          "tipsSum": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Tips auf dieses Medium, wie die Plattform sie meldet; der Wert wird unverändert weitergegeben.",
            "format": "double"
          },
          "buyers": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Käufer dieses Mediums, wie die Plattform sie zählt.",
            "format": "int32"
          },
          "hasPosts": {
            "type": "boolean",
            "description": "Das Medium steckt in mindestens einem Post."
          },
          "folders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VaultFolderRef"
            },
            "description": "Ordner, in denen das Medium liegt."
          }
        },
        "description": "Ein Medium im Vault."
      },
      "VaultMediaPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VaultMedia"
            },
            "description": "Die Medien dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Medien im Vault."
      },
      "VaultUploadItem": {
        "required": [
          "vaultMediaId",
          "alreadyInVault",
          "ready"
        ],
        "type": "object",
        "properties": {
          "vaultMediaId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "ID des Mediums im Vault.",
            "format": "int64"
          },
          "alreadyInVault": {
            "type": "boolean",
            "description": "Die Datei war schon im Vault und wurde nicht erneut hochgeladen."
          },
          "ready": {
            "type": "boolean",
            "description": "Die Plattform hat die Datei fertig verarbeitet; false = noch in Arbeit, später mit GET …/vault/media/{id} nachsehen."
          }
        },
        "description": "Ein Medium aus einem Upload in den Vault."
      },
      "VaultUploadResult": {
        "required": [
          "messageId",
          "carrierChatId",
          "media"
        ],
        "type": "object",
        "properties": {
          "messageId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Die Träger-Nachricht; null, wenn jede Datei schon im Vault war.",
            "format": "int64"
          },
          "carrierChatId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Der Träger-Chat.",
            "format": "int64"
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VaultUploadItem"
            },
            "description": "Die Medien des Uploads."
          }
        },
        "description": "Ergebnis eines Uploads in den Vault über den Träger-Chat."
      },
      "ViewerPage": {
        "required": [
          "items",
          "hasMore",
          "nextOffset"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatUser"
            },
            "description": "Die Betrachter dieser Seite."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt weitere Seiten."
          },
          "nextOffset": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "Offset der nächsten Seite; null am Ende.",
            "format": "int32"
          }
        },
        "description": "Eine Seite der Betrachter einer Story."
      },
      "WebhookCreate": {
        "required": [
          "name",
          "url",
          "events"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Eigener Name des Webhooks."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Adresse (http oder https), an die Ereignisse als POST gehen."
          },
          "events": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Ereignistypen oder Muster (message.*, *); siehe GET /v1/webhooks/events."
          },
          "accountId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nur Ereignisse dieses Accounts; null = alle Accounts.",
            "format": "uuid"
          },
          "includeRaw": {
            "type": "boolean",
            "description": "Die Originaldaten der Plattform im Feld raw mitschicken.",
            "default": false
          },
          "secret": {
            "type": [
              "null",
              "string"
            ],
            "description": "Eigenes Signier-Geheimnis (16–200 Zeichen); leer = wird erzeugt."
          }
        },
        "description": "Ein neuer Webhook."
      },
      "WebhookCreated": {
        "required": [
          "webhook",
          "secret"
        ],
        "type": "object",
        "properties": {
          "webhook": {
            "description": "Der Webhook.",
            "$ref": "#/components/schemas/WebhookResponse"
          },
          "secret": {
            "type": "string",
            "description": "Das Signier-Geheimnis; wird nur hier, beim Anlegen, zurückgegeben."
          }
        },
        "description": "Der neue Webhook mit seinem Geheimnis."
      },
      "WebhookDeliveryAttemptInfo": {
        "required": [
          "number",
          "at",
          "manual",
          "status",
          "error"
        ],
        "type": "object",
        "properties": {
          "number": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Nummer des Versuchs; geht als X-Nocturo-Attempt mit.",
            "format": "int32"
          },
          "at": {
            "type": "string",
            "description": "Zeitpunkt des Versuchs.",
            "format": "date-time"
          },
          "manual": {
            "type": "boolean",
            "description": "Von Hand erneut gesendet, nicht vom automatischen Plan."
          },
          "status": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "HTTP-Status der Antwort; null, wenn keine Antwort kam.",
            "format": "int32"
          },
          "error": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fehler des Versuchs."
          }
        },
        "description": "Ein Versuch einer Zustellung."
      },
      "WebhookDeliveryDetail": {
        "required": [
          "delivery",
          "attempts"
        ],
        "type": "object",
        "properties": {
          "delivery": {
            "description": "Die Zustellung.",
            "$ref": "#/components/schemas/WebhookDeliveryInfo"
          },
          "attempts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WebhookDeliveryAttemptInfo"
            },
            "description": "Die Versuche, älteste zuerst."
          }
        },
        "description": "Eine Zustellung mit allen Versuchen, älteste zuerst."
      },
      "WebhookDeliveryInfo": {
        "required": [
          "id",
          "eventId",
          "eventType",
          "state",
          "attempts",
          "createdAt",
          "nextAt",
          "deliveredAt",
          "lastStatus",
          "lastError"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID der Zustellung.",
            "format": "uuid"
          },
          "eventId": {
            "type": "string",
            "description": "ID des Ereignisses; geht als X-Nocturo-Delivery mit.",
            "format": "uuid"
          },
          "eventType": {
            "type": "string",
            "description": "Typ des Ereignisses."
          },
          "state": {
            "type": "string",
            "description": "pending, delivered oder dead."
          },
          "attempts": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Alle Versuche bisher, automatisch und manuell.",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "description": "Anlage der Zustellung.",
            "format": "date-time"
          },
          "nextAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nächster automatischer Versuch (nur bei pending).",
            "format": "date-time"
          },
          "deliveredAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Zeitpunkt der erfolgreichen Zustellung.",
            "format": "date-time"
          },
          "lastStatus": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "HTTP-Status des letzten Versuchs.",
            "format": "int32"
          },
          "lastError": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fehler des letzten Versuchs."
          },
          "manualAttempts": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Davon von Hand erneut gesendet.",
            "format": "int32",
            "default": 0
          },
          "retryRequested": {
            "type": "boolean",
            "description": "Ein manueller Versuch wartet und geht binnen Sekunden raus.",
            "default": false
          }
        },
        "description": "Eine Zustellung eines Ereignisses an einen Webhook."
      },
      "WebhookDeliveryPage": {
        "required": [
          "items",
          "hasMore",
          "nextBefore"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WebhookDeliveryInfo"
            },
            "description": "Die Zustellungen dieser Seite, neueste zuerst."
          },
          "hasMore": {
            "type": "boolean",
            "description": "true: Es gibt ältere Zustellungen."
          },
          "nextBefore": {
            "type": [
              "null",
              "string"
            ],
            "description": "Als before für die nächste, ältere Seite übergeben; null am Ende.",
            "format": "uuid"
          }
        },
        "description": "Eine Seite der Zustellungen eines Webhooks."
      },
      "WebhookResponse": {
        "required": [
          "id",
          "name",
          "url",
          "events",
          "accountId",
          "includeRaw",
          "enabled",
          "createdAt",
          "lastDeliveryAt",
          "lastStatus",
          "lastError",
          "consecutiveFailures",
          "delivered"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID des Webhooks.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Eigener Name."
          },
          "url": {
            "type": "string",
            "description": "Adresse, an die Ereignisse gehen."
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Ereignistypen oder Muster."
          },
          "accountId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Nur Ereignisse dieses Accounts; null = alle Accounts.",
            "format": "uuid"
          },
          "includeRaw": {
            "type": "boolean",
            "description": "Originaldaten der Plattform werden mitgeschickt."
          },
          "enabled": {
            "type": "boolean",
            "description": "Der Webhook ist eingeschaltet."
          },
          "createdAt": {
            "type": "string",
            "description": "Anlage des Webhooks.",
            "format": "date-time"
          },
          "lastDeliveryAt": {
            "type": [
              "null",
              "string"
            ],
            "description": "Letzte Zustellung.",
            "format": "date-time"
          },
          "lastStatus": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "HTTP-Status der letzten Zustellung.",
            "format": "int32"
          },
          "lastError": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fehler der letzten Zustellung."
          },
          "consecutiveFailures": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Fehlgeschlagene Zustellungen in Folge.",
            "format": "int32"
          },
          "delivered": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "description": "Erfolgreiche Zustellungen insgesamt.",
            "format": "int64"
          }
        },
        "description": "Ein Webhook."
      },
      "WebhookTestResult": {
        "required": [
          "status",
          "error",
          "ok"
        ],
        "type": "object",
        "properties": {
          "status": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "description": "HTTP-Status der Antwort; null, wenn keine Antwort kam.",
            "format": "int32"
          },
          "error": {
            "type": [
              "null",
              "string"
            ],
            "description": "Fehler der Zustellung."
          },
          "ok": {
            "type": "boolean",
            "description": "true: Die Adresse hat mit 2xx geantwortet."
          }
        },
        "description": "Ergebnis einer Testzustellung."
      },
      "WebhookUpdate": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neuer Name."
          },
          "url": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neue Adresse."
          },
          "events": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Neue Ereignistypen oder Muster."
          },
          "enabled": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Webhook ein- oder ausschalten."
          },
          "includeRaw": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "Originaldaten der Plattform mitschicken."
          }
        },
        "description": "Änderungen an einem Webhook; nicht gesetzte Felder bleiben."
      },
      "WelcomeMessage": {
        "required": [
          "enabled",
          "id",
          "text",
          "price",
          "mediaIds",
          "previewMediaIds",
          "lockedText"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "description": "Die Plattform schickt die Nachricht an jeden neuen Abonnenten."
          },
          "id": {
            "type": [
              "null",
              "string"
            ],
            "description": "ID der Nachricht bei der Plattform; null, wenn noch keine angelegt ist."
          },
          "text": {
            "type": "string",
            "description": "Text der Nachricht, ohne HTML (Zeilenumbrüche bleiben)."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "PPV-Preis der Nachricht; null = kostenlos.",
            "format": "double"
          },
          "mediaIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Medien aus dem Vault."
          },
          "previewMediaIds": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Medien, die als Vorschau frei sichtbar bleiben."
          },
          "lockedText": {
            "type": "boolean",
            "description": "Der Text ist bis zum Kauf gesperrt (PPV)."
          }
        },
        "description": "Die Nachricht, die jeder neue Abonnent bekommt."
      },
      "WelcomeMessageBody": {
        "type": "object",
        "properties": {
          "text": {
            "type": [
              "null",
              "string"
            ],
            "description": "Neuer Text (ohne HTML); null = bleibt."
          },
          "mediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Neue Medien (Vault-IDs); null = bleiben."
          },
          "price": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "description": "Neuer Preis; null = bleibt, 0 = kostenlos.",
            "format": "double"
          },
          "previewMediaIds": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            },
            "description": "Neue Vorschau-Medien; null = bleiben."
          }
        }
      },
      "WelcomeSwitch": {
        "required": [
          "enabled"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": [
              "null",
              "boolean"
            ],
            "description": "true: Die Plattform schickt die Willkommensnachricht an jeden neuen Abonnenten; false: nicht."
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "http",
        "description": "API-Key aus dem Portal (Seite API-Keys).",
        "scheme": "bearer",
        "bearerFormat": "nc_<prefix>_<secret>"
      }
    }
  },
  "security": [
    {
      "ApiKey": [ ]
    }
  ],
  "tags": [
    {
      "name": "v1"
    },
    {
      "name": "accounts"
    },
    {
      "name": "events"
    },
    {
      "name": "exports"
    },
    {
      "name": "fans"
    },
    {
      "name": "users"
    },
    {
      "name": "lists"
    },
    {
      "name": "mass-messages"
    },
    {
      "name": "statistics"
    },
    {
      "name": "links"
    },
    {
      "name": "raw"
    },
    {
      "name": "promotions"
    },
    {
      "name": "posts"
    },
    {
      "name": "stories"
    },
    {
      "name": "settings"
    },
    {
      "name": "saved-for-later"
    },
    {
      "name": "notifications"
    },
    {
      "name": "release-forms"
    },
    {
      "name": "vault"
    },
    {
      "name": "webhooks"
    }
  ]
}