ComusThumbz Dokumentation
Admin-Anmeldung

API

ComusThumbz REST API Dokumentation

AdminModeration

GET /api/v1/adminmoderation

Bulk billigen POST /api/v1/admin/moderation/bulk/approve

  • Auth erforderlich: PUBLIC

DELETE /api/v1/adminmoderation

Inhalt löschen (DMCA Takedown) DELETE /api/v1/admin/moderation/{type}/{id}

  • Auth erforderlich: PUBLIC

AdminUser

GET /api/v1/adminuss

Benutzeraktivität log GET /api/v1/admin/users/{id}/aktivität

  • Auth erforderlich: PUBLIC

PUT /api/v1/adminuss

Benutzer aktualisieren PUT /api/v1/admin/users/{id}

  • Auth erforderlich: PUBLIC

Anzeigen

GET /api/v1/ads

Anzeigenstatistik (Admin) GET /api/v1/admin/admin/{id}/stats

  • Auth erforderlich: PUBLIC

Analyse

GET /api/v1/analytik

Traffic Analytics GET /api/v1/analytics/traffic erhalten

  • Auth erforderlich: PUBLIC

Authentizität

GET /api/v1/auth

2FA DELETE /api/v1/auth/2fa

  • Auth erforderlich: PUBLIC

Banner

GET /api/v1/Banner

Bannerstatistik GET /api/v1/banners/{id}/stats

  • Auth erforderlich: PUBLIC
  • Parameter:
  • bannerId (int): Banner ID

Kategorien

GET /api/v1/Kategorien

Galerien in der Kategorie GET /api/v1/Kategorien/{id}/galleries

  • Auth erforderlich: PUBLIC
  • Parameter:
  • id (int): Kategorie ID

POST /api/v1/Kategorien

Neue Kategorie erstellen (nur Admin) POST /api/v1/Kategorien

  • Auth erforderlich: PUBLIC

PUT /api/v1/Kategorien

Kategorie aktualisieren (nur Admin)

  • Auth erforderlich: PUBLIC
  • Parameter:
  • id (int): Kategorie ID

DELETE /api/v1/Kategorien

Kategorie löschen (nur Admin) DELETE /api/v1/Kategorien/{id}

  • Auth erforderlich: PUBLIC
  • Parameter:
  • id (int): Kategorie ID

Klickverfolgen

GET /api/v1/clicktracking

GET /api/v1/stats/clicks/user/{userId} Klicken Sie auf die Geschichte des Benutzers (Benutzer muss authentifiziert werden)

  • Auth erforderlich: PUBLIC

Bemerkungen

GET /api/v1/Bezüge

GET /api/v1/comes/flagged Erhalten Sie alle markierten Kommentare (nur Admin)

  • Auth erforderlich: PUBLIC

POST /api/v1/Bezüge

POST /api/v1/cams/{site}/{performer}/comments Fügen Sie einen Kommentar zu einem Webcam-Performer hinzu

  • Auth erforderlich: PUBLIC

PUT /api/v1/Bezüge

PUT /api/v1/comments/{id}/status Kommentarstatus aktualisieren (nur Admin)

  • Auth erforderlich: PUBLIC

DELETE /api/v1/Bezüge

DELETE /api/v1/comments/{id}/like Remove like/dislike from a comment

  • Auth erforderlich: PUBLIC

Das Ergebnis

GET /api/v1/creatorearnings

GET /creator/earnings/platform-settings - Holen Sie sich Plattform-Gebühr-Einstellungen Gibt globale Plattform-Gebühr und die benutzerdefinierte Gebühr des Schöpfers, falls zutreffend Dieser Endpunkt ist ÖFFENTLICHE (kein Auth erforderlich) für Anzeigezwecke

  • Auth erforderlich: PUBLIC

Das Leben der Menschen

GET /api/v1/Kreatorprofile

CreatorProfilesController - Creator Profile Management

  • Auth erforderlich: PUBLIC

POST /api/v1/Kreatorprofile

POST /creator/profile - Neues Schöpferprofil erstellen

  • Auth erforderlich: PUBLIC

PUT /api/v1/Kreatorprofile

PATCH /creator/profile/me - Update authentifiziertes Schöpferprofil

  • Auth erforderlich: PUBLIC

