Download OpenAPI specification:
OpenAPI spec for pr0gramm.com. At the current state, pr0gramm's API is considered unstable and is not versioned.
However, we try to avoid large breaking changes but cannot give any guarantee that it won't happen. You can join our Discord Server and get notified on when are about to deploy breaking API changes. Our discord community is open for everyone who wants to develop anything that has to do with pr0gramm and/or uses the API. Bots, services, User Scripts; you name it.
Uploads a new avatar and activates it. Resizes to 512×512 PNG.
| image required | string <binary> (File) Some file to upload. File type depends on the endpoint in question. |
{- "id": 0,
- "filename": "string"
}Gets the bookmarks currently available for the user. Includes trending stuff. Will return default bookmarks for non-logged-in users.
| default | boolean |
{- "collections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": true,
- "isDefault": true
}
], - "bookmarks": [
- {
- "name": "string",
- "link": "string",
- "isDefault": true
}
], - "trending": [
- {
- "name": "string",
- "search": "string",
- "link": "string",
- "velocity": 0
}
]
}Adds something to the bookmarks of the user. Returns the same as the get endpoint.
| name required | string |
| link required | string |
{- "collections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": true,
- "isDefault": true
}
], - "bookmarks": [
- {
- "name": "string",
- "link": "string",
- "isDefault": true
}
], - "trending": [
- {
- "name": "string",
- "search": "string",
- "link": "string",
- "velocity": 0
}
]
}Removes something from the bookmarks of the user. Returns the same as the get endpoint.
| name required | string |
{- "collections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": true,
- "isDefault": true
}
], - "bookmarks": [
- {
- "name": "string",
- "link": "string",
- "isDefault": true
}
], - "trending": [
- {
- "name": "string",
- "search": "string",
- "link": "string",
- "velocity": 0
}
]
}{- "success": true,
- "events": [
- {
- "id": 0,
- "userId": 0,
- "userName": "string",
- "userMark": 0,
- "title": "string",
- "description": "string",
- "imagePath": "string",
- "iconPath": "string",
- "location": "string",
- "startTime": 0,
- "endTime": 0,
- "conditions": "string",
- "imageTagRequired": "string",
- "rewardsDescription": "string",
- "registrationEnabled": true,
- "created": 0,
- "modified": 0,
- "startTimeTs": 0,
- "endTimeTs": 0,
- "createdTs": 0,
- "modifiedTs": 0,
- "categoryName": "string",
- "categoryColor": "string"
}
], - "error": "string"
}Gets calendar events for a specific date range
| startTimestamp required | integer |
| endTimestamp required | integer |
{- "success": true,
- "events": [
- {
- "id": 0,
- "userId": 0,
- "userName": "string",
- "userMark": 0,
- "title": "string",
- "description": "string",
- "imagePath": "string",
- "iconPath": "string",
- "location": "string",
- "startTime": 0,
- "endTime": 0,
- "conditions": "string",
- "imageTagRequired": "string",
- "rewardsDescription": "string",
- "registrationEnabled": true,
- "created": 0,
- "modified": 0,
- "startTimeTs": 0,
- "endTimeTs": 0,
- "createdTs": 0,
- "modifiedTs": 0,
- "categoryName": "string",
- "categoryColor": "string"
}
], - "error": "string"
}Signs up the current user for an event or updates an existing registration.
| eventId required | integer |
| signupType | any (SignupType) Enum: "confirmed" "tentative" |
| reminderPmEnabled | boolean |
| reminderEmailEnabled | boolean |
{- "success": false,
- "error": "notFound"
}Unregisters the current user from an event.
| eventId required | integer |
{- "success": false,
- "error": "notFound"
}Gets registrations (users) for a specific event, optionally paginated and filtered.
| eventId required | integer |
| query | string |
| limit | integer |
| offset | integer |
{- "success": true,
- "signups": [
- {
- "id": 0,
- "eventId": 0,
- "userId": 0,
- "userName": "string",
- "userMark": 0,
- "signupType": "confirmed",
- "reminderPmEnabled": true,
- "reminderEmailEnabled": true,
- "createdTs": 0,
- "modifiedTs": 0
}
], - "total": 0,
- "error": "string"
}Gets all events the current user is registered for.
{- "success": true,
- "events": [
- {
- "id": 0,
- "userId": 0,
- "userName": "string",
- "userMark": 0,
- "title": "string",
- "description": "string",
- "imagePath": "string",
- "iconPath": "string",
- "location": "string",
- "startTimeTs": 0,
- "endTimeTs": 0,
- "conditions": "string",
- "imageTagRequired": "string",
- "rewardsDescription": "string",
- "createdTs": 0,
- "modifiedTs": 0,
- "signupType": "confirmed",
- "reminderPmEnabled": true,
- "reminderEmailEnabled": true,
- "signupCreatedTs": 0
}
], - "error": "string"
}Gets the current user's registration for a specific event.
| eventId required | integer |
{- "success": true,
- "signup": {
- "id": 0,
- "eventId": 0,
- "userId": 0,
- "userName": "string",
- "userMark": 0,
- "signupType": "confirmed",
- "reminderPmEnabled": true,
- "reminderEmailEnabled": true,
- "createdTs": 0,
- "modifiedTs": 0
}, - "error": "string"
}Gets the collections (public and private) of the current user.
| thumbs | integer |
{- "collections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": true,
- "isDefault": true,
- "items": [
- {
- "id": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0
}
], - "curators": [
- {
- "name": "string",
- "mark": 0,
- "accepted": true
}
]
}
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": true,
- "isDefault": true,
- "items": [
- {
- "id": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0
}
], - "curators": [
- {
- "name": "string",
- "mark": 0,
- "accepted": true
}
], - "owner": "string",
- "ownerMark": 0
}
]
}Returns the collections that an item is a member of, specific to the current user.
| itemId required | integer <int64> (ItemId) Numeric ID of an item/upload. |
{- "collections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": true,
- "isDefault": true,
- "owner": {
- "name": "string",
- "mark": 0
}
}
]
}Creates a new collection.
| name required | string |
| isPublic required | boolean |
| isDefault required | boolean |
{- "success": false,
- "error": "nameInvalid"
}Sets a collection as default
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{- "collections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": true,
- "isDefault": true,
- "items": [
- {
- "id": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0
}
], - "curators": [
- {
- "name": "string",
- "mark": 0,
- "accepted": true
}
]
}
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": true,
- "isDefault": true,
- "items": [
- {
- "id": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0
}
], - "curators": [
- {
- "name": "string",
- "mark": 0,
- "accepted": true
}
], - "owner": "string",
- "ownerMark": 0
}
]
}Used to set some settings on a collection. For example, visibility and its name.
| name required | string |
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
| isPublic required | boolean |
| isDefault | boolean |
{- "success": false,
- "error": "nameInvalid"
}Adds a user as a curator to a collection.
| userName required | string (UserName) The name of a user. |
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{- "success": false,
- "error": "canNotAddSelf"
}Removes a user as a curator from a collection.
| userName required | string (UserName) The name of a user. |
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{- "success": false,
- "error": "collectionNotFound"
}Accepts an invitation to become a curator of a specific collection.
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{ }Ignores (dismisses) an invitation to become a curator of a specific collection.
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{ }Allows the potential curator to accept the invite again.
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{ }Deletes a collection. ¯_(ツ)_/¯
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{- "success": false,
- "error": "cannotDeleteDefault"
}Well, adds an item to some collection.
| collectionId | integer <int64> (CollectionId) Numeric ID of a collection. |
| itemId required | integer <int64> (ItemId) Numeric ID of an item/upload. |
{- "success": false,
- "error": "cannotModifyNonDefault"
}Well, removes an item from some collection.
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
| itemId required | integer <int64> (ItemId) Numeric ID of an item/upload. |
{- "success": false,
- "error": "collectionNotFound"
}Batch-copies items that match all specified tags from a source collection to a destination collection
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
| destinationCollectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
| tags required | string (CommaSeparatedTags) Comma-separated list of tags in a single string. |
{- "error": "string"
}Batch-moves items that match all specified tags from a source collection to a destination collection
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
| destinationCollectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
| tags required | string (CommaSeparatedTags) Comma-separated list of tags in a single string. |
{- "error": "string"
}Well, follows a collection.
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{- "success": true,
- "error": "string"
}Well, unfollows a collection.
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{- "success": true
}Records a click on a collection for the BookmarkBar auto-sorting.
| collectionId required | integer <int64> (CollectionId) Numeric ID of a collection. |
{ }Gets preview data that is usually displayed as a preview when hovering over a link to a comment.
| identifier required | integer <int64> (CommentId) Numeric ID of a comment. |
{- "preview": {
- "itemId": 0,
- "itemThumb": "string",
- "itemPreview": "string",
- "itemUp": 0,
- "itemDown": 0,
- "flags": 0,
- "itemCreated": 0,
- "itemUser": "string",
- "itemMark": 0,
- "commentId": 0,
- "commentContent": "string",
- "commentUp": 0,
- "commentDown": 0,
- "commentCreated": 0,
- "commentUser": "string",
- "commentMark": 0
}
}Posts a comment.
| itemId required | integer <int64> (ItemId) Numeric ID of an item/upload. |
| parentId required | integer <int64> (CommentId) Numeric ID of a comment. |
| comment required | string |
{- "success": false,
- "error": "commentTooSoon"
}Edits the requesting user's own comment within a 5-minute window after posting. The edit creates a history entry visible to all logged-in users.
| commentId required | integer <int64> (CommentId) Numeric ID of a comment. |
| comment required | string |
{- "success": false,
- "error": "commentNotFound"
}Returns the full edit history of a comment (visible to all logged-in users for transparency).
| id required | integer <int64> (CommentId) Numeric ID of a comment. |
{- "versions": [
- {
- "editedAt": 0,
- "content": "string",
- "editedByAuthor": true,
- "redactedByMod": true
}
]
}Casts a vote on a comment. A vote of 2 means "fav".
| id required | integer <int64> (CommentId) Numeric ID of a comment. |
| vote required | any (CommentVote) Enum: -1 0 1 2 |
{ }Removes a comment from the user's favorites.
| id required | integer <int64> (CommentId) Numeric ID of a comment. |
{ }Pre-defined reasons to ban a user for
| type required | integer |
| itemId | integer <int64> (ItemId) Numeric ID of an item/upload. |
| commentId | integer <int64> (CommentId) Numeric ID of a comment. |
{- "preferredReason": "string",
- "rules": [
- {
- "banReason": "string",
- "number": 0.1,
- "id": 0
}
]
}Returns the changelog.
| page | integer |
| itemsPerPage | integer |
{- "changes": [
- {
- "id": 0,
- "title": "string",
- "text": "string",
- "created": 0
}
], - "pagination": {
- "currentPage": 0,
- "totalPages": 0,
- "totalItems": 0,
- "itemsPerPage": 0
}
}Gets faq sub categories with articles for given category name
| category required | string (Slug) Alphanumeric URL-safe string. See: https://www.semrush.com/blog/what-is-a-url-slug/ |
{- "categories": [
- {
- "id": 0,
- "title": "string",
- "cleanName": "string",
- "description": "string",
- "icon": "string",
- "thumb": "string"
}
], - "articles": [
- {
- "id": 0,
- "title": "string",
- "cleanName": "string",
- "text": "string"
}
]
}Gets an article with related articles for given article name
| article required | string (Slug) Alphanumeric URL-safe string. See: https://www.semrush.com/blog/what-is-a-url-slug/ |
{- "article": {
- "id": 0,
- "title": "string",
- "cleanName": "string",
- "tags": "string",
- "created": 0,
- "text": "string"
}, - "related": [
- {
- "id": 0,
- "title": "string"
}
]
}gets category, article or performs a search
| article | string (Slug) Alphanumeric URL-safe string. See: https://www.semrush.com/blog/what-is-a-url-slug/ |
| category | string |
| search | string |
{- "categories": [
- {
- "id": 0,
- "title": "string",
- "cleanName": "string",
- "description": "string",
- "icon": "string",
- "thumb": "string"
}
], - "articles": [
- {
- "id": 0,
- "title": "string",
- "cleanName": "string",
- "text": "string"
}
]
}Feature-Profil, Punktestand, offene Claims und Config der Game-Key-Börse.
{- "success": true,
- "config": {
- "tiers": [
- {
- "tier": 0,
- "points": 0,
- "minCents": 0,
- "maxCents": 0
}
], - "platforms": [
- {
- "id": "string",
- "keyPattern": "string"
}
], - "regions": [
- "string"
], - "gateMinScore": 0,
- "gateMinAccountAgeDays": 0,
- "starterCredit": 0,
- "floorTopupPoints": 0,
- "openClaimsMax": 0,
- "autoConfirmHours": 0,
- "putBackMaxPerDay": 0,
- "maxPooledOffers": 0,
- "manualBlacklistMax": 0,
- "raffleTicketDivisor": 0,
- "raffleDurations": [
- 0
], - "giverNoteMax": 0
}, - "eligible": true,
- "eligibilityReason": "string",
- "enrolled": true,
- "profile": {
- "steamId64": "string",
- "useSteamBlacklist": true,
- "steamSyncedAt": 0,
- "steamSyncStatus": "string",
- "featureBanned": true
}, - "balance": 0,
- "stats": {
- "submitted": 0,
- "pendingEscrow": 0,
- "confirmed": 0,
- "drawn": 0
}, - "openClaims": [
- {
- "offerId": 0,
- "type": "string",
- "tier": 0,
- "points": 0,
- "platform": "string",
- "region": "string",
- "note": "string",
- "title": "string",
- "coverUrl": "string",
- "igdbId": 0,
- "claimedAt": 0,
- "autoConfirmAt": 0,
- "revealed": true
}
], - "drawBlockedUntil": 0
}Spiele-Suche über IGDB (Titel oder Store-URL).
| q | string |
| storeUrl | string |
{- "success": true,
- "error": "string",
- "matches": [
- {
- "igdbId": 0,
- "title": "string",
- "coverUrl": "string",
- "steamAppId": 0
}
]
}Löst ein Spiel inkl. Preis und Preisstufe auf (Bestätigungs-Schritt beim Einstellen).
| igdbId required | integer |
{- "success": true,
- "error": "string",
- "game": {
- "gameId": 0,
- "igdbId": 0,
- "title": "string",
- "coverUrl": "string",
- "steamAppId": 0,
- "isFree": true,
- "priceCents": 0,
- "tier": 0,
- "points": 0
}
}Spiel-Detailseite: IGDB-Metadaten, Screenshots und Store-Links zu einem Spiel.
| igdbId required | integer |
{- "success": true,
- "error": "string",
- "game": {
- "gameId": 0,
- "igdbId": 0,
- "title": "string",
- "coverUrl": "string",
- "steamAppId": 0,
- "isFree": true,
- "priceCents": 0,
- "tier": 0,
- "points": 0
}, - "details": {
- "summary": "string",
- "genres": [
- "string"
], - "releaseDate": "string",
- "rating": 0,
- "ratingCount": 0,
- "developer": "string",
- "publisher": "string",
- "coverUrlLarge": "string",
- "screenshotUrls": [
- "string"
], - "screenshotUrlsLarge": [
- "string"
], - "steamUrl": "string",
- "gogUrl": "string",
- "epicUrl": "string",
- "itchUrl": "string",
- "officialUrl": "string"
}
}Stellt einen Game-Key ein (Wundertüte oder Verlosung). Der Key wird nur einem Format-Check unterzogen, keiner Gültigkeitsprüfung. Mit donate=true verzichtet der Geber dauerhaft auf die Punkte-Gutschrift (Verschenken).
| igdbId required | integer |
| platform required | string |
| region required | string |
| key required | string |
| type required | string |
| raffleDurationHours | integer |
| donate | boolean |
| note | string |
{- "success": true,
- "error": "string",
- "offerId": 0,
- "raffleId": 0
}Zieht einen eigenen, noch nicht gezogenen Wundertüten-Key zurück.
| offerId required | integer |
{- "success": true,
- "error": "string"
}Wundertüte: zieht einen zufälligen Key der gewählten Preisstufe. Das Spiel wird aufgedeckt, der Key erst nach explizitem Reveal. Nach zu vielen Weiterlegen-Aktionen innerhalb von 24 Stunden blockiert (putBackLimitReached).
| tier required | integer |
| platform | string |
{- "success": true,
- "error": "string",
- "claim": {
- "offerId": 0,
- "type": "string",
- "tier": 0,
- "points": 0,
- "platform": "string",
- "region": "string",
- "note": "string",
- "title": "string",
- "coverUrl": "string",
- "igdbId": 0,
- "claimedAt": 0,
- "autoConfirmAt": 0,
- "revealed": true
}
}Legt einen gezogenen, noch nicht aufgedeckten Key zurück in den Pool (voller Punkte-Refund). Immer möglich; das Weiterlegen-Tageslimit blockiert stattdessen den nächsten Draw.
| offerId required | integer |
{- "success": true,
- "error": "string"
}Deckt den Key eines Claims auf. Das erste Reveal ist endgültig: danach ist Weiterlegen nicht mehr möglich.
| offerId required | integer |
{- "success": true,
- "error": "string",
- "key": "string",
- "region": "string"
}Einlöse-Rückmeldung des Nehmers: geklappt, schon eingelöst, falsche Region oder ungültig. Die Meldung ist der Dispute — bei Fail gibt es die Punkte automatisch zurück und der Geber erhält einen Strike. Der optionale Freitext-Grund (note) ist nur für die Moderation sichtbar.
| offerId required | integer |
| result required | string |
| note | string |
{- "success": true,
- "error": "string"
}Verlosungen (Filter: all, mine, entered). "all" listet nur laufende; mine/entered enthalten auch beendete (drawn/cancelled), laufende zuerst.
| filter | string |
| page | integer |
{- "success": true,
- "serverNow": 0,
- "atEnd": true,
- "raffles": [
- {
- "raffleId": 0,
- "ticketPrice": 0,
- "endsAt": 0,
- "tier": 0,
- "points": 0,
- "platform": "string",
- "region": "string",
- "note": "string",
- "title": "string",
- "coverUrl": "string",
- "igdbId": 0,
- "entryCount": 0,
- "entered": true,
- "mine": true,
- "status": "string",
- "keyOutcome": "string"
}
]
}Die Top-Verlosungen für die Highlight-Sektion: Ranking aus bereits gekauften Losen (am stärksten gewichtet), Store-Preis und Release-Datum (aktueller = besser).
{- "success": true,
- "serverNow": 0,
- "raffles": [
- {
- "raffleId": 0,
- "ticketPrice": 0,
- "endsAt": 0,
- "tier": 0,
- "points": 0,
- "platform": "string",
- "region": "string",
- "note": "string",
- "title": "string",
- "coverUrl": "string",
- "igdbId": 0,
- "entryCount": 0,
- "entered": true,
- "mine": true,
- "status": "string",
- "keyOutcome": "string"
}
]
}Detail einer Verlosung inkl. Gewinner nach der Ziehung.
| id required | integer |
{- "success": true,
- "error": "string",
- "serverNow": 0,
- "raffle": {
- "raffleId": 0,
- "offerId": 0,
- "ticketPrice": 0,
- "endsAt": 0,
- "tier": 0,
- "points": 0,
- "platform": "string",
- "region": "string",
- "note": "string",
- "title": "string",
- "coverUrl": "string",
- "igdbId": 0,
- "entryCount": 0,
- "entered": true,
- "mine": true,
- "status": "string",
- "keyOutcome": "string",
- "creatorName": "string",
- "winnerUserId": 0,
- "winnerName": "string",
- "drawnAt": 0
}
}Macht aus einem eigenen gepoolten Wundertüten-Key eine Verlosung.
| offerId required | integer |
| durationHours required | integer |
{- "success": true,
- "error": "string",
- "raffleId": 0
}Kauft ein Los. Der Einsatz verfällt, wenn man nicht gewinnt.
| raffleId required | integer |
{- "success": true,
- "error": "string"
}Bricht eine eigene offene Verlosung ab; alle Lose werden erstattet.
| raffleId required | integer |
{- "success": true,
- "error": "string"
}Eigene Keys: als Geber (role=giver) oder gezogene/gewonnene (role=taker).
| role required | string |
| page | integer |
{- "success": true,
- "error": "string",
- "atEnd": true,
- "offers": [
- {
- "offerId": 0,
- "type": "string",
- "tier": 0,
- "donated": true,
- "points": 0,
- "platform": "string",
- "region": "string",
- "note": "string",
- "status": "string",
- "feedback": "string",
- "autoConfirmed": true,
- "revealed": true,
- "putBackCount": 0,
- "created": 0,
- "claimedAt": 0,
- "autoConfirmAt": 0,
- "confirmedAt": 0,
- "title": "string",
- "coverUrl": "string",
- "igdbId": 0,
- "raffleId": 0,
- "raffleStatus": "string",
- "raffleEndsAt": 0
}
]
}Eigene Punkte-Historie (Keyset-Pagination) und aktueller Kontostand.
| olderThan | integer |
{- "success": true,
- "balance": 0,
- "entries": [
- {
- "id": 0,
- "amount": 0,
- "reason": "string",
- "refType": "string",
- "refId": 0,
- "created": 0
}
]
}Bestenliste: die Nutzer mit den meisten Key-Punkten, plus eigener Platz.
{- "success": true,
- "entries": [
- {
- "rank": 0,
- "name": "string",
- "mark": 0,
- "balance": 0
}
], - "myBalance": 0,
- "myRank": 0
}Eigene "hab ich schon"-Blacklist (manuell + Steam-Sync-Status).
{- "success": true,
- "manual": [
- {
- "id": 0,
- "gameId": 0,
- "title": "string",
- "coverUrl": "string"
}
], - "steamCount": 0,
- "useSteamBlacklist": true
}Verknüpft das Steam-Profil (SteamID64, Vanity-Name oder Profil-URL) für den Bibliotheks-Abgleich; leer = Verknüpfung lösen.
| steamInput | string |
{- "success": true,
- "error": "string",
- "status": "string",
- "ownedCount": 0
}Synchronisiert die Steam-Bibliothek in die Blacklist (manueller Anstoß).
{- "success": true,
- "error": "string",
- "status": "string",
- "ownedCount": 0
}Schaltet den Steam-Bibliotheks-Abgleich beim Ziehen an/aus (Einträge bleiben erhalten).
| enabled required | boolean |
{- "success": true,
- "error": "string"
}(Mutually) deletes a conversation with a user
| recipientId required | integer <int64> (UserId) Numeric ID of a user. |
{ }Archives or unarchives a conversation for the current user
| recipientId required | integer <int64> (UserId) Numeric ID of a user. |
| archived required | boolean |
{ }Favorites or unfavorites a conversation for the current user
| recipientId required | integer <int64> (UserId) Numeric ID of a user. |
| favorite required | boolean |
{ }Sends a message to a user.
| comment required | string |
| recipientId required | integer <int64> (UserId) Numeric ID of a user. |
{- "success": false,
- "error": "string"
}Returns all pending notifications for the current user without marking them as read.
{- "messages": [
- {
- "type": "message",
- "id": 0,
- "name": "string",
- "mark": 0,
- "senderId": 0,
- "created": 0,
- "message": "string",
- "read": 0,
- "blocked": 0
}
], - "digests": [
- {
- "id": 0,
- "created": 0,
- "type": "digest",
- "pushNotification": {
- "title": "string",
- "body": "string"
}, - "message": "string",
- "notice": "string",
- "benisThreshold": 0,
- "read": true,
- "items": [
- {
- "id": 0,
- "flags": 0,
- "thumb": "string",
- "preview": "string",
- "user": {
- "name": "string",
- "mark": 0
}, - "up": 0,
- "down": 0,
- "created": 0
}
]
}
]
}Marks a specific message as read
| messageType required | any (InboxMessageType) Enum: "message" "comment" "notification" "follows" |
| messageId required | integer <int64> (MessageId) Numeric ID of a message/notification. |
{ }Gets all inbox messages. Marks messages as read when retrieving.
| older | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| markAsRead | boolean |
{- "messages": [
- {
- "type": "message",
- "id": 0,
- "name": "string",
- "mark": 0,
- "senderId": 0,
- "created": 0,
- "message": "string",
- "read": 0,
- "blocked": 0
}
], - "atEnd": true
}Gets the message that refer to comments. Marks messages a read when retrieving.
| older | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| markAsRead | boolean |
{- "messages": [
- {
- "type": "comment",
- "kind": "reply",
- "id": 0,
- "itemId": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0,
- "name": "string",
- "mark": 0,
- "senderId": 0,
- "score": 0,
- "created": 0,
- "message": "string",
- "read": 0,
- "blocked": 0,
- "canReply": true
}
], - "atEnd": true
}Gets the system notifications. Marks messages a read when retrieving.
| older | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| markAsRead | boolean |
{- "messages": [
- {
- "type": "notification",
- "kind": "string",
- "id": 0,
- "created": 0,
- "message": "string",
- "read": 0
}
], - "atEnd": true
}Marks all messages of the given inbox type as read.
| type required | any (InboxReadType) Enum: "message" "comment" "notification" "follows" |
{ }Gets the digests
| older | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| markAsRead | boolean |
{- "digests": [
- {
- "id": 0,
- "created": 0,
- "type": "digest",
- "pushNotification": {
- "title": "string",
- "body": "string"
}, - "message": "string",
- "notice": "string",
- "benisThreshold": 0,
- "read": true,
- "items": [
- {
- "id": 0,
- "flags": 0,
- "thumb": "string",
- "preview": "string",
- "user": {
- "name": "string",
- "mark": 0
}, - "up": 0,
- "down": 0,
- "created": 0
}
]
}
], - "atEnd": true
}Gets follow messages (subscriptions). Marks messages a read when retrieving.
| older | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| markAsRead | boolean |
{- "messages": [
- {
- "type": "follows",
- "id": 0,
- "itemId": 0,
- "image": "string",
- "thumb": "string",
- "preview": "string",
- "flags": 0,
- "name": "string",
- "mark": 0,
- "senderId": 0,
- "score": 0,
- "collection": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "tag": "string",
- "created": 0,
- "read": 0,
- "blocked": 0
}
], - "atEnd": true
}Gets the messages exchanged with a specific user. Marks messages a read when retrieving.
| older | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| markAsRead | boolean |
| with required | string (UserName) The name of a user. |
{- "with": {
- "mark": 0,
- "name": "string",
- "blocked": true,
- "canReceiveMessages": true,
- "avatar": "string"
}, - "ownAvatar": "string",
- "messages": [
- {
- "id": 0,
- "sent": 0,
- "read": 0,
- "name": "string",
- "mark": 0,
- "created": 0,
- "message": "string"
}
], - "atEnd": true
}Gets the conversation, that the user currently holds. Excludes deleted conversations.
| older | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| filter | any (ConversationListFilterParam) Enum: "favorites" "archived" |
{- "conversations": [
- {
- "mark": 0,
- "name": "string",
- "lastMessage": 0,
- "unreadCount": 0,
- "blocked": 0,
- "canReceiveMessages": true,
- "archived": 0,
- "favorited": 0,
- "lastMessagePreview": "string",
- "lastMessageFromMe": 0,
- "avatar": "string"
}
], - "atEnd": true
}Checks if the current user blocks the provided user.
| partner required | string (UserName) The name of a user. |
{- "blocked": true,
- "canReceiveMessages": true,
- "archived": true,
- "favorited": true,
- "partner": {
- "mark": 0,
- "name": "string",
- "avatar": "string"
}
}Votes on a post/item.
| vote required | any (ItemVote) Enum: -1 0 1 |
| id required | integer <int64> (ItemId) Numeric ID of an item/upload. |
{- "success": true
}Uploads an item (image/video).
| image required | string <binary> (File) Some file to upload. File type depends on the endpoint in question. |
{- "key": "string"
}Submits a previously uploaded item to the processing queue.
| tags required | string (CommaSeparatedTags) Comma-separated list of tags in a single string. |
| checkSimilar | boolean |
| targetCollectionId | integer <int64> (CollectionId) Numeric ID of a collection. |
| scheduleDate required | string |
| scheduleTime required | string |
| comment | string |
| key required | any (TODO) Can be any value - string, number, boolean, array or object. |
| imageUrl required | any (TODO) Can be any value - string, number, boolean, array or object. |
| source | string |
| siteUrl required | any (TODO) Can be any value - string, number, boolean, array or object. |
{- "success": false,
- "error": "collectionNotFound",
- "report": {
- "error": "dimensionsTooSmall",
- "format": null,
- "streams": [
- {
- "type": "string",
- "codec": "string"
}
], - "duration": 0.1,
- "width": 0,
- "height": 0
}
}Gets preview info of a specific item.
| identifier required | integer <int64> (ItemId) Numeric ID of an item/upload. |
{- "preview": {
- "itemId": 0,
- "itemThumb": "string",
- "itemPreview": "string",
- "itemUp": 0,
- "itemDown": 0,
- "flags": 0,
- "itemCreated": 0,
- "itemUser": "string",
- "itemMark": 0
}
}Gets tags and comments to display under a specific item.
| itemId required | integer <int64> (ItemId) Numeric ID of an item/upload. |
{- "tags": [
- {
- "confidence": 0.1,
- "id": 0,
- "tag": "string"
}
], - "comments": [
- {
- "confidence": 0.1,
- "content": "string",
- "created": 0,
- "down": 0,
- "id": 0,
- "mark": 0,
- "name": "string",
- "parent": 0,
- "up": 0,
- "blocked": true,
- "avatar": "string",
- "editedAt": 0,
- "editCount": 0
}
]
}Retrieves a list of items to display.
| flags required | integer <int8> (ItemFlags) Bitwise or (|) of item flags.
|
| id | integer <int64> (ItemId) Numeric ID of an item/upload. |
| tags | string (CommaSeparatedTags) Comma-separated list of tags in a single string. |
| user | string (UserName) The name of a user. |
| promoted | boolean |
| collection | string (Slug) Alphanumeric URL-safe string. See: https://www.semrush.com/blog/what-is-a-url-slug/ |
| following | boolean |
| newer | integer <int64> (ItemId) Numeric ID of an item/upload. |
| older | integer <int64> (ItemId) Numeric ID of an item/upload. |
| self | boolean |
| show_junk | boolean |
{- "atStart": true,
- "atEnd": true,
- "error": "string",
- "items": [
- {
- "id": 0,
- "promoted": 0,
- "userId": 0,
- "down": 0,
- "up": 0,
- "created": 0,
- "image": "string",
- "thumb": "string",
- "fullsize": "string",
- "preview": "string",
- "width": 0,
- "height": 0,
- "originalWidth": 0,
- "originalHeight": 0,
- "audio": true,
- "source": "string",
- "flags": 0,
- "user": "string",
- "mark": 0,
- "avatar": "string",
- "repost": true,
- "pinned": true,
- "subtitles": [
- {
- "language": "string",
- "path": "string",
- "label": "string",
- "isDefault": true
}
], - "variants": [
- {
- "name": "source",
- "path": "string",
- "mimeType": "string",
- "codec": "string",
- "width": 0,
- "height": 0,
- "bitRate": 0.1,
- "fileSize": 0
}
]
}
]
}Returns a lost of the user's items that are currently set to be published in the future date.
{- "items": [
- {
- "id": 0,
- "tags": [
- "string"
], - "comment": "string",
- "thumb": "string",
- "created": 0,
- "scheduled": 0,
- "source": "string",
- "targetCollectionId": 0,
- "targetCollection": {
- "name": "string",
- "keyword": "string",
- "owner": "string"
}
}
]
}Returns items currently being processed (pending/processing) for the user.
{- "items": [
- {
- "id": 0,
- "tags": [
- "string"
], - "thumb": "string",
- "created": 0,
- "status": "pending",
- "progress": 0,
- "duration": 0.1,
- "isVideo": true
}
]
}Publishes a scheduled item instantly, skipping scheduled time.
| queueId required | integer <int64> (QueueId) Numeric ID of an item/upload in the upload queue. |
{- "success": true
}Removes an item that the user has currently scheduled, so it won't get posted anymore.
| id required | integer <int64> (QueueId) Numeric ID of an item/upload in the upload queue. |
{- "success": true
}Removes all items that the user has currently scheduled, so they won't get posted anymore.
{- "success": true
}Updates tags, comment, target collection and scheduled time of an item the user has scheduled for a future date. The media itself cannot be changed.
| id required | integer <int64> (QueueId) Numeric ID of an item/upload in the upload queue. |
| tags required | string (CommaSeparatedTags) Comma-separated list of tags in a single string. |
| comment | string |
| source | string |
| targetCollectionId | integer <int64> (CollectionId) Numeric ID of a collection. |
| scheduleDate required | string |
| scheduleTime required | string |
{- "success": false,
- "error": "paymentRequired"
}Gets the current user's Kontakte profile and feature config.
{- "success": true,
- "config": {
- "bioMinLength": 0,
- "bioMaxLength": 0,
- "maxTags": 0,
- "tagMaxLength": 0,
- "radiusMin": 0,
- "radiusMax": 0,
- "radiusDefault": 0,
- "radiusStep": 0,
- "distanceRoundKm": 0,
- "listPageSize": 0
}, - "profile": {
- "bio": "string",
- "tags": [
- "string"
], - "zip": "string",
- "radiusKm": 0,
- "enabled": true
}
}Creates or updates the current user's Kontakte profile.
| bio | string |
| tags | Array of strings |
| zip | string |
| radius | integer |
| enabled | boolean |
{- "success": true,
- "error": "string"
}Returns swipeable candidate profiles for the current user.
| tag | string |
| limit | integer |
{- "success": true,
- "profiles": [
- {
- "userId": 0,
- "name": "string",
- "mark": 0,
- "benis": 0,
- "bio": "string",
- "tags": [
- "string"
], - "sharedTags": 0,
- "distanceKm": 0,
- "avatar": "string"
}
]
}Returns another user's Kontakte profile. Only enrolled users (with their own profile) may view it.
| name required | string |
{- "success": true,
- "error": "string",
- "profile": {
- "userId": 0,
- "name": "string",
- "mark": 0,
- "benis": 0,
- "bio": "string",
- "tags": [
- "string"
], - "sharedTags": 0,
- "distanceKm": 0,
- "avatar": "string",
- "likedByYou": true,
- "likedByThem": true,
- "isMatch": true
}
}Records a like/nope decision; reports whether it produced a match.
| toUserId required | integer |
| action required | string |
{- "success": true,
- "matched": true,
- "error": "string"
}Users who liked the current user (incoming likes).
| page | integer |
{- "success": true,
- "total": 0,
- "users": [
- {
- "userId": 0,
- "name": "string",
- "mark": 0,
- "benis": 0,
- "bio": "string",
- "tags": [
- "string"
], - "isMatch": true,
- "distanceKm": 0,
- "created": 0,
- "avatar": "string"
}
]
}Users the current user has liked (outgoing likes).
| page | integer |
{- "success": true,
- "total": 0,
- "users": [
- {
- "userId": 0,
- "name": "string",
- "mark": 0,
- "benis": 0,
- "bio": "string",
- "tags": [
- "string"
], - "isMatch": true,
- "distanceKm": 0,
- "created": 0,
- "avatar": "string"
}
]
}Mutual likes (matches) of the current user.
| page | integer |
{- "success": true,
- "total": 0,
- "users": [
- {
- "userId": 0,
- "name": "string",
- "mark": 0,
- "benis": 0,
- "bio": "string",
- "tags": [
- "string"
], - "isMatch": true,
- "distanceKm": 0,
- "created": 0,
- "avatar": "string"
}
]
}Withdraws an outgoing like, so the user disappears from "liked" and reappears in discover.
| toUserId required | integer |
{- "success": true
}Lists available meme templates
| offset | integer |
| order | any (MemeTemplateOrder) Enum: "popular" "own" "" |
{- "templates": [
- {
- "id": 0,
- "userId": 0,
- "name": "string",
- "private": true,
- "allowed": true,
- "background": "string",
- "data": "string",
- "created": 0,
- "posts": 0
}
]
}Gets details for a specific meme template
| id required | integer |
{- "template": {
- "id": 0,
- "userId": 0,
- "name": "string",
- "private": true,
- "allowed": true,
- "background": "string",
- "data": "string",
- "created": 0,
- "height": 0,
- "width": 0,
- "userName": "string",
- "userMark": 0
}
}Searches meme templates by tags or names
| q required | string |
| offset | integer |
{- "templates": [
- {
- "id": 0,
- "userId": 0,
- "name": "string",
- "private": true,
- "allowed": true,
- "background": "string",
- "data": "string",
- "created": 0,
- "height": 0,
- "width": 0,
- "userName": "string",
- "userMark": 0
}
]
}{- "template": {
- "id": 0,
- "userId": 0,
- "name": "string",
- "private": true,
- "allowed": true,
- "background": "string",
- "data": "string",
- "created": 0,
- "height": 0,
- "width": 0,
- "userName": "string",
- "userMark": 0
}
}Posts a generated meme as item to the stream.
| id required | integer |
| tags required | string (CommaSeparatedTags) Comma-separated list of tags in a single string. |
| imageData required | string <byte> (BinaryString) base64 encoded binary data |
{- "error": "string",
- "selfPosted": true,
- "queueId": 0,
- "report": "string",
- "item": {
- "id": 0
}
}Adds a template to meme browser.
| name required | string |
| public required | boolean |
| image required | string <binary> (File) Some file to upload. File type depends on the endpoint in question. |
{- "error": "string",
- "templateId": 0
}Updates the text positions of a meme template
| id required | integer |
| data required | string (JsonEncodedData) Some bag of data that is JSON encoded. |
{- "success": true
}Endpoint used by OAuth 2.0 clients to retrieve an access token.
| grant_type required | any Value: "authorization_code" |
| code required | string (OAuthAuthCode) Code that is obtained via OAuth and used to request an access token. |
| redirect_uri required | string |
| client_id | string (OAuthClientId) OAuth client id. |
| client_secret | string |
{- "access_token": "string",
- "token_type": "string",
- "scope": "string"
}Used by the frontend to get OAuth data that is then supplied to the return_uri of the OAuth client.
| clientId required | string (OAuthClientId) OAuth client id. |
| scope required | string |
| state required | string (OAuthState) Random state that is used to validate the OAuth request. |
| redirectUri required | string |
{- "error": "string",
- "authCode": "string",
- "userId": "string",
- "state": "string",
- "scopes": [
- "string"
]
}Revokes authorization of a previously authorized application.
| clientId required | string (OAuthClientId) OAuth client id. |
{- "success": true
}Returns information to display about an app in the OAuth dialog.
| clientId required | string (OAuthClientId) OAuth client id. |
| scope required | string |
| redirectUrl required | string |
{- "clientInfo": {
- "clientId": "string",
- "name": "string",
- "url": "string",
- "logo": "string",
- "description": "string"
}, - "permissions": [
- {
- "scope": "string",
- "description": "string"
}
]
}Gets current version of seen data for the current user. If version is null, the user does not have any data on the server.
{- "identifier": "string",
- "version": 0
}Returns binary data as the body of the response, so the client doesn't have to parse a large JSON with a 1mb base64 encoded string in it.
| compressed required | boolean |
Edits/updates seen data for the current user (frontend endpoint).
| nonce required | string |
| version required | integer |
{- "success": true,
- "version": 0,
- "error": "string"
}Gets the results of the active poll or a specific poll
| id | integer |
{- "success": true,
- "error": "string",
- "results": {
- "id": 0,
- "title": "string",
- "hideResults": true,
- "hasVoted": true,
- "totalVotes": 0,
- "questions": [
- {
- "id": 0,
- "title": "string",
- "type": "string",
- "options": [
- {
- "id": 0,
- "text": "string",
- "votes": 0,
- "percentage": 0.1
}
], - "stats": {
- "average": 0.1,
- "min": 0,
- "max": 0,
- "total": 0
}, - "distribution": [
- {
- "value": 0,
- "count": 0,
- "percentage": 0.1
}
]
}
]
}
}Gets preview data that is usually displayed as a preview when hovering over a link to a mentioned user.
| identifier required | string (UserName) The name of a user. |
{- "preview": {
- "name": "string",
- "mark": 0,
- "up": 0,
- "down": 0,
- "created": 0,
- "badges": [
- {
- "description": "string",
- "image": "string"
}
], - "background": {
- "image": "string"
}
}
}Get the profile info of some user.
| name required | string |
| flags required | integer <int8> (ItemFlags) Bitwise or (|) of item flags.
|
| uploadLimit | integer |
| commentLimit | integer |
{- "user": {
- "id": 0,
- "name": "string",
- "isSameTeam": true,
- "registered": 0,
- "score": 0,
- "up": 0,
- "down": 0,
- "mark": 0,
- "banned": true,
- "bannedUntil": 0,
- "commentDelete": 0,
- "itemDelete": 0,
- "inactive": true,
- "canReceiveMessages": true,
- "avatar": "string",
- "avatarId": 0
}, - "comments": [
- {
- "id": 0,
- "up": 0,
- "down": 0,
- "content": "string",
- "created": 0,
- "itemId": 0,
- "thumb": "string"
}
], - "commentCount": 0,
- "comments_likes": [
- {
- "id": 0,
- "up": 0,
- "down": 0,
- "content": "string",
- "created": 0,
- "ccreated": 0,
- "itemId": 0,
- "thumb": "string",
- "userId": 0,
- "mark": 0,
- "name": "string"
}
], - "commentLikesCount": 0,
- "uploads": [
- {
- "id": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0
}
], - "uploadCount": 0,
- "collections": [
- {
- "id": 0,
- "name": "string",
- "keyword": "string",
- "isPublic": 0,
- "isDefault": 0,
- "itemCount": 0,
- "items": [
- {
- "id": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0
}
], - "curators": [
- {
- "name": "string",
- "mark": 0,
- "accepted": -1
}
]
}
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "isPublic": 0,
- "isDefault": 0,
- "itemCount": 0,
- "items": [
- {
- "id": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0
}
]
}
], - "collectedCount": 0,
- "likesArePublic": true,
- "pr0mium": 0,
- "pr0miumGift": 0,
- "tagCount": 0,
- "badges": [
- {
- "category": "string",
- "link": "string",
- "image": "string",
- "description": "string",
- "created": 0
}
], - "background": {
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "largeImageUrl": "string",
- "smallImageUrl": "string"
}, - "followCount": 0,
- "following": true,
- "subscribed": true,
- "blocked": true
}Unsubscribes from a user. May keep the follow status if provided.
| name required | string (UserName) The name of a user. |
| keepFollow required | boolean |
{- "subscribed": true,
- "follows": true
}Sets the subscription status of a user. Subscribe/Following/Not Following.
| userId required | integer <int64> (UserId) Numeric ID of a user. |
| status required | any (FollowStatus) Enum: "none" "follow" "subscribe" |
{- "success": false
}Sets the subscription status of a tag. Subscribe (with notifications) / Following (without) / Not following.
| tag required | string |
| status required | any (FollowStatus) Enum: "none" "follow" "subscribe" |
{- "success": false
}Blocks a user. Note that not all users can be blocked, depending on their user status (admin, mod, etc.).
| name required | string (UserName) The name of a user. |
{- "blocked": true
}Unblocks a user. Will not throw any error when the user is not blocked.
| name required | string (UserName) The name of a user. |
{- "blocked": true
}Adds a tag to the user's tag-block list. Items containing this tag will be hidden in feed and search.
| tag required | string |
{- "blocked": true
}Removes a tag from the user's tag-block list. Will not throw any error when the tag is not blocked.
| tag required | string |
{- "blocked": true
}Gets the comments of a user with respect to before/after.
| name required | string (UserName) The name of a user. |
| before | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| after | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| flags | integer <int8> (ItemFlags) Bitwise or (|) of item flags.
|
{- "comments": [
- {
- "id": 0,
- "up": 0,
- "down": 0,
- "content": "string",
- "created": 0,
- "itemId": 0,
- "thumb": "string",
- "preview": "string"
}
], - "hasOlder": true,
- "hasNewer": true,
- "user": {
- "id": 0,
- "name": "string",
- "mark": 0
}
}Gets the liked comments of a user with respect to before/after.
| name required | string (UserName) The name of a user. |
| before | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| after | integer <int64> (Timestamp) Unix timestamp, in seconds. |
| flags | integer <int8> (ItemFlags) Bitwise or (|) of item flags.
|
{- "likesArePublic": true,
- "comments": [
- {
- "id": 0,
- "up": 0,
- "down": 0,
- "content": "string",
- "created": 0,
- "ccreated": 0,
- "itemId": 0,
- "thumb": "string",
- "userId": 0,
- "mark": 0,
- "name": "string"
}
], - "hasOlder": true,
- "hasNewer": true,
- "user": {
- "id": 0,
- "name": "string",
- "mark": 0
}
}Gets suggestions for user names based on a specified prefix. Can be used for auto completion.
| prefix required | string |
{- "users": [
- "string"
], - "suggestions": [
- {
- "name": "string",
- "mark": 0
}
]
}Subscribes to web push notifications. Just send the subscription as the body (form-url-encoded :harold.jpg:).
required | object (WebPushSubscription) |
{- "success": true,
- "subscription": {
- "endpoint": "string",
- "expirationTime": "string",
- "keys": null
}
}Returns common stats for the current user. Requires a paid subscription.
{- "user": {
- "name": "string",
- "mark": 0
}, - "scoreHistory": [
- {
- "created": 0,
- "score": 0
}
], - "favCount": {
- "comments": 0,
- "items": 0
}, - "followers": {
- "count": 0,
- "subscribed": 0
}, - "messages": {
- "received": 0,
- "send": 0,
- "conversations": 0
}, - "blocks": {
- "blockedUsers": 0,
- "blockedTags": 0,
- "blockedByUsers": 0
}, - "score": {
- "items": 0,
- "comments": 0,
- "tags": 0
}, - "absScore": {
- "items": 0,
- "comments": 0,
- "tags": 0
}, - "bannedDays": 0,
- "topScoredItems": [
- {
- "id": 0,
- "up": 0,
- "down": 0,
- "votes": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0,
- "created": 0
}
], - "lowestScoredItems": [
- {
- "id": 0,
- "up": 0,
- "down": 0,
- "votes": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0,
- "created": 0
}
], - "topScoredComments": [
- {
- "id": 0,
- "content": "string",
- "itemId": 0,
- "up": 0,
- "down": 0,
- "votes": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0,
- "commentCreated": 0,
- "itemCreated": 0
}
], - "lowestScoredComments": [
- {
- "id": 0,
- "content": "string",
- "itemId": 0,
- "up": 0,
- "down": 0,
- "votes": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0,
- "commentCreated": 0,
- "itemCreated": 0
}
], - "topScoredTags": [
- {
- "itemId": 0,
- "up": 0,
- "down": 0,
- "votes": 0,
- "thumb": "string",
- "preview": "string",
- "tag": "string",
- "flags": 0,
- "created": 0
}
], - "lowestScoredTags": [
- {
- "itemId": 0,
- "up": 0,
- "down": 0,
- "votes": 0,
- "thumb": "string",
- "preview": "string",
- "tag": "string",
- "flags": 0,
- "created": 0
}
], - "topCollectedItems": [
- {
- "count": 0,
- "id": 0,
- "thumb": "string",
- "preview": "string",
- "flags": 0,
- "up": 0,
- "down": 0,
- "created": 0
}
], - "topFavedComments": [
- {
- "count": 0,
- "itemId": 0,
- "id": 0,
- "up": 0,
- "down": 0,
- "content": "string",
- "thumb": "string",
- "preview": "string",
- "flags": 0,
- "commentCreated": 0,
- "itemCreated": 0
}
]
}Lists available stickers
| offset | integer |
| tag | string |
| order | any (StickerOrder) Enum: "recent" "own" "" |
{- "stickers": [
- {
- "id": 0,
- "name": "string",
- "filename": "string",
- "mimetype": "string",
- "width": 0,
- "height": 0,
- "tags": [
- "string"
], - "isOwn": true,
- "created": 0
}
], - "atEnd": true
}Searches stickers by tags or names
| q required | string |
| offset | integer |
{- "stickers": [
- {
- "id": 0,
- "name": "string",
- "filename": "string",
- "mimetype": "string",
- "width": 0,
- "height": 0,
- "tags": [
- "string"
], - "isOwn": true,
- "created": 0
}
], - "atEnd": true
}Gets stickers for a specific tag
| tag required | string |
| offset | integer |
{- "stickers": [
- {
- "id": 0,
- "name": "string",
- "filename": "string",
- "mimetype": "string",
- "width": 0,
- "height": 0,
- "tags": [
- "string"
], - "isOwn": true,
- "created": 0
}
], - "atEnd": true
}Uploads a new sticker
| name required | string |
| tags | string |
| private | boolean |
| image required | string <binary> (File) Some file to upload. File type depends on the endpoint in question. |
{- "id": 0,
- "filename": "string"
}Gets the current user's content subscription settings.
| type required | string |
{- "success": true,
- "subscription": {
- "enabled": true,
- "notify_pm": true,
- "notify_email": true
}
}Updates the current user's content subscription settings.
| type required | string |
| enabled required | boolean |
| notify_pm | boolean |
| notify_email | boolean |
{- "success": false,
- "error": "updateFailed"
}Erzeugt eine KI-Kurzzusammenfassung (tl;dr) für einen Text-Post
| text required | string |
{- "success": true,
- "tldr": "string"
}Bans the user of the current session.
| currentPassword required | string (Password) Some password. |
| days required | number |
{- "success": true
}Exclude the user of the current session from filter flag.
| currentPassword required | string (Password) Some password. |
| days required | number |
| flag required | integer <int8> (ItemFlags) Bitwise or (|) of item flags.
|
{- "success": true
}Returns the sync log of the logged-in user.
| offset required | integer <int64> (SyncOffset) Offset in the sync log. |
| chunked | boolean |
| limit | integer |
{- "log": "string",
- "logLength": 0,
- "score": 0,
- "hasMore": true,
- "nextOffset": 0,
- "inbox": {
- "comments": 0,
- "mentions": 0,
- "messages": 0,
- "notifications": 0,
- "follows": 0,
- "digests": 0
}, - "settings": {
- "themeId": 0,
- "layoutMode": "modern",
- "arrowKeyMode": "arrows",
- "contentMaxWidth": "auto",
- "itemLayoutMode": "modern",
- "blockedCommentMode": "collapse_subtree",
- "showAds": true,
- "favUpvote": true,
- "legacyPath": true,
- "enableItemHistory": true,
- "markSeenItems": true,
- "showSeenNav": true,
- "showVideoPreview": true,
- "enableVoteToggle": true,
- "enableDailyDigest": true,
- "enableWeeklyDigest": true,
- "junkSeparation": true,
- "collapseLongComments": true,
- "hideDownvotedComments": true,
- "autoCollapseDeepComments": true,
- "sfwResetEnabled": true,
- "defaultToNew": true,
- "colorCommentIndentationLines": true,
- "showBookmarkBar": true,
- "showBlockActions": true,
- "showAvatars": true,
- "showThumbnailFlags": true
}
}Well, log in.
| name required | string |
| password required | string |
| token required | string |
| captcha required | string |
{- "success": true,
- "ban": null,
- "info": null,
- "identifier": "string"
}Validates email address using token from email. Does not require authentication. Sets session cookie on success.
| token required | string |
{- "success": true
}Gets the users that the current logged-in user is following.
| flags required | integer <int8> (ItemFlags) Bitwise or (|) of item flags.
|
{- "list": [
- {
- "subscribed": true,
- "name": "string",
- "mark": 0,
- "followCreated": 0,
- "itemId": 0,
- "thumb": "string",
- "preview": "string",
- "lastPost": 0
}
]
}Sends the password reset mail. Triggers initial, E-mail based password recovery
| email required | string <email> (EMail) An E-Mail address. |
{- "success": true
}Triggers password reset.
| token required | string (SessionId) Alphanumeric ID of the user's session. |
| name required | string (UserName) The name of a user. |
| password required | string |
{- "error": "string"
}{- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}
}Changes the password of the current user.
| password required | string |
| currentPassword required | string (Password) Some password. |
{- "success": false,
- "error": "passwordInvalid"
}Sets if the user gets a device mail.
| deviceMail required | boolean |
{- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}, - "error": "string"
}Simple email re-confirmation via click. Only for users whose email was previously verified.
{- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}
}Sends a verification email to confirm the user's current email address.
{- "success": true,
- "mailSent": true
}Confirms the user's email address using a verification token from email.
| token required | string |
{- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}
}Triggers change of e-mail address.
| currentPassword required | string (Password) Some password. |
| email required | string <email> (EMail) An E-Mail address. |
{- "success": true,
- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}
}Changes the e-mail address of a user.
| token required | string |
{- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}, - "error": "string"
}Changes the display name on pr0gramm.com. If it succeeds, the current session will be invalidated. Password is needed for security reasons as well as to make sure that the user can log in again.
| currentPassword required | string (Password) Some password. |
| username required | string (UserName) The name of a user. |
{- "success": false,
- "error": "passwordInvalid"
}Sends an invitation to a user. Decrements available invites of the current user.
| email required | string <email> (EMail) An E-Mail address. |
{- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}
}Detaches an invitee of the current user.
| userId required | integer <int64> (UserId) Numeric ID of a user. |
{- "success": false,
- "error": "recentlyCreated"
}Detaches the user's account from his inviter.
{- "success": false,
- "error": "recentlyCreated"
}Updates the settings that were passed.
| themeId | any (ThemeId) Enum: 0 1 2 3 4 5 |
| layoutMode | any (LayoutMode) Enum: "modern" "classic" |
| arrowKeyMode | any (ArrowKeyMode) Enum: "arrows" "arrowsWithScroll" "legacy" |
| contentMaxWidth | any (ContentMaxWidth) Enum: "auto" "1400" "1800" "2200" |
| itemLayoutMode | any (ItemLayoutMode) Enum: "modern" "classic" "zen" "reader" "theater" |
| blockedCommentMode | any (BlockedCommentMode) Enum: "collapse_subtree" "collapse_only" "hide_subtree" "show_all" |
| favUpvote | any (NumberBoolean) Enum: 0 1 |
| likesArePublic | any (NumberBoolean) Enum: 0 1 |
| legacyPath | any (NumberBoolean) Enum: 0 1 |
| enableItemHistory | any (NumberBoolean) Enum: 0 1 |
| markSeenItems | any (NumberBoolean) Enum: 0 1 |
| showSeenNav | any (NumberBoolean) Enum: 0 1 |
| colorCommentIndentationLines | any (NumberBoolean) Enum: 0 1 |
| showBookmarkBar | any (NumberBoolean) Enum: 0 1 |
| showBlockActions | any (NumberBoolean) Enum: 0 1 |
| showAvatars | any (NumberBoolean) Enum: 0 1 |
| showThumbnailFlags | any (NumberBoolean) Enum: 0 1 |
| showVideoPreview | any (NumberBoolean) Enum: 0 1 |
| enableVoteToggle | any (NumberBoolean) Enum: 0 1 |
| enableDailyDigest | any (NumberBoolean) Enum: 0 1 |
| enableWeeklyDigest | any (NumberBoolean) Enum: 0 1 |
| enableEmailNotifications | any (NumberBoolean) Enum: 0 1 |
| profileBackgroundId | integer |
| junkSeparation | any (NumberBoolean) Enum: 0 1 |
| collapseLongComments | any (NumberBoolean) Enum: 0 1 |
| hideDownvotedComments | any (NumberBoolean) Enum: 0 1 |
| autoCollapseDeepComments | any (NumberBoolean) Enum: 0 1 |
| sfwResetEnabled | any (NumberBoolean) Enum: 0 1 |
| defaultToNew | any (NumberBoolean) Enum: 0 1 |
| userStatus | any (UserMarkSelection) Enum: "default" "paid" |
{- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}
}Updates the user's settings regarding the UI and account settings.
| likesArePublic required | boolean |
| themeId required | any (ThemeId) Enum: 0 1 2 3 4 5 |
| layoutMode required | any (LayoutMode) Enum: "modern" "classic" |
| arrowKeyMode required | any (ArrowKeyMode) Enum: "arrows" "arrowsWithScroll" "legacy" |
| contentMaxWidth required | any (ContentMaxWidth) Enum: "auto" "1400" "1800" "2200" |
| itemLayoutMode required | any (ItemLayoutMode) Enum: "modern" "classic" "zen" "reader" "theater" |
| blockedCommentMode required | any (BlockedCommentMode) Enum: "collapse_subtree" "collapse_only" "hide_subtree" "show_all" |
| showAds required | boolean |
| favUpvote required | boolean |
| legacyPath required | boolean |
| enableItemHistory required | boolean |
| markSeenItems required | boolean |
| showSeenNav required | boolean |
| showVideoPreview required | boolean |
| enableVoteToggle required | boolean |
| enableDailyDigest required | boolean |
| enableWeeklyDigest required | boolean |
| enableEmailNotifications required | boolean |
| profileBackgroundId | integer |
| junkSeparation required | boolean |
| collapseLongComments required | boolean |
| hideDownvotedComments required | boolean |
| autoCollapseDeepComments required | boolean |
| sfwResetEnabled required | boolean |
| defaultToNew required | boolean |
| colorCommentIndentationLines required | boolean |
| showBookmarkBar required | boolean |
| showBlockActions required | boolean |
| showAvatars required | boolean |
| userStatus required | any (UserMarkSelection) Enum: "default" "paid" |
{- "account": {
- "likesArePublic": true,
- "deviceMail": true,
- "email": "user@example.com",
- "invites": 0,
- "isInvited": true,
- "mark": 0,
- "markDefault": 0,
- "paidUntil": 0,
- "hasBetaAccess": true,
- "emailVerificationPending": true
}, - "invited": [
- {
- "id": 0,
- "name": "string",
- "mark": 0,
- "email": "user@example.com",
- "created": 0
}
], - "invitesDetached": 0,
- "invitesRemaining": 0,
- "payments": 0,
- "subscriptions": [
- null
], - "curatorCollections": [
- {
- "id": 0,
- "name": "string",
- "owner": "string",
- "ownerMark": 0,
- "keyword": "string",
- "accepted": -1
}
], - "authorizedApps": [
- {
- "name": "string",
- "logo": "string",
- "clientId": "string",
- "description": "string",
- "scopes": [
- {
- "scope": "string",
- "description": "string"
}
], - "owner": {
- "name": "string",
- "mark": 0
}
}
], - "promotedApps": [
- {
- "name": "string",
- "logo": "string",
- "description": "string",
- "owner": {
- "name": "string",
- "mark": 0
}
}
], - "digests": {
- "daily": true,
- "weekly": true
}, - "enableEmailNotifications": true,
- "backgrounds": {
- "current": 0,
- "available": [
- {
- "id": 0,
- "displayName": "string",
- "description": "string",
- "isCommon": true,
- "smallImageUrl": "string"
}
]
}, - "canChangeName": true,
- "nameLastChanged": 0,
- "inviteEligible": {
- "currentInvites": 0,
- "invitesForbidden": true,
- "comments": 0,
- "uploads": 0,
- "comments180": 0,
- "uploads180": 0,
- "votes": 0,
- "age": 0
}, - "inviteEligibilityData": {
- "canInvite": true,
- "currentInvites": {
- "current": 0,
- "max": 0
}, - "totalComments": {
- "current": 0,
- "required": 0
}, - "totalUploads": {
- "current": 0,
- "required": 0
}, - "commentsWindow180": {
- "current": 0,
- "required": 0
}, - "uploadsWindow180": {
- "current": 0,
- "required": 0
}, - "score": {
- "current": 0,
- "required": 0
}, - "ageDays": {
- "current": 0,
- "required": 0
}, - "nextRoundDate": 0
}
}Returns if the request is done with a session that has a valid user.
{- "name": "string",
- "registered": 0,
- "identifier": "string",
- "mark": 0,
- "score": 0,
- "banInfo": {
- "banned": true,
- "bannedUntil": 0
}, - "subscribedUntil": 0,
- "avatar": "string"
}Request account deletion. Sends confirmation email.
| currentPassword required | string (Password) Some password. |
| confirmation required | string |
| deleteMode | any (DeleteModeInput) Enum: "soft" "hard" |
{- "success": true
}Confirm account deletion via email link. Starts 7-day cooling-off period.
| token required | string |
{- "success": true,
- "scheduledDeletionAt": 0
}Get current account deletion status.
{- "hasPendingDeletion": true,
- "status": "pending_confirmation",
- "scheduledDeletionAt": 0,
- "tokenExpiresAt": 0,
- "deleteMode": "soft",
- "canUseHardDelete": true,
- "uploadCount": 0
}Download Bestandsdaten-Auskunft (inventory data disclosure). Format: html (default) or json for machine-readable export (Art. 20 DSGVO).
{- "success": true,
- "error": "rateLimited",
- "nextExportAt": 0,
- "format": "string",
- "data": {
- "exportedAt": 0,
- "user": {
- "name": "string",
- "email": "string",
- "registeredAt": 0
}, - "payments": [
- {
- "createdAt": 0,
- "email": "string",
- "product": "string"
}
], - "logins": [
- {
- "ip": "string",
- "createdAt": 0
}
]
}
}Gets available quality variants for adaptive video playback.
| itemId required | integer <int64> (ItemId) Numeric ID of an item/upload. |
{- "itemId": 0,
- "h264": [
- {
- "name": "string",
- "tierName": "string",
- "url": "string",
- "mimeType": "string",
- "width": 0,
- "height": 0,
- "bitRate": 0.1,
- "fileSize": 0
}
], - "vp9": [
- {
- "name": "string",
- "tierName": "string",
- "url": "string",
- "mimeType": "string",
- "width": 0,
- "height": 0,
- "bitRate": 0.1,
- "fileSize": 0
}
]
}