Schöpfer

GET /api/v1/Erzeuger

POST /api/v1/creators/me/cover Upload Creator Cover Bild

  • Auth erforderlich: PUBLIC

PUT /api/v1/Erzeuger

PUT/api/v1/creators/me Einstellungen für das Erstellen von Profilen

  • Auth erforderlich: PUBLIC

Autorenabschriften

GET /api/v1/creatorsubscriptions

DELETE /creators/{id}/packages/{packageid} - Schöpfer deaktiviert ein Paket

  • Auth erforderlich: PUBLIC

Ergebnis

GET /api/v1/Ergebnisse

GET /api/v1/Kreator/Ergebnisse/nach Ressourcen Ergebnisaufschlüsselung nach Quelle (Tipps, Abonnements, PPV) Inklusive Anzahl und Summen

  • Auth erforderlich: PUBLIC

Favoriten

GET /api/v1/favoriten

GET / Favoriten/Länder Erhalten Sie die Favoriten des Benutzers nach Typ

  • Auth erforderlich: PUBLIC

POST /api/v1/favoriten

POST / Favoriten Artikel zu den Favoriten hinzufügen Körper: { "contentTyp": "videogalgallery|camperformermodelmodel, "contentid": "123", "Anmerkungen": "optional" }

  • Auth erforderlich: PUBLIC

DELETE /api/v1/favoriten

DELETE / Favorites/{type}/{id} Von Favoriten entfernen

  • Auth erforderlich: PUBLIC

Eigenschaften

GET /api/v1/features

Speichern Sie aktivierte Cam-Seiten GET /api/v1/features/cams

  • Auth erforderlich: PUBLIC

Futtermittel

GET /api/v1/feed

Erhalten Sie trendige Inhalte GET /api/v1/feed/trending

  • Auth erforderlich: PUBLIC

Freunde

GET /api/v1/Freunde

Reject Freund Anfrage PUT /api/v1/friends/{id}/Reject

  • Auth erforderlich: PUBLIC
  • Parameter:
  • id (int): Freundschafts-ID

POST /api/v1/Freunde

Freundschaftsanfrage senden /api/v1/friends

  • Auth erforderlich: PUBLIC

DELETE /api/v1/Freunde

Entfernen Freund DELETE /api/v1/friends/{id}

  • Auth erforderlich: PUBLIC
  • Parameter:
  • id (int): Freundschafts-ID

Galerien

GET /api/v1/gallerien

GET /galleries/{id}/bezogen - Get related gallery

  • Auth erforderlich: PUBLIC

POST /api/v1/gallerien

POST /galleries - Galerie erstellen (nur Admin)

  • Auth erforderlich: PUBLIC

PUT /api/v1/gallerien

PATCH /galleries/{id}/status - Galeriestatus aktualisieren (nur Admin)

  • Auth erforderlich: PUBLIC

DELETE /api/v1/gallerien

DELETE /galleries/{id} - Galerie löschen (nur Admin)

  • Auth erforderlich: PUBLIC

ImpressionTracking

GET /api/v1/impressiontracking

GET /api/v1/Impressionen/Trends/{Typ} Performance Trends im Laufe der Zeit

  • Auth erforderlich: PUBLIC

LiveStream

GET /api/v1/livestream

GET /api/v1/live/{id}/pro Minute/Status Erhalten Sie aktuellen Status pro Minute

  • Auth erforderlich: PUBLIC

Medien

GET /api/v1/media

Speicher URL für eine bestimmte Videodatei erhalten

  • Auth erforderlich: PUBLIC
  • Parameter:
  • videoId (int): Video-ID
  • fileType (String): Dateityp (Thumbnail, Vorschau, Poster, Video, hls, etc.)
  • Zurück: nichtig - (wird URL oder Fehler herunterladen)

Nachrichten

GET /api/v1/messages

Liste der blockierten Benutzer GET /api/v1/messages/blocked

  • Auth erforderlich: PUBLIC

DELETE /api/v1/messages

Löschen einer Nachricht DELETE /api/v1/messages/{id}

  • Auth erforderlich: PUBLIC

Modelle

GET /api/v1/Modelle

GET /api/v1/Modelle/{id}/details Holen Sie sich einheitliche Modelldetails Query params: - Typ: regularcamcamModell (erfordert)

  • Auth erforderlich: PUBLIC

POST /api/v1/Modelle

POST /api/v1/Modelle Neues Modell erstellen (nur Admin)

  • Auth erforderlich: PUBLIC

PUT /api/v1/Modelle

PUT/api/v1/ModellKlassen/{id}/status Modellstatus aktualisieren (nur Admin)

  • Auth erforderlich: PUBLIC

DELETE /api/v1/Modelle

DELETE /api/v1/ModellKlassen/{id} Modell löschen (nur Admin)

  • Auth erforderlich: PUBLIC

Mitteilungen

GET /api/v1/notifications

Erhalten Sie Benachrichtigungseinstellungen GET /api/v1/notifications/preferences

  • Auth erforderlich: PUBLIC

PUT /api/v1/notifications

Update-Benachrichtigungseinstellungen PUT /api/v1/Beschreibungen/Präferenzen

  • Auth erforderlich: PUBLIC

DELETE /api/v1/notifications

Benachrichtigung löschen (soft delete) DELETE /api/v1/notifications/{id}

  • Auth erforderlich: PUBLIC

Spieler

GET /api/v1/player

Player Controller Handles Videoplayer Konfiguration und Einstellungen

  • Auth erforderlich: PUBLIC

Playlists

GET /api/v1/playlists

PUT /playlists/{id}/items/reorder Reorder playlist items (owner only) Body: { "items": [ { "itemid": 1, "sortorder": 0 }, { "itemid": 2, "sortorder": 1 } ] }

  • Auth Required: PUBLIC

POST /api/v1/playlists

POST /playlists/{id}/items Add video to playlist (owner only) Body: { "videoid": 123, "sortorder": 1 }

  • Auth Required: PUBLIC

PUT /api/v1/playlists

PUT /playlists/{id} Update playlist (owner only)

  • Auth Required: PUBLIC

DELETE /api/v1/playlists

DELETE /playlists/{id}/items/{itemId} Remove video from playlist (owner only)

  • Auth Required: PUBLIC

Posts

GET /api/v1/posts

GET /api/v1/posts/{id}/poll Get poll data for a post

  • Auth Required: PUBLIC
  • Parameters:
  • postId (int): Post ID

POST /api/v1/posts

POST /api/v1/posts/with-product Create a post with product attachment Handles multipart/form-data with files

  • Auth Required: PUBLIC

PUT /api/v1/posts

PUT /api/v1/posts/{id}/poll Update poll data for a post

  • Auth Required: PUBLIC
  • Parameters:
  • postId (int): Post ID

DELETE /api/v1/posts

DELETE /comments/{id} Delete a comment (soft delete)

  • Auth Required: PUBLIC

Products

GET /api/v1/products

Refund a merchandise purchase (Option 2: Proportional Loss) - User gets full refund (100%) - Creator loses their portion (80%) - Platform absorbs their portion (20%)

  • Auth Required: PUBLIC

POST /api/v1/products

Products Controller Handles creator merchandise/product operations

  • Auth Required: AUTH

PUT /api/v1/products

Update order shipping status and tracking number

  • Auth Required: PUBLIC

Ratings

GET /api/v1/ratings

GET /api/v1/models/{id}/rating Get rating stats for a model

  • Auth Required: PUBLIC

DELETE /search/history - Clear user's search history

  • Auth Required: PUBLIC

SecurityQuestions

GET /api/v1/securityquestions

Reset password using security question token POST /api/v1/auth/reset-password-with-token

  • Auth Required: PUBLIC

Settings

GET /api/v1/settings

Get video player settings GET /api/v1/settings/player

  • Auth Required: PUBLIC

PUT /api/v1/settings

Get all public settings (cached) This is the main method that builds the settings array / private function getPublicSettings(): array { global $conn;

  • Auth Required: PUBLIC

Sponsors

GET /api/v1/sponsors

Track sponsor click POST /api/v1/sponsors/{id}/click

  • Auth Required: PUBLIC

Styles

GET /api/v1/styles

Bulk save multiple styles at once POST /api/v1/styles/bulk

  • Auth Required: PUBLIC

DELETE /api/v1/styles

Delete a specific style override DELETE /api/v1/styles/{id}

  • Auth Required: PUBLIC
  • Parameters:
  • id (int): Style ID

Subscriptions

GET /api/v1/subscriptions

Upgrade subscription POST /api/v1/subscriptions/upgrade

  • Auth Required: PUBLIC

Tags

GET /api/v1/tags

Parse tag string and return tag IDs (creates tags if they don't exist) POST /api/v1/tags/parse

  • Auth Required: PUBLIC

POST /api/v1/tags

Create new tag (admin only) POST /api/v1/tags

  • Auth Required: PUBLIC

PUT /api/v1/tags

Update tag (admin only) PUT /api/v1/tags/{id}

  • Auth Required: PUBLIC
  • Parameters:
  • id (int): Tag ID

DELETE /api/v1/tags

Delete tag (admin only) DELETE /api/v1/tags/{id}

  • Auth Required: PUBLIC
  • Parameters:
  • id (int): Tag ID

Tips

GET /api/v1/tips

POST /api/v1/tips/{tipid}/refund Refund a tip (creator only) - Option 2: Proportional Loss User gets 100% back, creator loses their portion (80%), platform absorbs their portion (20%)

  • Auth Required: PUBLIC

UserPreferences

GET /api/v1/userpreferences

GET /user/preferences Get all user preferences (privacy, stream, email)

  • Auth Required: PUBLIC

PUT /api/v1/userpreferences

PUT /user/preferences/email Update user's email preferences

  • Auth Required: PUBLIC

Users

GET /api/v1/users

Get trusted devices for current user GET /api/v1/user/trusted-devices

  • Auth Required: PUBLIC

PUT /api/v1/users

Update profile privacy settings PUT /api/v1/users/me/privacy

  • Auth Required: PUBLIC

DELETE /api/v1/users

Remove a trusted device DELETE /api/v1/user/trusted-devices/{id}

  • Auth Required: PUBLIC

UserVerification

GET /api/v1/userverification

GET /admin/verification/stats Get verification statistics (admin only)

  • Auth Required: PUBLIC

PUT /api/v1/userverification

PUT /admin/verification/{userId}/status Update verification status (admin only)

  • Auth Required: PUBLIC

DELETE /api/v1/userverification

DELETE /user/verification/documents/{documentId} Delete a verification document

  • Auth Required: PUBLIC

VideoReports

GET /api/v1/videoreports

GET /video-reports/reasons - Get list of valid report reasons

  • Auth Required: PUBLIC

Videos

GET /api/v1/videos

Generate URL-friendly slug from title

  • Auth Required: PUBLIC
  • Parameters:
  • title (string):
  • Returns: string -

POST /api/v1/videos

POST /videos/{id}/tags - Add tag to video

  • Auth Required: PUBLIC

PUT /api/v1/videos

PATCH /videos/{id}/status - Update video status (admin only)

  • Auth Required: PUBLIC

DELETE /api/v1/videos

DELETE /videos/{id} - Delete video (owner or admin)

  • Auth Required: PUBLIC

WatchHistory

GET /api/v1/watchhistory

POST /content/{type}/{id}/track Track viewing of any content type (camperformer, gallery, model) Body: optional { "watchedduration": 1, "totalduration": 1 }

  • Auth Required: PUBLIC

PUT /api/v1/watchhistory

POST /videos/{id}/progress Update video watch progress Body: { "watchedduration": 120, "totalduration": 600, "lastposition": 120 }

  • Auth Required: PUBLIC

DELETE /api/v1/watchhistory

DELETE /history/{id} Remove specific history entry

  • Auth Required: PUBLIC

Webcam

GET /api/v1/webcam

GET /cams/{id}/schedule - Get performer's schedule/heatmap data

  • Auth Required: PUBLIC
  • Parameters:
  • performerId (int): Performer ID from tblCamsPerformers
  • Returns: array - Schedule data with metadata

Webhooks

GET /api/v1/webhooks

GET /api/v1/webhooks/status Get cloud encoding status (requires admin auth)

  • Auth Required: PUBLIC

Withdrawals

GET /api/v1/withdrawals

GET /api/v1/creator/withdrawals/my-requests Get withdrawal history for current user

  • Auth Required: PUBLIC