{"$schema":"https:\/\/spec.openapis.org\/oas\/3.1\/schema\/2021-05-20","openapi":"3.0.0","info":{"version":"0.1.0","title":"pr0gramm.com API","description":"OpenAPI spec for pr0gramm.com.\nAt the current state, pr0gramm's API is considered **unstable** and is **not versioned**.\n\nHowever, 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.\nOur 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.","contact":{"name":"API-Discord Server","url":"https:\/\/discord.gg\/uAAnNmHRuJ"}},"servers":[{"url":"https:\/\/pr0gramm.com\/api","description":"Production server (uses live data)"}],"components":{"securitySchemes":{"pr0Auth":{"type":"oauth2","description":"This API uses OAuth 2 with the token grant flow. [More info](https:\/\/github.com\/pr0gramm-com\/api-docs).","flows":{"authorizationCode":{"authorizationUrl":"https:\/\/pr0gramm.com\/oauth\/authorize","tokenUrl":"https:\/\/pr0gramm.com\/api\/oauth\/createAccessToken","scopes":{"calendar.geteventsforusersignup":"Gets all events the current user is registered for.","calendar.getsignup":"Gets the current user's registration for a specific event.","collections.get":"Gets the collections (public and private) of the current user.","collections.memberships":"Returns the collections that an item is a member of, specific to the current user.","comments.getedithistory":"Returns the full edit history of a comment (visible to all logged-in users for transparency).","comments.preview":"Gets preview data that is usually displayed as a preview when hovering over a link to a comment.","inbox.all":"Gets all inbox messages. Marks messages as read when retrieving.","inbox.comments":"Gets the message that refer to comments. Marks messages a read when retrieving.","inbox.conversations":"Gets the conversation, that the user currently holds. Excludes deleted conversations.","inbox.digests":"Gets the digests","inbox.follows":"Gets follow messages (subscriptions). Marks messages a read when retrieving.","inbox.messages":"Gets the messages exchanged with a specific user. Marks messages a read when retrieving.","inbox.notifications":"Gets the system notifications. Marks messages a read when retrieving.","inbox.pending":"Returns all pending notifications for the current user without marking them as read.","inbox.read":"Marks a specific message as read","inbox.relationship":"Checks if the current user blocks the provided user.","items.processing":"Returns items currently being processed (pending\/processing) for the user.","items.queue":"Gets the uploads currently in the user's upload queue.","items.ratelimited":"Gets the uploads left of the current user.","items.scheduled":"Returns a lost of the user's items that are currently set to be published in the future date.","kontakte.discover":"Returns swipeable candidate profiles for the current user.","kontakte.getprofile":"Gets the current user's Kontakte profile and feature config.","kontakte.likesreceived":"Users who liked the current user (incoming likes).","kontakte.likessent":"Users the current user has liked (outgoing likes).","kontakte.matches":"Mutual likes (matches) of the current user.","kontakte.tagsuggestions":"Suggests tags for autocomplete, only from existing Kontakte profiles.","kontakte.userprofile":"Returns another user's Kontakte profile. Only enrolled users (with their own profile) may view it.","memes.ratelimited":"Gets the memes left of the current user.","oauth.clientinfo":"Returns information to display about an app in the OAuth dialog.","polls.get":"Gets the active poll or a specific poll with all questions","polls.getresults":"Gets the results of the active poll or a specific poll","polls.hasvoted":"Checks if the current user has already participated in the active poll","profile.commentlikes":"Gets the liked comments of a user with respect to before\/after.","profile.comments":"Gets the comments of a user with respect to before\/after.","profile.info":"Get the profile info of some user.","profile.preview":"Gets preview data that is usually displayed as a preview when hovering over a link to a mentioned user.","profile.suggest":"Gets suggestions for user names based on a specified prefix. Can be used for auto completion.","seen.bits":"Gets seen data for the current user.","seen.data":"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.","seen.version":"Gets current version of seen data for the current user. If `version` is null, the user does not have any data on the server.","stats.scorehistory":"Returns the score history for the current user.","stats.user":"Returns common stats for the current user. Requires a paid subscription.","subscriptions.getsubscription":"Gets the current user's content subscription settings.","tags.chronicle":"Returns the tag chronicle for a specific year.","tags.searchchronicle":"Searches for event tags in the chronicle","user.ageverified":"Gets the status of the age validation of the current user.","user.blockedtags":"Gets the tags blocked by the logged-in user, newest first.","user.blocklist":"Gets the blocked users of the logged-in user.","user.dataexportstatus":"Check if data export is available.","user.deletionstatus":"Get current account deletion status.","user.followlist":"Gets the users that the current logged-in user is following.","user.getexcludedflags":"Gets the excluded flags of the current user with their valid until date.","user.getsitesetting":"Gets a single site setting.","user.identifier":"Gets the globally unique identifier of the logged-in user.","user.info":"Get the info of current user.","user.name":"Gets the username of the logged-in user.","user.score":"Gets the score (\"benis\") of the logged-in user.","user.sync":"Returns the sync log of the logged-in user.","user.tagfollowlist":"Gets the tags the current logged-in user has subscribed to, newest first."}}}},"csrfProtected":{"type":"http","in":"header","name":"X-XSRF-Token"}},"schemas":{"any":{"description":"Can be any value - string, number, boolean, array or object."},"TODO":{"$ref":"#\/components\/schemas\/any","description":"Can be any value - string, number, boolean, array or object."},"File":{"type":"string","format":"binary","description":"Some file to upload. File type depends on the endpoint in question."},"BinaryBlob":{"type":"string","format":"binary","description":"Some binary blob."},"JsonEncodedData":{"type":"string","description":"Some bag of data that is JSON encoded."},"ReportReason":{"type":"string","description":"A pre-defined OR custom reason for a report."},"Timestamp":{"type":"integer","format":"int64","description":"Unix timestamp, in seconds."},"CurrencyCode":{"type":"string","description":"ISO 4217 currency code. Examples: EUR, USD, CHF, GBP, JPY, ..."},"QueueId":{"type":"integer","format":"int64","description":"Numeric ID of an item\/upload in the upload queue."},"ItemId":{"type":"integer","format":"int64","description":"Numeric ID of an item\/upload."},"PromotedItemId":{"type":"integer","format":"int64","description":"Numeric ID of a _promoted_ item\/upload."},"ReportId":{"type":"integer","format":"int64","description":"Numeric ID of a report."},"MessageId":{"type":"integer","format":"int64","description":"Numeric ID of a message\/notification."},"ItemFlags":{"type":"integer","format":"int8","description":"Bitwise or (|) of item flags.\n- `SWF` = `1`\n- `NSFW` = `2`\n- `NSFL` = `4`\n- `NSFP` = `8`\n- `POL` = `16`"},"CommentId":{"type":"integer","format":"int64","description":"Numeric ID of a comment."},"UserId":{"type":"integer","format":"int64","description":"Numeric ID of a user."},"UserIdentifier":{"type":"string","description":"Alphanumeric ID of the integer. Used in OAuth2. Not the same as UserId."},"SessionId":{"type":"string","description":"Alphanumeric ID of the user's session."},"CollectionId":{"type":"integer","format":"int64","description":"Numeric ID of a collection."},"BinaryString":{"type":"string","format":"byte","description":"base64 encoded binary data"},"IsoLanguage":{"type":"string","description":"Two-Letter ISO-639-1 language code."},"TagId":{"type":"integer","format":"int64","description":"Numeric ID of a tag."},"Tag":{"type":"string","description":"A single tag."},"CommaSeparatedTags":{"type":"string","description":"Comma-separated list of tags in a single string."},"CommaSeparatedIds":{"type":"string","description":"Comma-separated list of numeric IDs in a single string."},"Nonce":{"type":"string","description":"Token required for POST requests."},"Score":{"type":"integer","format":"int64","description":"Some score value (\"benis\")."},"float":{"type":"number","format":"float","description":"Some float."},"Confidence":{"type":"number","format":"float","description":"A score ranging from 0 to 1 (1 is the best) that states how the users voted."},"UserMark":{"type":"integer","format":"int32","description":"The user mark. The colored dot next to the user's name."},"UserName":{"type":"string","description":"The name of a user."},"Password":{"type":"string","description":"Some password."},"EMail":{"type":"string","format":"email","description":"An E-Mail address."},"Url":{"type":"string","format":"uri","description":"An URL."},"InviteToken":{"type":"string","description":"Token that can be used to join the site."},"StockSymbol":{"type":"string","description":"Some stock symbol abbreviation like \"KDSE\""},"StockPrice":{"type":"number","format":"float","description":"Some price of one or multiple stocks. A float."},"StockAmount":{"type":"number","format":"integer","description":"Some amount of stocks. An integer."},"Snowflake":{"type":"string","description":"ID format that is used by twitter and discord.\nFurther information: https:\/\/en.wikipedia.org\/wiki\/Snowflake_ID"},"SecretValue":{"type":"string","description":"Some secret value that you should know before using this endpoint. Contact the developers of pr0gramm.com if you want to use this endpoint."},"SyncLog":{"type":"string","description":"base64 encoded binary sync log."},"Slug":{"type":"string","description":"Alphanumeric URL-safe string. See: https:\/\/www.semrush.com\/blog\/what-is-a-url-slug\/"},"SafeHTML":{"type":"string","description":"Text that may contain basic HTML."},"CasinoCredits":{"type":"integer","format":"float"},"SyncOffset":{"type":"integer","format":"int64","description":"Offset in the sync log."},"OAuthAuthCode":{"type":"string","description":"Code that is obtained via OAuth and used to request an access token."},"OAuthState":{"type":"string","description":"Random state that is used to validate the OAuth request."},"OAuthClientId":{"type":"string","description":"OAuth client id."},"EmptyResponse":{"type":"object"},"SuccessResponse":{"type":"object","properties":{"success":{"const":true}},"required":["success"],"description":"Some response that was successful. Used to discriminate unions."},"ErrorResponse":{"type":"object","properties":{"success":{"const":false}},"required":["success"],"description":"Some response failed. Used to discriminate unions."},"NumberBoolean":{"enum":[0,1]},"SubtitleType":{"enum":["translation","transcription"]},"PaymentTokenError":{"enum":["empty","invalid","used","notallowed"]},"SignupType":{"enum":["confirmed","tentative"]},"CalendarEvent":{"type":"object","properties":{"id":{"type":"integer"},"userId":{"$ref":"#\/components\/schemas\/UserId"},"userName":{"$ref":"#\/components\/schemas\/UserName"},"userMark":{"$ref":"#\/components\/schemas\/UserMark"},"title":{"type":"string"},"description":{"type":"string"},"imagePath":{"type":"string"},"iconPath":{"type":"string"},"location":{"type":"string"},"startTime":{"$ref":"#\/components\/schemas\/Timestamp"},"endTime":{"$ref":"#\/components\/schemas\/Timestamp"},"conditions":{"type":"string"},"imageTagRequired":{"type":"string"},"rewardsDescription":{"type":"string"},"registrationEnabled":{"type":"boolean"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"modified":{"$ref":"#\/components\/schemas\/Timestamp"},"startTimeTs":{"type":"integer"},"endTimeTs":{"type":"integer"},"createdTs":{"type":"integer"},"modifiedTs":{"type":"integer"},"categoryName":{"type":"string"},"categoryColor":{"type":"string"}},"required":["id","userId","userName","userMark","title","startTime","endTime","registrationEnabled","created","modified","startTimeTs","endTimeTs","createdTs","modifiedTs"]},"CalendarEventSignup":{"type":"object","properties":{"id":{"type":"integer"},"eventId":{"type":"integer"},"userId":{"$ref":"#\/components\/schemas\/UserId"},"userName":{"$ref":"#\/components\/schemas\/UserName"},"userMark":{"$ref":"#\/components\/schemas\/UserMark"},"signupType":{"$ref":"#\/components\/schemas\/SignupType"},"reminderPmEnabled":{"type":"boolean"},"reminderEmailEnabled":{"type":"boolean"},"createdTs":{"type":"integer"},"modifiedTs":{"type":"integer"}},"required":["id","eventId","userId","signupType","reminderPmEnabled","reminderEmailEnabled","createdTs","modifiedTs"]},"AvatarUploadBodyParams":{"type":"object","properties":{"image":{"$ref":"#\/components\/schemas\/File"}},"required":["image"]},"AvatarUploadResponse":{"type":"object","properties":{"id":{"type":"integer"},"filename":{"type":"string"}},"required":["id","filename"]},"AvatarDeleteResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"GetBookmarksCollection":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CollectionId"},"name":{"type":"string"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"isPublic":{"type":"boolean"},"isDefault":{"type":"boolean"}},"required":["id","name","keyword","isPublic","isDefault"]},"GetBookmarksBookmark":{"type":"object","properties":{"name":{"type":"string"},"link":{"type":"string"},"isDefault":{"type":"boolean"}},"required":["name","link","isDefault"]},"TrendingTag":{"type":"object","properties":{"name":{"type":"string"},"search":{"type":"string"},"link":{"type":"string"},"velocity":{"type":"number"}},"required":["name","search","link","velocity"]},"BookmarksGetResponse":{"type":"object","properties":{"collections":{"type":"array","items":{"$ref":"#\/components\/schemas\/GetBookmarksCollection"}},"bookmarks":{"type":"array","items":{"$ref":"#\/components\/schemas\/GetBookmarksBookmark"}},"trending":{"type":"array","items":{"$ref":"#\/components\/schemas\/TrendingTag"}}},"required":["collections","bookmarks"]},"BookmarksAddBodyParams":{"type":"object","properties":{"name":{"type":"string"},"link":{"type":"string"}},"required":["name","link"]},"BookmarksDeleteBodyParams":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"BookmarksClickBodyParams":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"GetUpcomingEventsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"events":{"type":"array","items":{"$ref":"#\/components\/schemas\/CalendarEvent"}},"error":{"type":"string"}},"required":["success"]},"GetEventsByDateRangeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"events":{"type":"array","items":{"$ref":"#\/components\/schemas\/CalendarEvent"}},"error":{"type":"string"}},"required":["success"]},"GetEventError":{"enum":["notFound"]},"GetEventByIdErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/GetEventError"}},"required":["error"]}]},"GetEventByIdSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"event":{"$ref":"#\/components\/schemas\/CalendarEvent"}},"required":["event"]}]},"GetEventByIdResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/GetEventByIdErrorResponse"},{"$ref":"#\/components\/schemas\/GetEventByIdSuccessResponse"}]},"CalendarSignupforeventBodyParams":{"type":"object","properties":{"eventId":{"type":"integer"},"signupType":{"$ref":"#\/components\/schemas\/SignupType"},"reminderPmEnabled":{"type":"boolean"},"reminderEmailEnabled":{"type":"boolean"}},"required":["eventId"]},"SignupForEventError":{"enum":["notFound","eventEnded","registrationDisabled","alreadySignedUp","signupFailed"]},"SignupForEventErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/SignupForEventError"}},"required":["error"]}]},"SignupForEventSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"signup":{"$ref":"#\/components\/schemas\/CalendarEventSignup"}},"required":["signup"]}]},"SignupForEventResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/SignupForEventErrorResponse"},{"$ref":"#\/components\/schemas\/SignupForEventSuccessResponse"}]},"CalendarUnsignupfromeventBodyParams":{"type":"object","properties":{"eventId":{"type":"integer"}},"required":["eventId"]},"UnsignupFromEventError":{"enum":["notFound","unsignupFailed"]},"UnsignupFromEventErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/UnsignupFromEventError"}},"required":["error"]}]},"UnsignupFromEventSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"signup":{"type":"null"}},"required":["signup"]}]},"UnsignupFromEventResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/UnsignupFromEventErrorResponse"},{"$ref":"#\/components\/schemas\/UnsignupFromEventSuccessResponse"}]},"GetSignupsForEventResponse":{"type":"object","properties":{"success":{"type":"boolean"},"signups":{"type":"array","items":{"$ref":"#\/components\/schemas\/CalendarEventSignup"}},"total":{"type":"integer"},"error":{"type":"string"}},"required":["success"]},"UserCalendarEvent":{"type":"object","properties":{"id":{"type":"integer"},"userId":{"$ref":"#\/components\/schemas\/UserId"},"userName":{"$ref":"#\/components\/schemas\/UserName"},"userMark":{"$ref":"#\/components\/schemas\/UserMark"},"title":{"type":"string"},"description":{"type":"string"},"imagePath":{"type":"string"},"iconPath":{"type":"string"},"location":{"type":"string"},"startTimeTs":{"type":"integer"},"endTimeTs":{"type":"integer"},"conditions":{"type":"string"},"imageTagRequired":{"type":"string"},"rewardsDescription":{"type":"string"},"createdTs":{"type":"integer"},"modifiedTs":{"type":"integer"},"signupType":{"$ref":"#\/components\/schemas\/SignupType"},"reminderPmEnabled":{"type":"boolean"},"reminderEmailEnabled":{"type":"boolean"},"signupCreatedTs":{"type":"integer"}},"required":["id","userId","userName","userMark","title","startTimeTs","endTimeTs","createdTs","modifiedTs","signupType","reminderPmEnabled","reminderEmailEnabled","signupCreatedTs"]},"GetEventsForUserSignupResponse":{"type":"object","properties":{"success":{"type":"boolean"},"events":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserCalendarEvent"}},"error":{"type":"string"}},"required":["success"]},"GetSignupResponse":{"type":"object","properties":{"success":{"type":"boolean"},"signup":{"$ref":"#\/components\/schemas\/CalendarEventSignup"},"error":{"type":"string"}},"required":["success"]},"UserCollectionItem":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"}},"required":["id","thumb","flags"]},"UserCollectionCurator":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"accepted":{"type":"boolean"}},"required":["name","mark","accepted"]},"UserCollection":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CollectionId"},"name":{"type":"string"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"isPublic":{"type":"boolean"},"isDefault":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserCollectionItem"}},"curators":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserCollectionCurator"}}},"required":["id","name","keyword","isPublic","isDefault","items","curators"]},"UserCuratedCollection":{"allOf":[{"$ref":"#\/components\/schemas\/UserCollection"},{"type":"object","properties":{"owner":{"$ref":"#\/components\/schemas\/UserName"},"ownerMark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["owner","ownerMark"]}]},"CollectionsGetResponse":{"type":"object","properties":{"collections":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserCollection"}},"curatorCollections":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserCuratedCollection"}}},"required":["collections","curatorCollections"]},"CollectionMembershipOwner":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["name","mark"]},"CollectionMembership":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CollectionId"},"name":{"type":"string"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"isPublic":{"type":"boolean"},"isDefault":{"type":"boolean"},"owner":{"$ref":"#\/components\/schemas\/CollectionMembershipOwner"}},"required":["id","name","keyword","isPublic","isDefault","owner"]},"CollectionsMembershipsResponse":{"type":"object","properties":{"collections":{"type":"array","items":{"$ref":"#\/components\/schemas\/CollectionMembership"}}},"required":["collections"]},"CollectionsCreateBodyParams":{"type":"object","properties":{"name":{"type":"string"},"isPublic":{"type":"boolean"},"isDefault":{"type":"boolean"}},"required":["name","isPublic","isDefault"]},"CreateCollectionError":{"enum":["nameInvalid","maxCollections","unknown"]},"CreateCollectionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/CreateCollectionError"}},"required":["error"]}]},"CreateCollectionSuccess":{"allOf":[{"$ref":"#\/components\/schemas\/CollectionsGetResponse"},{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]}]},"CreateCollectionSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/CreateCollectionSuccess"},{"$ref":"#\/components\/schemas\/SuccessResponse"}]},"CollectionsCreateResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/CreateCollectionErrorResponse"},{"$ref":"#\/components\/schemas\/CreateCollectionSuccessResponse"}]},"CollectionsDefaultBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]},"CollectionsEditBodyParams":{"type":"object","properties":{"name":{"type":"string"},"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"isPublic":{"type":"boolean"},"isDefault":{"type":"boolean"}},"required":["name","collectionId","isPublic"]},"EditCollectionError":{"enum":["nameInvalid","collectionNotFound"]},"EditCollectionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/EditCollectionError"}},"required":["error"]}]},"EditCollectionSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/CollectionsGetResponse"},{"$ref":"#\/components\/schemas\/SuccessResponse"}]},"CollectionsEditResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/EditCollectionErrorResponse"},{"$ref":"#\/components\/schemas\/EditCollectionSuccessResponse"}]},"CollectionsAddcuratorBodyParams":{"type":"object","properties":{"userName":{"$ref":"#\/components\/schemas\/UserName"},"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["userName","collectionId"]},"AddCuratorToCollectionError":{"enum":["canNotAddSelf","collectionNotFound"]},"AddCuratorToCollectionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/AddCuratorToCollectionError"}},"required":["error"]}]},"AddCuratorToCollectionSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]}]},"CollectionsAddCuratorResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/AddCuratorToCollectionErrorResponse"},{"$ref":"#\/components\/schemas\/AddCuratorToCollectionSuccessResponse"}]},"CollectionsRemovecuratorBodyParams":{"type":"object","properties":{"userName":{"$ref":"#\/components\/schemas\/UserName"},"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["userName","collectionId"]},"RemoveCuratorToCollectionError":{"enum":["collectionNotFound"]},"RemoveCuratorToCollectionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/RemoveCuratorToCollectionError"}},"required":["error"]}]},"RemoveCuratorToCollectionSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]}]},"CollectionsRemoveCuratorResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/RemoveCuratorToCollectionErrorResponse"},{"$ref":"#\/components\/schemas\/RemoveCuratorToCollectionSuccessResponse"}]},"CollectionsCuratoracceptBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]},"CollectionsCuratorignoreBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]},"CollectionsCuratorallowBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]},"CollectionsDeleteBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]},"DeleteCollectionError":{"enum":["cannotDeleteDefault","collectionNotFound"]},"DeleteCollectionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/DeleteCollectionError"}},"required":["error"]}]},"DeleteCollectionSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/CollectionsGetResponse"},{"$ref":"#\/components\/schemas\/SuccessResponse"}]},"CollectionsDeleteResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/DeleteCollectionErrorResponse"},{"$ref":"#\/components\/schemas\/DeleteCollectionSuccessResponse"}]},"CollectionsAddBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"}},"required":["itemId"]},"AddToCollectionError":{"enum":["cannotModifyNonDefault","collectionNotFound","itemNotFound"]},"AddToCollectionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/AddToCollectionError"}},"required":["error"]}]},"AddToCollectionSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]}]},"CollectionsAddResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/AddToCollectionErrorResponse"},{"$ref":"#\/components\/schemas\/AddToCollectionSuccessResponse"}]},"CollectionsRemoveBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"}},"required":["collectionId","itemId"]},"RemoveFromCollectionError":{"enum":["collectionNotFound"]},"RemoveFromCollectionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/RemoveFromCollectionError"}},"required":["error"]}]},"RemoveFromCollectionSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]}]},"CollectionsRemoveResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/RemoveFromCollectionErrorResponse"},{"$ref":"#\/components\/schemas\/RemoveFromCollectionSuccessResponse"}]},"CollectionsCopyBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"destinationCollectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"tags":{"$ref":"#\/components\/schemas\/CommaSeparatedTags"}},"required":["collectionId","destinationCollectionId","tags"]},"CollectionsCopyResponse":{"type":"object","properties":{"error":{"type":"string"}}},"CollectionsMoveBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"destinationCollectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"tags":{"$ref":"#\/components\/schemas\/CommaSeparatedTags"}},"required":["collectionId","destinationCollectionId","tags"]},"CollectionsMoveResponse":{"type":"object","properties":{"error":{"type":"string"}}},"CollectionsFollowBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]},"CollectionsFollowResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"}},"required":["success"]},"CollectionsUnfollowBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]},"CollectionsUnfollowResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"CollectionsClickBodyParams":{"type":"object","properties":{"collectionId":{"$ref":"#\/components\/schemas\/CollectionId"}},"required":["collectionId"]},"CommentPreview":{"type":"object","properties":{"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"itemThumb":{"type":"string"},"itemPreview":{"type":"string"},"itemUp":{"type":"integer"},"itemDown":{"type":"integer"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"itemCreated":{"$ref":"#\/components\/schemas\/Timestamp"},"itemUser":{"$ref":"#\/components\/schemas\/UserName"},"itemMark":{"$ref":"#\/components\/schemas\/UserMark"},"commentId":{"$ref":"#\/components\/schemas\/CommentId"},"commentContent":{"type":"string"},"commentUp":{"type":"integer"},"commentDown":{"type":"integer"},"commentCreated":{"$ref":"#\/components\/schemas\/Timestamp"},"commentUser":{"$ref":"#\/components\/schemas\/UserName"},"commentMark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["itemId","itemThumb","itemPreview","itemUp","itemDown","flags","itemCreated","itemUser","itemMark","commentId","commentContent","commentUp","commentDown","commentCreated","commentUser","commentMark"]},"CommentsPreviewResponse":{"type":"object","properties":{"preview":{"$ref":"#\/components\/schemas\/CommentPreview"}},"required":["preview"]},"CommentsPostBodyParams":{"type":"object","properties":{"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"parentId":{"$ref":"#\/components\/schemas\/CommentId"},"comment":{"type":"string"}},"required":["itemId","parentId","comment"]},"CommentPostErrorCode":{"enum":["commentTooSoon","commentEmpty","commentForbidden","commentTooLong","parentNotFound","maxLevels","commentNotFound"]},"CommentsPostErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/CommentPostErrorCode"}},"required":["error"]}]},"PostCommentResultComment":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CommentId"},"parent":{"$ref":"#\/components\/schemas\/CommentId"},"content":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"up":{"type":"integer"},"down":{"type":"integer"},"confidence":{"$ref":"#\/components\/schemas\/Confidence"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"editedAt":{"$ref":"#\/components\/schemas\/Timestamp"},"editCount":{"type":"integer"}},"required":["id","content","created","up","down","confidence","name","mark","editCount"]},"CommentsPostSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"commentId":{"$ref":"#\/components\/schemas\/CommentId"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/PostCommentResultComment"}}},"required":["comments"]}]},"CommentsPostResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/CommentsPostErrorResponse"},{"$ref":"#\/components\/schemas\/CommentsPostSuccessResponse"}]},"CommentsEditownBodyParams":{"type":"object","properties":{"commentId":{"$ref":"#\/components\/schemas\/CommentId"},"comment":{"type":"string"}},"required":["commentId","comment"]},"CommentEditOwnErrorCode":{"enum":["commentNotFound","commentEmpty","commentForbidden","commentTooLong","notOwner","editWindowExpired","commentUnchanged","commentAlreadyDeleted","commentChanged","commentModerated","editLimitReached"]},"CommentsEditOwnErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/CommentEditOwnErrorCode"}},"required":["error"]}]},"CommentsEditOwnSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"editedAt":{"$ref":"#\/components\/schemas\/Timestamp"},"editCount":{"type":"integer"}},"required":["editedAt","editCount"]}]},"CommentsEditOwnResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/CommentsEditOwnErrorResponse"},{"$ref":"#\/components\/schemas\/CommentsEditOwnSuccessResponse"}]},"CommentEditVersion":{"type":"object","properties":{"editedAt":{"$ref":"#\/components\/schemas\/Timestamp"},"content":{"type":"string"},"editedByAuthor":{"type":"boolean"},"redactedByMod":{"type":"boolean"}},"required":["editedAt","content","editedByAuthor","redactedByMod"]},"CommentsGetedithistoryResponse":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#\/components\/schemas\/CommentEditVersion"}}},"required":["versions"]},"CommentVote":{"enum":[-1,0,1,2]},"CommentsVoteBodyParams":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CommentId"},"vote":{"$ref":"#\/components\/schemas\/CommentVote"}},"required":["id","vote"]},"CommentsFavBodyParams":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CommentId"}},"required":["id"]},"CommentsUnfavBodyParams":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CommentId"}},"required":["id"]},"EventConfig":{"type":"object","additionalProperties":{"$ref":"#\/components\/schemas\/any"}},"ActiveEvent":{"type":"object","properties":{"event":{"type":"string"},"stage":{"type":"string"},"config":{"$ref":"#\/components\/schemas\/EventConfig"}},"required":["event","stage","config"]},"EventsActiveResponse":{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#\/components\/schemas\/ActiveEvent"}}},"required":["events"]},"FaqBanReason":{"type":"object","properties":{"banReason":{"type":"string"},"number":{"$ref":"#\/components\/schemas\/float"},"id":{"type":"integer"}},"required":["banReason","id"]},"FaqReasonsResponse":{"type":"object","properties":{"preferredReason":{"type":"string"},"rules":{"type":"array","items":{"$ref":"#\/components\/schemas\/FaqBanReason"}}},"required":["rules"]},"FaqRule":{"type":"object","properties":{"text":{"type":"string"},"number":{"$ref":"#\/components\/schemas\/float"},"hasReason":{"type":"boolean"}},"required":["text","number","hasReason"]},"FaqRulesResponse":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#\/components\/schemas\/FaqRule"}}},"required":["rules"]},"FaqChange":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"text":{"$ref":"#\/components\/schemas\/SafeHTML"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["id","title","text","created"]},"Pagination":{"type":"object","properties":{"currentPage":{"type":"integer"},"totalPages":{"type":"integer"},"totalItems":{"type":"integer"},"itemsPerPage":{"type":"integer"}},"required":["currentPage","totalPages","totalItems","itemsPerPage"]},"FaqChangelogResponse":{"type":"object","properties":{"changes":{"type":"array","items":{"$ref":"#\/components\/schemas\/FaqChange"}},"pagination":{"$ref":"#\/components\/schemas\/Pagination"}},"required":["changes","pagination"]},"FaqCategory":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"cleanName":{"$ref":"#\/components\/schemas\/Slug"},"description":{"type":"string"},"icon":{"type":"string"},"thumb":{"type":"string"}},"required":["id","title","cleanName","description","icon","thumb"]},"FaqCategoryArticle":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"cleanName":{"$ref":"#\/components\/schemas\/Slug"},"text":{"$ref":"#\/components\/schemas\/SafeHTML"}},"required":["id","title","cleanName","text"]},"FaqCategoriesResponse":{"type":"object","properties":{"categories":{"type":"array","items":{"$ref":"#\/components\/schemas\/FaqCategory"}},"articles":{"type":"array","items":{"$ref":"#\/components\/schemas\/FaqCategoryArticle"}}},"required":["categories","articles"]},"FaqArticle":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"cleanName":{"$ref":"#\/components\/schemas\/Slug"},"tags":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"text":{"$ref":"#\/components\/schemas\/SafeHTML"}},"required":["id","title","cleanName","tags","created","text"]},"FaqArticleRelated":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"}},"required":["id","title"]},"FaqArticleResponse":{"type":"object","properties":{"article":{"$ref":"#\/components\/schemas\/FaqArticle"},"related":{"type":"array","items":{"$ref":"#\/components\/schemas\/FaqArticleRelated"}}},"required":["article","related"]},"FaqSearchArticle":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"cleanName":{"type":"string"},"text":{"$ref":"#\/components\/schemas\/SafeHTML"},"categoryName":{"type":"string"}},"required":["id","title","cleanName","text","categoryName"]},"FaqSearchResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#\/components\/schemas\/FaqSearchArticle"}}},"required":["results"]},"FaqPromotedArticle":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"cleanName":{"$ref":"#\/components\/schemas\/Slug"},"text":{"$ref":"#\/components\/schemas\/SafeHTML"}},"required":["id","title","cleanName","text"]},"FaqPromotedResponse":{"type":"object","properties":{"articles":{"type":"array","items":{"$ref":"#\/components\/schemas\/FaqPromotedArticle"}}},"required":["articles"]},"FaqGetResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/FaqCategoriesResponse"},{"$ref":"#\/components\/schemas\/FaqSearchResponse"},{"$ref":"#\/components\/schemas\/FaqArticleResponse"}]},"AllFaqCategory":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"cleanName":{"$ref":"#\/components\/schemas\/Slug"},"description":{"$ref":"#\/components\/schemas\/SafeHTML"},"icon":{"type":"string"}},"required":["id","title","cleanName","description","icon"]},"AllFaqArticle":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"cleanName":{"$ref":"#\/components\/schemas\/Slug"},"description":{"$ref":"#\/components\/schemas\/SafeHTML"}},"required":["id","title","cleanName","description"]},"FaqAllResponse":{"type":"object","properties":{"categories":{"type":"array","items":{"$ref":"#\/components\/schemas\/AllFaqCategory"}},"article":{"type":"array","items":{"$ref":"#\/components\/schemas\/AllFaqArticle"}}},"required":["categories","article"]},"DeleteConversationOptionsById":{"type":"object","properties":{"recipientId":{"$ref":"#\/components\/schemas\/UserId"}},"required":["recipientId"]},"DeleteConversationOptionsByName":{"type":"object","properties":{"recipientName":{"$ref":"#\/components\/schemas\/UserName"}},"required":["recipientName"]},"DeleteConversationOptions":{"anyOf":[{"$ref":"#\/components\/schemas\/DeleteConversationOptionsById"},{"$ref":"#\/components\/schemas\/DeleteConversationOptionsByName"}]},"SendMessageOptionsById":{"type":"object","properties":{"comment":{"type":"string"},"recipientId":{"$ref":"#\/components\/schemas\/UserId"}},"required":["comment","recipientId"]},"SendMessageOptionsByName":{"type":"object","properties":{"comment":{"type":"string"},"recipientName":{"$ref":"#\/components\/schemas\/UserName"}},"required":["comment","recipientName"]},"SendMessageOptions":{"anyOf":[{"$ref":"#\/components\/schemas\/SendMessageOptionsById"},{"$ref":"#\/components\/schemas\/SendMessageOptionsByName"}]},"SendPrivateMessageError":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}]},"SendPrivateMessageSuccess":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConversationMessage"}},"atEnd":{"type":"boolean"}},"required":["messages","atEnd"]}]},"SendPrivateMessageResult":{"anyOf":[{"$ref":"#\/components\/schemas\/SendPrivateMessageError"},{"$ref":"#\/components\/schemas\/SendPrivateMessageSuccess"}]},"InboxPendingPrivateMessageItem":{"type":"object","properties":{"type":{"const":"message"},"id":{"$ref":"#\/components\/schemas\/MessageId"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"senderId":{"$ref":"#\/components\/schemas\/UserId"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","id","name","mark","senderId","created","message","read","blocked"]},"CommentInboxKind":{"enum":["reply","mention"]},"InboxPendingCommentItem":{"type":"object","properties":{"type":{"const":"comment"},"kind":{"$ref":"#\/components\/schemas\/CommentInboxKind"},"id":{"$ref":"#\/components\/schemas\/MessageId"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"senderId":{"$ref":"#\/components\/schemas\/UserId"},"score":{"$ref":"#\/components\/schemas\/Score"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","kind","id","itemId","thumb","preview","flags","name","mark","senderId","score","created","message","read","blocked"]},"InboxPendingNotificationItem":{"type":"object","properties":{"type":{"const":"notification"},"kind":{"type":"string"},"id":{"$ref":"#\/components\/schemas\/MessageId"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","id","created","message","read"]},"InboxPendingFollowsItem":{"type":"object","properties":{"type":{"const":"follows"},"id":{"$ref":"#\/components\/schemas\/MessageId"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"image":{"type":"string"},"thumb":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"senderId":{"$ref":"#\/components\/schemas\/UserId"},"score":{"$ref":"#\/components\/schemas\/Score"},"collection":{"type":"string"},"owner":{"$ref":"#\/components\/schemas\/UserName"},"ownerMark":{"$ref":"#\/components\/schemas\/UserMark"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"tag":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","id","itemId","image","thumb","flags","name","mark","senderId","score","created","read","blocked"]},"InboxPendingItem":{"anyOf":[{"$ref":"#\/components\/schemas\/InboxPendingPrivateMessageItem"},{"$ref":"#\/components\/schemas\/InboxPendingCommentItem"},{"$ref":"#\/components\/schemas\/InboxPendingNotificationItem"},{"$ref":"#\/components\/schemas\/InboxPendingFollowsItem"}]},"InboxPendingResponse":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#\/components\/schemas\/InboxPendingItem"}},"digests":{"type":"array","items":{"$ref":"#\/components\/schemas\/InboxDigest"}}},"required":["messages","digests"]},"InboxMessageType":{"enum":["message","comment","notification","follows"]},"AllInboxPrivateMessage":{"type":"object","properties":{"type":{"const":"message"},"id":{"$ref":"#\/components\/schemas\/MessageId"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"senderId":{"$ref":"#\/components\/schemas\/UserId"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","id","name","mark","senderId","created","message","read","blocked"]},"AllInboxCommentMessage":{"type":"object","properties":{"type":{"const":"comment"},"kind":{"$ref":"#\/components\/schemas\/CommentInboxKind"},"id":{"$ref":"#\/components\/schemas\/MessageId"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"senderId":{"$ref":"#\/components\/schemas\/UserId"},"score":{"$ref":"#\/components\/schemas\/Score"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"},"canReply":{"type":"boolean"}},"required":["type","kind","id","itemId","thumb","preview","flags","name","mark","senderId","score","created","message","read","blocked","canReply"]},"AllInboxNotificationMessage":{"type":"object","properties":{"type":{"const":"notification"},"kind":{"type":"string"},"id":{"$ref":"#\/components\/schemas\/MessageId"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","id","created","message","read"]},"AllInboxFollowMessage":{"type":"object","properties":{"type":{"const":"follows"},"id":{"$ref":"#\/components\/schemas\/MessageId"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"image":{"type":"string"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"senderId":{"$ref":"#\/components\/schemas\/UserId"},"score":{"$ref":"#\/components\/schemas\/Score"},"collection":{"type":"string"},"owner":{"$ref":"#\/components\/schemas\/UserName"},"ownerMark":{"$ref":"#\/components\/schemas\/UserMark"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"tag":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","id","itemId","image","thumb","preview","flags","name","mark","senderId","score","created","read","blocked"]},"AllInboxMessage":{"anyOf":[{"$ref":"#\/components\/schemas\/AllInboxPrivateMessage"},{"$ref":"#\/components\/schemas\/AllInboxCommentMessage"},{"$ref":"#\/components\/schemas\/AllInboxNotificationMessage"},{"$ref":"#\/components\/schemas\/AllInboxFollowMessage"}]},"InboxAllResponse":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#\/components\/schemas\/AllInboxMessage"}},"atEnd":{"type":"boolean"}},"required":["messages","atEnd"]},"CommentInboxMessage":{"type":"object","properties":{"type":{"const":"comment"},"kind":{"$ref":"#\/components\/schemas\/CommentInboxKind"},"id":{"type":"integer"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"senderId":{"$ref":"#\/components\/schemas\/UserId"},"score":{"$ref":"#\/components\/schemas\/Score"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"},"canReply":{"type":"boolean"}},"required":["type","kind","id","itemId","thumb","preview","flags","name","mark","senderId","score","created","message","read","blocked","canReply"]},"InboxCommentsResponse":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#\/components\/schemas\/CommentInboxMessage"}},"atEnd":{"type":"boolean"}},"required":["messages","atEnd"]},"NotificationInboxMessage":{"type":"object","properties":{"type":{"const":"notification"},"kind":{"type":"string"},"id":{"type":"integer"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","id","created","message","read"]},"InboxNotificationsResponse":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#\/components\/schemas\/NotificationInboxMessage"}},"atEnd":{"type":"boolean"}},"required":["messages","atEnd"]},"InboxReadType":{"enum":["message","comment","notification","follows"]},"InboxMarkreadBodyParams":{"type":"object","properties":{"type":{"$ref":"#\/components\/schemas\/InboxReadType"}},"required":["type"]},"DigestPushNotificationData":{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"}},"required":["title","body"]},"HighlightItemUser":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["name","mark"]},"HighlightItem":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"thumb":{"type":"string"},"preview":{"type":"string"},"user":{"$ref":"#\/components\/schemas\/HighlightItemUser"},"up":{"type":"integer"},"down":{"type":"integer"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["id","flags","thumb","preview","user","up","down","created"]},"InboxDigest":{"type":"object","properties":{"id":{"type":"integer"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"type":{"const":"digest"},"pushNotification":{"$ref":"#\/components\/schemas\/DigestPushNotificationData"},"message":{"type":"string"},"notice":{"type":"string"},"benisThreshold":{"type":"integer"},"read":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/HighlightItem"}}},"required":["id","created","type","pushNotification","message","read","items"]},"InboxDigestsResponse":{"type":"object","properties":{"digests":{"type":"array","items":{"$ref":"#\/components\/schemas\/InboxDigest"}},"atEnd":{"type":"boolean"}},"required":["digests","atEnd"]},"SubscriptionInboxMessage":{"type":"object","properties":{"type":{"const":"follows"},"id":{"type":"integer"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"image":{"type":"string"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"senderId":{"$ref":"#\/components\/schemas\/UserId"},"score":{"$ref":"#\/components\/schemas\/Score"},"collection":{"type":"string"},"owner":{"$ref":"#\/components\/schemas\/UserName"},"ownerMark":{"$ref":"#\/components\/schemas\/UserMark"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"tag":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"}},"required":["type","id","itemId","image","thumb","preview","flags","name","mark","senderId","score","created","read","blocked"]},"InboxFollowsResponse":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionInboxMessage"}},"atEnd":{"type":"boolean"}},"required":["messages","atEnd"]},"ConversationPartner":{"type":"object","properties":{"mark":{"$ref":"#\/components\/schemas\/UserMark"},"name":{"$ref":"#\/components\/schemas\/UserName"},"blocked":{"type":"boolean"},"canReceiveMessages":{"type":"boolean"},"avatar":{"type":"string"}},"required":["mark","name","blocked","canReceiveMessages"]},"ConversationMessage":{"type":"object","properties":{"id":{"type":"integer"},"sent":{"type":"integer"},"read":{"$ref":"#\/components\/schemas\/NumberBoolean"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"message":{"type":"string"}},"required":["id","sent","read","name","mark","created","message"]},"InboxMessagesResponse":{"type":"object","properties":{"with":{"$ref":"#\/components\/schemas\/ConversationPartner"},"ownAvatar":{"type":"string"},"messages":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConversationMessage"}},"atEnd":{"type":"boolean"}},"required":["with","messages","atEnd"]},"ConversationListItem":{"type":"object","properties":{"mark":{"$ref":"#\/components\/schemas\/UserMark"},"name":{"$ref":"#\/components\/schemas\/UserName"},"lastMessage":{"$ref":"#\/components\/schemas\/Timestamp"},"unreadCount":{"type":"integer"},"blocked":{"$ref":"#\/components\/schemas\/NumberBoolean"},"canReceiveMessages":{"type":"boolean"},"lastMessagePreview":{"type":"string"},"lastMessageFromMe":{"$ref":"#\/components\/schemas\/NumberBoolean"},"avatar":{"type":"string"}},"required":["mark","name","lastMessage","unreadCount","blocked","canReceiveMessages"]},"InboxConversationsResponse":{"type":"object","properties":{"conversations":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConversationListItem"}},"atEnd":{"type":"boolean"}},"required":["conversations","atEnd"]},"RelationshipInfo":{"type":"object","properties":{"mark":{"$ref":"#\/components\/schemas\/UserMark"},"name":{"$ref":"#\/components\/schemas\/UserName"},"avatar":{"type":"string"}},"required":["mark","name"]},"InboxRelationshipResponse":{"type":"object","properties":{"blocked":{"type":"boolean"},"canReceiveMessages":{"type":"boolean"},"partner":{"$ref":"#\/components\/schemas\/RelationshipInfo"}},"required":["blocked","canReceiveMessages","partner"]},"ItemVote":{"enum":[-1,0,1]},"ItemsVoteBodyParams":{"type":"object","properties":{"vote":{"$ref":"#\/components\/schemas\/ItemVote"},"id":{"$ref":"#\/components\/schemas\/ItemId"}},"required":["vote","id"]},"VoteErrorReason":{"enum":["notFound"],"description":"Some error :("},"ErrorItemVoteResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/VoteErrorReason"}},"required":["error"]}]},"ItemVoteResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/ErrorItemVoteResponse"}]},"ItemsRatelimitedResponse":{"type":"object","properties":{"left":{"type":"integer"}},"required":["left"]},"ItemsUploadBodyParams":{"type":"object","properties":{"image":{"$ref":"#\/components\/schemas\/File"}},"required":["image"]},"ItemsUploadResponse":{"type":"object","properties":{"key":{"type":"string"}},"required":["key"]},"ItemsPostBodyParams":{"type":"object","properties":{"tags":{"$ref":"#\/components\/schemas\/CommaSeparatedTags"},"checkSimilar":{"type":"boolean"},"targetCollectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"scheduleDate":{"type":"string"},"scheduleTime":{"type":"string"},"comment":{"type":"string"},"key":{"$ref":"#\/components\/schemas\/TODO"},"imageUrl":{"$ref":"#\/components\/schemas\/TODO"},"source":{"type":"string"},"siteUrl":{"$ref":"#\/components\/schemas\/TODO"}},"required":["tags","scheduleDate","scheduleTime","key","imageUrl","siteUrl"]},"PostItemsGenericError":{"enum":["collectionNotFound","tooSoon","alreadyQueued","alreadyScheduled","invalid","blacklisted","paymentRequired","dailyLimitReached","dateInPast","dateForbidden","missingData"]},"PostItemsReportError":{"enum":["dimensionsTooSmall","dimensionsTooLarge","durationTooLong","invalidCodec","invalidStreams","invalidContainer"]},"StreamFormat":{"type":"object","properties":{"type":{"type":"string"},"codec":{"type":"string"}},"required":["type","codec"]},"PostItemsReport":{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/PostItemsReportError"},"format":{"$ref":"#\/components\/schemas\/TODO"},"streams":{"type":"array","items":{"$ref":"#\/components\/schemas\/StreamFormat"}},"duration":{"$ref":"#\/components\/schemas\/float"},"width":{"type":"integer"},"height":{"type":"integer"}},"required":["error","format","streams"]},"PostItemsGenericErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/PostItemsGenericError"},"report":{"$ref":"#\/components\/schemas\/PostItemsReport"}},"required":["error"]}]},"PostItemsFoundSimilarError":{"enum":["similar"]},"SimilarItemInfo":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"image":{"type":"string"},"thumb":{"type":"string"},"preview":{"type":"string"},"fullsize":{"type":"string"},"source":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"userName":{"$ref":"#\/components\/schemas\/UserName"},"userMark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["id","created","image","thumb","fullsize","source","flags","userName","userMark"]},"PostItemsFoundSimilarErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/PostItemsFoundSimilarError"},"similar":{"type":"array","items":{"$ref":"#\/components\/schemas\/SimilarItemInfo"}}},"required":["error","similar"]}]},"PostItemsErrorResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/PostItemsGenericErrorResponse"},{"$ref":"#\/components\/schemas\/PostItemsFoundSimilarErrorResponse"}]},"PostItemsSuccessItem":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"}},"required":["id"]},"PostItemsSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/PostItemsSuccessItem"},"queueId":{"$ref":"#\/components\/schemas\/ItemId"},"scheduled":{"type":"boolean"},"selfPosted":{"type":"boolean"}},"required":["item","queueId","scheduled","selfPosted"]}]},"PostItemsResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/PostItemsErrorResponse"},{"$ref":"#\/components\/schemas\/PostItemsSuccessResponse"}]},"QueueStatusItem":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"}},"required":["id"]},"ItemsQueueResponse":{"type":"object","properties":{"status":{"type":"string"},"item":{"$ref":"#\/components\/schemas\/QueueStatusItem"},"position":{"type":"integer"}},"required":["status","item","position"]},"ItemPreviewInfo":{"type":"object","properties":{"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"itemThumb":{"type":"string"},"itemPreview":{"type":"string"},"itemUp":{"type":"integer"},"itemDown":{"type":"integer"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"itemCreated":{"$ref":"#\/components\/schemas\/Timestamp"},"itemUser":{"$ref":"#\/components\/schemas\/UserName"},"itemMark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["itemId","itemThumb","itemUp","itemDown","flags","itemCreated","itemUser","itemMark"]},"ItemsPreviewResponse":{"type":"object","properties":{"preview":{"$ref":"#\/components\/schemas\/ItemPreviewInfo"}},"required":["preview"]},"ItemTag":{"type":"object","properties":{"confidence":{"$ref":"#\/components\/schemas\/Confidence"},"id":{"$ref":"#\/components\/schemas\/TagId"},"tag":{"$ref":"#\/components\/schemas\/Tag"}},"required":["confidence","id","tag"]},"ItemComment":{"type":"object","properties":{"confidence":{"$ref":"#\/components\/schemas\/Confidence"},"content":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"down":{"type":"integer"},"id":{"$ref":"#\/components\/schemas\/CommentId"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"name":{"$ref":"#\/components\/schemas\/UserName"},"parent":{"$ref":"#\/components\/schemas\/CommentId"},"up":{"type":"integer"},"blocked":{"type":"boolean"},"avatar":{"type":"string"},"editedAt":{"$ref":"#\/components\/schemas\/Timestamp"},"editCount":{"type":"integer"}},"required":["confidence","content","created","down","id","mark","name","parent","up","editCount"]},"ItemsInfoResponse":{"type":"object","properties":{"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/ItemTag"}},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/ItemComment"}}},"required":["tags","comments"]},"GetItemsItemSubtitle":{"type":"object","properties":{"language":{"$ref":"#\/components\/schemas\/IsoLanguage"},"path":{"type":"string"},"label":{"type":"string"},"isDefault":{"type":"boolean"}},"required":["language","path","label","isDefault"]},"MediaVariantName":{"enum":["source","vp9","vp9m","vp9s"]},"MediaVariant":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/MediaVariantName"},"path":{"type":"string"},"mimeType":{"type":"string"},"codec":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"bitRate":{"$ref":"#\/components\/schemas\/float"},"fileSize":{"type":"integer"}},"required":["name","path","mimeType","codec","width","height","bitRate","fileSize"]},"GetItemsItem":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"},"promoted":{"$ref":"#\/components\/schemas\/PromotedItemId"},"userId":{"$ref":"#\/components\/schemas\/UserId"},"down":{"type":"integer"},"up":{"type":"integer"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"image":{"type":"string"},"thumb":{"type":"string"},"fullsize":{"type":"string"},"preview":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"originalWidth":{"type":"integer"},"originalHeight":{"type":"integer"},"audio":{"type":"boolean"},"source":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"user":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"avatar":{"type":"string"},"repost":{"type":"boolean"},"pinned":{"type":"boolean"},"subtitles":{"type":"array","items":{"$ref":"#\/components\/schemas\/GetItemsItemSubtitle"}},"variants":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaVariant"}}},"required":["id","promoted","userId","down","up","created","image","thumb","fullsize","width","height","originalWidth","originalHeight","audio","source","flags","user","mark","repost"]},"ItemsGetResponse":{"type":"object","properties":{"atStart":{"type":"boolean"},"atEnd":{"type":"boolean"},"error":{"type":"string"},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/GetItemsItem"}}},"required":["atStart","atEnd","error"]},"ScheduledTargetCollection":{"type":"object","properties":{"name":{"type":"string"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"owner":{"$ref":"#\/components\/schemas\/UserName"}},"required":["name","keyword","owner"]},"ScheduledItem":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"},"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}},"comment":{"type":"string"},"thumb":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"scheduled":{"$ref":"#\/components\/schemas\/Timestamp"},"source":{"type":"string"},"targetCollectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"targetCollection":{"$ref":"#\/components\/schemas\/ScheduledTargetCollection"}},"required":["id","tags","thumb","created","scheduled","source"]},"ItemsScheduledResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScheduledItem"}}},"required":["items"]},"ProcessingStatus":{"enum":["pending","processing"]},"ProcessingItem":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/QueueId"},"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}},"thumb":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"status":{"$ref":"#\/components\/schemas\/ProcessingStatus"},"progress":{"type":"integer"},"duration":{"$ref":"#\/components\/schemas\/float"},"isVideo":{"type":"boolean"}},"required":["id","tags","thumb","created","status","isVideo"]},"ItemsProcessingResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProcessingItem"}}},"required":["items"]},"ItemsPublishearlyBodyParams":{"type":"object","properties":{"queueId":{"$ref":"#\/components\/schemas\/QueueId"}},"required":["queueId"]},"ItemsPublishearlyResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"ItemsRemovescheduledBodyParams":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/QueueId"}},"required":["id"]},"ItemsRemovescheduledResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"ItemsRemoveallscheduledBodyParams":{"type":"object","properties":[]},"ItemsRemoveallscheduledResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"ItemsEditscheduledBodyParams":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/QueueId"},"tags":{"$ref":"#\/components\/schemas\/CommaSeparatedTags"},"comment":{"type":"string"},"source":{"type":"string"},"targetCollectionId":{"$ref":"#\/components\/schemas\/CollectionId"},"scheduleDate":{"type":"string"},"scheduleTime":{"type":"string"}},"required":["id","tags","scheduleDate","scheduleTime"]},"EditScheduledError":{"enum":["paymentRequired","dailyLimitReached","dateInPast","dateForbidden","missingData","blacklisted","collectionNotFound"]},"EditScheduledErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/EditScheduledError"}},"required":["error"]}]},"EditScheduledResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/EditScheduledErrorResponse"},{"$ref":"#\/components\/schemas\/SuccessResponse"}]},"KontakteConfig":{"type":"object","properties":{"bioMinLength":{"type":"integer"},"bioMaxLength":{"type":"integer"},"maxTags":{"type":"integer"},"tagMaxLength":{"type":"integer"},"radiusMin":{"type":"integer"},"radiusMax":{"type":"integer"},"radiusDefault":{"type":"integer"},"radiusStep":{"type":"integer"},"distanceRoundKm":{"type":"integer"},"listPageSize":{"type":"integer"}},"required":["bioMinLength","bioMaxLength","maxTags","tagMaxLength","radiusMin","radiusMax","radiusDefault","radiusStep","distanceRoundKm","listPageSize"]},"KontakteProfile":{"type":"object","properties":{"bio":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"zip":{"type":"string"},"radiusKm":{"type":"integer"},"enabled":{"type":"boolean"}},"required":["bio","tags","zip","radiusKm","enabled"]},"GetKontakteProfileResponse":{"type":"object","properties":{"success":{"type":"boolean"},"config":{"$ref":"#\/components\/schemas\/KontakteConfig"},"profile":{"$ref":"#\/components\/schemas\/KontakteProfile"}},"required":["success","config"]},"KontakteUpdateprofileBodyParams":{"type":"object","properties":{"bio":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"zip":{"type":"string"},"radius":{"type":"integer"},"enabled":{"type":"boolean"}}},"UpdateKontakteProfileResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"}},"required":["success"]},"KontakteCandidate":{"type":"object","properties":{"userId":{"type":"integer"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"benis":{"type":"integer"},"bio":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"sharedTags":{"type":"integer"},"distanceKm":{"type":"integer"},"avatar":{"type":"string"}},"required":["userId","name","mark","benis","bio","tags","sharedTags"]},"KontakteDiscoverResponse":{"type":"object","properties":{"success":{"type":"boolean"},"profiles":{"type":"array","items":{"$ref":"#\/components\/schemas\/KontakteCandidate"}}},"required":["success","profiles"]},"KontaktePublicProfile":{"type":"object","properties":{"userId":{"type":"integer"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"benis":{"type":"integer"},"bio":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"sharedTags":{"type":"integer"},"distanceKm":{"type":"integer"},"avatar":{"type":"string"},"likedByYou":{"type":"boolean"},"likedByThem":{"type":"boolean"},"isMatch":{"type":"boolean"}},"required":["userId","name","mark","benis","bio","tags","sharedTags","likedByYou","likedByThem","isMatch"]},"KontakteUserProfileResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"profile":{"$ref":"#\/components\/schemas\/KontaktePublicProfile"}},"required":["success"]},"KontakteTagSuggestionsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"tags":{"type":"array","items":{"type":"string"}}},"required":["success","tags"]},"KontakteSwipeBodyParams":{"type":"object","properties":{"toUserId":{"type":"integer"},"action":{"type":"string"}},"required":["toUserId","action"]},"KontakteSwipeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"matched":{"type":"boolean"},"error":{"type":"string"}},"required":["success","matched"]},"KontakteListUser":{"type":"object","properties":{"userId":{"type":"integer"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"benis":{"type":"integer"},"bio":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"isMatch":{"type":"boolean"},"distanceKm":{"type":"integer"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"avatar":{"type":"string"}},"required":["userId","name","mark","benis","bio","tags","isMatch","created"]},"KontakteLikesReceivedResponse":{"type":"object","properties":{"success":{"type":"boolean"},"total":{"type":"integer"},"users":{"type":"array","items":{"$ref":"#\/components\/schemas\/KontakteListUser"}}},"required":["success","total","users"]},"KontakteLikesSentResponse":{"type":"object","properties":{"success":{"type":"boolean"},"total":{"type":"integer"},"users":{"type":"array","items":{"$ref":"#\/components\/schemas\/KontakteListUser"}}},"required":["success","total","users"]},"KontakteMatchesResponse":{"type":"object","properties":{"success":{"type":"boolean"},"total":{"type":"integer"},"users":{"type":"array","items":{"$ref":"#\/components\/schemas\/KontakteListUser"}}},"required":["success","total","users"]},"KontakteResetNopesResponse":{"type":"object","properties":{"success":{"type":"boolean"},"removed":{"type":"integer"}},"required":["success","removed"]},"KontakteRemovelikeBodyParams":{"type":"object","properties":{"toUserId":{"type":"integer"}},"required":["toUserId"]},"KontakteRemoveLikeResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"MemesRatelimitedResponse":{"type":"object","properties":{"left":{"type":"integer"}},"required":["left"]},"MemeTemplateOrder":{"enum":["popular","own",""]},"MemeTemplate":{"type":"object","properties":{"id":{"type":"integer"},"userId":{"type":"integer"},"name":{"type":"string"},"private":{"type":"boolean"},"allowed":{"type":"boolean"},"background":{"type":"string"},"data":{"$ref":"#\/components\/schemas\/JsonEncodedData"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"posts":{"type":"integer"}},"required":["id","name","private","allowed","background","data","created","posts"]},"MemesTemplatesResponse":{"type":"object","properties":{"templates":{"type":"array","items":{"$ref":"#\/components\/schemas\/MemeTemplate"}}},"required":["templates"]},"MemeTemplateDetails":{"type":"object","properties":{"id":{"type":"integer"},"userId":{"type":"integer"},"name":{"type":"string"},"private":{"type":"boolean"},"allowed":{"type":"boolean"},"background":{"type":"string"},"data":{"$ref":"#\/components\/schemas\/JsonEncodedData"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"height":{"type":"integer"},"width":{"type":"integer"},"userName":{"type":"string"},"userMark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["id","name","private","allowed","background","data","created","height","width","userName","userMark"]},"MemesTemplateResponse":{"type":"object","properties":{"template":{"$ref":"#\/components\/schemas\/MemeTemplateDetails"}},"required":["template"]},"MemesSearchResponse":{"type":"object","properties":{"templates":{"type":"array","items":{"$ref":"#\/components\/schemas\/MemeTemplateDetails"}}},"required":["templates"]},"MemesRandomResponse":{"type":"object","properties":{"template":{"$ref":"#\/components\/schemas\/MemeTemplateDetails"}},"required":["template"]},"MemesPostBodyParams":{"type":"object","properties":{"id":{"type":"integer"},"tags":{"$ref":"#\/components\/schemas\/CommaSeparatedTags"},"imageData":{"$ref":"#\/components\/schemas\/BinaryString"}},"required":["id","tags","imageData"]},"ExistingMemeItem":{"type":"object","properties":{"id":{"type":"integer"}},"required":["id"]},"MemesPostResponse":{"type":"object","properties":{"error":{"type":"string"},"selfPosted":{"type":"boolean"},"queueId":{"type":"integer"},"report":{"$ref":"#\/components\/schemas\/JsonEncodedData"},"item":{"$ref":"#\/components\/schemas\/ExistingMemeItem"}}},"MemesAddtemplateBodyParams":{"type":"object","properties":{"name":{"type":"string"},"public":{"type":"boolean"},"image":{"$ref":"#\/components\/schemas\/File"}},"required":["name","public","image"]},"MemesAddtemplateResponse":{"type":"object","properties":{"error":{"type":"string"},"templateId":{"type":"integer"}},"required":["templateId"]},"MemesDeleteBodyParams":{"type":"object","properties":{"id":{"type":"integer"}},"required":["id"]},"MemesDeleteResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"MemesPrivateBodyParams":{"type":"object","properties":{"id":{"type":"integer"},"private":{"type":"boolean"}},"required":["id","private"]},"MemesPrivateResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"MemesChangeBodyParams":{"type":"object","properties":{"id":{"type":"integer"},"data":{"$ref":"#\/components\/schemas\/JsonEncodedData"}},"required":["id","data"]},"MemesChangeResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"OauthCreateaccesstokenBodyParams":{"type":"object","properties":{"grant_type":{"const":"authorization_code"},"code":{"$ref":"#\/components\/schemas\/OAuthAuthCode"},"redirect_uri":{"type":"string"},"client_id":{"$ref":"#\/components\/schemas\/OAuthClientId"},"client_secret":{"type":"string"}},"required":["grant_type","code","redirect_uri"]},"OauthCreateaccesstokenResponse":{"type":"object","properties":{"access_token":{"type":"string"},"token_type":{"type":"string"},"scope":{"type":"string"}},"required":["access_token","token_type","scope"]},"OauthAllowBodyParams":{"type":"object","properties":{"clientId":{"$ref":"#\/components\/schemas\/OAuthClientId"},"scope":{"type":"string"},"state":{"$ref":"#\/components\/schemas\/OAuthState"},"redirectUri":{"type":"string"}},"required":["clientId","scope","state","redirectUri"]},"OauthAllowResponse":{"type":"object","properties":{"error":{"type":"string"},"authCode":{"$ref":"#\/components\/schemas\/OAuthAuthCode"},"userId":{"$ref":"#\/components\/schemas\/UserIdentifier"},"state":{"$ref":"#\/components\/schemas\/OAuthState"},"scopes":{"type":"array","items":{"type":"string"}}},"required":["authCode","userId","state","scopes"]},"OauthRevokeBodyParams":{"type":"object","properties":{"clientId":{"$ref":"#\/components\/schemas\/OAuthClientId"}},"required":["clientId"]},"OauthRevokeResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"OAuthClientInfo":{"type":"object","properties":{"clientId":{"$ref":"#\/components\/schemas\/OAuthClientId"},"name":{"type":"string"},"url":{"type":"string"},"logo":{"type":"string"},"description":{"type":"string"}},"required":["clientId","name","url","logo","description"]},"OAuthClientPermissions":{"type":"object","properties":{"scope":{"type":"string"},"description":{"type":"string"}},"required":["scope","description"]},"OauthClientinfoResponse":{"type":"object","properties":{"clientInfo":{"$ref":"#\/components\/schemas\/OAuthClientInfo"},"permissions":{"type":"array","items":{"$ref":"#\/components\/schemas\/OAuthClientPermissions"}}},"required":["clientInfo","permissions"]},"GetPollError":{"enum":["notFound"]},"GetPollErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/GetPollError"}},"required":["error"]}]},"QuestionType":{"enum":["single","multi","freitext","skala"]},"PollOption":{"type":"object","properties":{"id":{"type":"integer"},"text":{"type":"string"},"sortOrder":{"type":"integer"}},"required":["id","text","sortOrder"]},"PollQuestion":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"type":{"$ref":"#\/components\/schemas\/QuestionType"},"sortOrder":{"type":"integer"},"required":{"type":"boolean"},"options":{"type":"array","items":{"$ref":"#\/components\/schemas\/PollOption"}}},"required":["id","title","type","sortOrder","required"]},"PollDetails":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"description":{"type":"string"},"imagePath":{"type":"string"},"startTime":{"$ref":"#\/components\/schemas\/Timestamp"},"endTime":{"$ref":"#\/components\/schemas\/Timestamp"},"adminId":{"$ref":"#\/components\/schemas\/UserId"},"adminName":{"$ref":"#\/components\/schemas\/UserName"},"adminMark":{"$ref":"#\/components\/schemas\/UserMark"},"hideResults":{"type":"boolean"},"totalVotes":{"type":"integer"},"questions":{"type":"array","items":{"$ref":"#\/components\/schemas\/PollQuestion"}}},"required":["id","title","description","startTime","adminId","adminName","adminMark","hideResults","totalVotes","questions"]},"GetPollSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"poll":{"$ref":"#\/components\/schemas\/PollDetails"}},"required":["poll"]}]},"GetPollResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/GetPollErrorResponse"},{"$ref":"#\/components\/schemas\/GetPollSuccessResponse"}]},"PollAnswer":{"anyOf":[{"const":"integer"},{"type":"array","items":{"type":"integer"}},{"const":"string"},{"const":"integer","description":"Value between 1-10"}]},"PollAnswers":{"type":"object","properties":{"questionId":{"$ref":"#\/components\/schemas\/PollAnswer"}},"required":["questionId"]},"PollsVoteBodyParams":{"type":"object","properties":{"pollId":{"type":"integer"},"answers":{"$ref":"#\/components\/schemas\/PollAnswers"}},"required":["pollId","answers"]},"VotePollError":{"enum":["notFound","alreadyVoted","pollEnded","pollNotStarted","invalidAnswer","requiredMissing"],"description":"Possible errors when voting"},"VotePollErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/VotePollError"}},"required":["error"]}]},"VotePollSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"}],"description":"Successful vote"},"VotePollResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/VotePollErrorResponse"},{"$ref":"#\/components\/schemas\/VotePollSuccessResponse"}],"description":"Response for voting"},"HasVotedResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"hasVoted":{"type":"boolean"}},"required":["hasVoted"]}]},"PollOptionResults":{"type":"object","properties":{"id":{"type":"integer"},"text":{"type":"string"},"votes":{"type":"integer"},"percentage":{"$ref":"#\/components\/schemas\/float"}},"required":["id","text","votes","percentage"]},"PollScaleStats":{"type":"object","properties":{"average":{"$ref":"#\/components\/schemas\/float"},"min":{"type":"integer"},"max":{"type":"integer"},"total":{"type":"integer"}},"required":["average","min","max","total"]},"PollScaleDistribution":{"type":"object","properties":{"value":{"type":"integer"},"count":{"type":"integer"},"percentage":{"$ref":"#\/components\/schemas\/float"}},"required":["value","count","percentage"]},"PollQuestionResults":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string"},"options":{"type":"array","items":{"$ref":"#\/components\/schemas\/PollOptionResults"}},"stats":{"$ref":"#\/components\/schemas\/PollScaleStats"},"distribution":{"type":"array","items":{"$ref":"#\/components\/schemas\/PollScaleDistribution"}}},"required":["id","title","type"]},"PollResults":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"hideResults":{"type":"boolean"},"hasVoted":{"type":"boolean"},"totalVotes":{"type":"integer"},"questions":{"type":"array","items":{"$ref":"#\/components\/schemas\/PollQuestionResults"}}},"required":["id","title","hideResults","totalVotes","questions"]},"GetPollResultsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"results":{"$ref":"#\/components\/schemas\/PollResults"}},"required":["success"]},"ProfilePreviewBadge":{"type":"object","properties":{"description":{"type":"string"},"image":{"type":"string"}},"required":["image"]},"ProfilePreviewBackground":{"type":"object","properties":{"image":{"type":"string"}},"required":["image"]},"ProfilePreview":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"up":{"type":"integer"},"down":{"type":"integer"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"badges":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfilePreviewBadge"}},"background":{"$ref":"#\/components\/schemas\/ProfilePreviewBackground"}},"required":["name","mark","up","down","created","badges"]},"ProfilePreviewResponse":{"type":"object","properties":{"preview":{"$ref":"#\/components\/schemas\/ProfilePreview"}},"required":["preview"]},"ProfileUser":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/UserId"},"name":{"$ref":"#\/components\/schemas\/UserName"},"isSameTeam":{"type":"boolean"},"registered":{"$ref":"#\/components\/schemas\/Timestamp"},"score":{"$ref":"#\/components\/schemas\/Score"},"up":{"type":"integer"},"down":{"type":"integer"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"banned":{"type":"boolean"},"bannedUntil":{"$ref":"#\/components\/schemas\/Timestamp"},"commentDelete":{"type":"integer"},"itemDelete":{"type":"integer"},"inactive":{"type":"boolean"},"canReceiveMessages":{"type":"boolean"},"avatar":{"type":"string"},"avatarId":{"type":"integer"}},"required":["id","name","isSameTeam","registered","score","up","down","mark","banned","bannedUntil","commentDelete","itemDelete","inactive","canReceiveMessages"]},"ProfileComment":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CommentId"},"up":{"type":"integer"},"down":{"type":"integer"},"content":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"}},"required":["id","up","down","content","created","itemId","thumb"]},"ProfileCommentLike":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CommentId"},"up":{"type":"integer"},"down":{"type":"integer"},"content":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"ccreated":{"$ref":"#\/components\/schemas\/Timestamp"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"userId":{"$ref":"#\/components\/schemas\/UserId"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"name":{"$ref":"#\/components\/schemas\/UserName"}},"required":["id","up","down","content","created","ccreated","itemId","thumb","userId","mark","name"]},"ProfileUpload":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"}},"required":["id","thumb","flags"]},"CollectionCurator":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"accepted":{"$ref":"#\/components\/schemas\/CurationInviteStatus"}},"required":["name","mark","accepted"]},"ProfileCollection":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"isPublic":{"type":"integer"},"isDefault":{"type":"integer"},"itemCount":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileUpload"}},"curators":{"type":"array","items":{"$ref":"#\/components\/schemas\/CollectionCurator"}}},"required":["id","name","keyword","isPublic","isDefault","itemCount","items","curators"]},"CuratorCollection":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"owner":{"$ref":"#\/components\/schemas\/UserName"},"ownerMark":{"$ref":"#\/components\/schemas\/UserMark"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"isPublic":{"type":"integer"},"isDefault":{"type":"integer"},"itemCount":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileUpload"}}},"required":["id","name","owner","ownerMark","keyword","isPublic","isDefault","itemCount","items"]},"ProfileBadge":{"type":"object","properties":{"category":{"type":"string"},"link":{"type":"string"},"image":{"type":"string"},"description":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["link","image","description","created"]},"ProfileBackground":{"type":"object","properties":{"displayName":{"type":"string"},"description":{"type":"string"},"isCommon":{"type":"boolean"},"largeImageUrl":{"type":"string"},"smallImageUrl":{"type":"string"}},"required":["displayName","isCommon","largeImageUrl","smallImageUrl"]},"ProfileInfoResponse":{"type":"object","properties":{"user":{"$ref":"#\/components\/schemas\/ProfileUser"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileComment"}},"commentCount":{"type":"integer"},"comments_likes":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileCommentLike"}},"commentLikesCount":{"type":"integer"},"uploads":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileUpload"}},"uploadCount":{"type":"integer"},"collections":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileCollection"}},"curatorCollections":{"type":"array","items":{"$ref":"#\/components\/schemas\/CuratorCollection"}},"collectedCount":{"type":"integer"},"likesArePublic":{"type":"boolean"},"pr0mium":{"type":"number"},"pr0miumGift":{"type":"number"},"tagCount":{"type":"integer"},"badges":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileBadge"}},"background":{"$ref":"#\/components\/schemas\/ProfileBackground"},"followCount":{"type":"number"},"following":{"type":"boolean"},"subscribed":{"type":"boolean"},"blocked":{"type":"boolean"}},"required":["user","comments","commentCount","comments_likes","commentLikesCount","uploads","uploadCount","collections","curatorCollections","collectedCount","likesArePublic","pr0mium","pr0miumGift","tagCount","badges","followCount","following","subscribed","blocked"]},"ProfileFollowBodyParams":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"}},"required":["name"]},"ProfileFollowResponse":{"type":"object","properties":{"follows":{"type":"boolean"}},"required":["follows"]},"ProfileUnfollowBodyParams":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"}},"required":["name"]},"ProfileUnfollowResponse":{"type":"object","properties":{"follows":{"type":"boolean"}},"required":["follows"]},"ProfileSubscribeBodyParams":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"}},"required":["name"]},"ProfileSubscribeResponse":{"type":"object","properties":{"subscribed":{"type":"boolean"}},"required":["subscribed"]},"ProfileUnsubscribeBodyParams":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"keepFollow":{"type":"boolean"}},"required":["name","keepFollow"]},"ProfileUnsubscribeResponse":{"type":"object","properties":{"subscribed":{"type":"boolean"},"follows":{"type":"boolean"}},"required":["subscribed"]},"FollowStatus":{"enum":["none","follow","subscribe"]},"ProfileSetfollowstatusBodyParams":{"type":"object","properties":{"userId":{"$ref":"#\/components\/schemas\/UserId"},"status":{"$ref":"#\/components\/schemas\/FollowStatus"}},"required":["userId","status"]},"SetFollowStatusSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"status":{"$ref":"#\/components\/schemas\/FollowStatus"}},"required":["status"]}]},"SetFollowStatusProfileResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"$ref":"#\/components\/schemas\/SetFollowStatusSuccessResponse"}]},"ProfileSettagfollowstatusBodyParams":{"type":"object","properties":{"tag":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/FollowStatus"}},"required":["tag","status"]},"SetTagFollowStatusSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"status":{"$ref":"#\/components\/schemas\/FollowStatus"}},"required":["status"]}]},"SetTagFollowStatusProfileResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"$ref":"#\/components\/schemas\/SetTagFollowStatusSuccessResponse"}]},"ProfileBlockBodyParams":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"}},"required":["name"]},"ProfileBlockResponse":{"type":"object","properties":{"blocked":{"type":"boolean"}},"required":["blocked"]},"ProfileUnblockBodyParams":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"}},"required":["name"]},"ProfileUnblockResponse":{"type":"object","properties":{"blocked":{"type":"boolean"}},"required":["blocked"]},"ProfileBlocktagBodyParams":{"type":"object","properties":{"tag":{"type":"string"}},"required":["tag"]},"ProfileBlocktagResponse":{"type":"object","properties":{"blocked":{"type":"boolean"}},"required":["blocked"]},"ProfileUnblocktagBodyParams":{"type":"object","properties":{"tag":{"type":"string"}},"required":["tag"]},"ProfileUnblocktagResponse":{"type":"object","properties":{"blocked":{"type":"boolean"}},"required":["blocked"]},"ProfileCommentDetails":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CommentId"},"up":{"type":"integer"},"down":{"type":"integer"},"content":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"preview":{"type":"string"}},"required":["id","up","down","content","created","itemId","thumb"]},"ProfileCommentUser":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/UserId"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["id","name","mark"]},"ProfileCommentsResponse":{"type":"object","properties":{"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileCommentDetails"}},"hasOlder":{"type":"boolean"},"hasNewer":{"type":"boolean"},"user":{"$ref":"#\/components\/schemas\/ProfileCommentUser"}},"required":["comments","hasOlder","hasNewer","user"]},"ProfileCommentlikesResponse":{"type":"object","properties":{"likesArePublic":{"type":"boolean"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProfileCommentLike"}},"hasOlder":{"type":"boolean"},"hasNewer":{"type":"boolean"},"user":{"$ref":"#\/components\/schemas\/ProfileCommentUser"}},"required":["likesArePublic","comments","hasOlder","hasNewer","user"]},"UserSuggestion":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["name","mark"]},"ProfileSuggestResponse":{"type":"object","properties":{"users":{"type":"array","items":{"type":"string"}},"suggestions":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserSuggestion"}}},"required":["users","suggestions"]},"PromoBanner":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"text":{"type":"string"},"linkUrl":{"type":"string"},"linkText":{"type":"string"},"imageUrl":{"type":"string"},"showLegacyFrontend":{"type":"boolean"},"showModernFrontend":{"type":"boolean"},"showMobile":{"type":"boolean"},"showDesktop":{"type":"boolean"},"audience":{"type":"string"},"priority":{"type":"integer"}},"required":["id","title","text","showLegacyFrontend","showModernFrontend","showMobile","showDesktop","audience","priority"]},"GetActivePromoBannersResponse":{"type":"object","properties":{"banners":{"type":"array","items":{"$ref":"#\/components\/schemas\/PromoBanner"}}},"required":["banners"]},"WebPushSubscription":{"type":"object","properties":{"endpoint":{"type":"string"},"expirationTime":{"type":"string"},"keys":{"$ref":"#\/components\/schemas\/any"}},"required":["endpoint","keys"]},"PushSubscribeBodyParams":{"type":"object","properties":{"subscription":{"$ref":"#\/components\/schemas\/WebPushSubscription"}},"required":["subscription"]},"PushSubscribeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"subscription":{"$ref":"#\/components\/schemas\/WebPushSubscription"}},"required":["success","subscription"]},"WebPushSubscriptionEndpoint":{"type":"object","properties":{"endpoint":{"type":"string"}},"required":["endpoint"]},"PushUnsubscribeBodyParams":{"type":"object","properties":{"subscription":{"$ref":"#\/components\/schemas\/WebPushSubscriptionEndpoint"}},"required":["subscription"]},"PushUnsubscribeResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"SeenVersionResponse":{"type":"object","properties":{"identifier":{"$ref":"#\/components\/schemas\/UserIdentifier"},"version":{"type":"integer"}},"required":["identifier"]},"SeenBitsResponse":{"type":"object","properties":{"identifier":{"$ref":"#\/components\/schemas\/UserIdentifier"},"version":{"type":"integer"},"value":{"$ref":"#\/components\/schemas\/BinaryString"}},"required":["identifier","version","value"]},"SeenUpdateResponse":{"type":"object","properties":{"success":{"type":"boolean"},"version":{"type":"integer"}},"required":["success","version"]},"SeenEditResponse":{"type":"object","properties":{"success":{"type":"boolean"},"version":{"type":"integer"},"error":{"type":"string"}},"required":["success"]},"StatsUserInfo":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["name","mark"]},"ScoreDataPoint":{"type":"object","properties":{"created":{"$ref":"#\/components\/schemas\/Timestamp"},"score":{"$ref":"#\/components\/schemas\/Score"}},"required":["created","score"]},"FavCountStats":{"type":"object","properties":{"comments":{"type":"integer"},"items":{"type":"integer"}},"required":["comments","items"]},"FollowerStats":{"type":"object","properties":{"count":{"type":"integer"},"subscribed":{"type":"integer"}},"required":["count","subscribed"]},"MessageStats":{"type":"object","properties":{"received":{"type":"integer"},"send":{"type":"integer"},"conversations":{"type":"integer"}},"required":["received","send","conversations"]},"BlockStats":{"type":"object","properties":{"blockedUsers":{"type":"integer"},"blockedTags":{"type":"integer"},"blockedByUsers":{"type":"integer"}},"required":["blockedUsers","blockedTags","blockedByUsers"]},"ScoreStats":{"type":"object","properties":{"items":{"$ref":"#\/components\/schemas\/Score"},"comments":{"$ref":"#\/components\/schemas\/Score"},"tags":{"$ref":"#\/components\/schemas\/Score"}},"required":["items","comments","tags"]},"AbsScoreStats":{"type":"object","properties":{"items":{"$ref":"#\/components\/schemas\/Score"},"comments":{"$ref":"#\/components\/schemas\/Score"},"tags":{"$ref":"#\/components\/schemas\/Score"}},"required":["items","comments","tags"]},"ScoredItemStats":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ItemId"},"up":{"$ref":"#\/components\/schemas\/Score"},"down":{"$ref":"#\/components\/schemas\/Score"},"votes":{"$ref":"#\/components\/schemas\/Score"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["id","up","down","votes","thumb","preview","flags","created"]},"ScoredCommentStats":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/CommentId"},"content":{"type":"string"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"up":{"$ref":"#\/components\/schemas\/Score"},"down":{"$ref":"#\/components\/schemas\/Score"},"votes":{"$ref":"#\/components\/schemas\/Score"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"commentCreated":{"$ref":"#\/components\/schemas\/Timestamp"},"itemCreated":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["id","content","itemId","up","down","votes","thumb","preview","flags","commentCreated","itemCreated"]},"ScoredTagStats":{"type":"object","properties":{"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"up":{"$ref":"#\/components\/schemas\/Score"},"down":{"$ref":"#\/components\/schemas\/Score"},"votes":{"$ref":"#\/components\/schemas\/Score"},"thumb":{"type":"string"},"preview":{"type":"string"},"tag":{"$ref":"#\/components\/schemas\/Tag"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["itemId","up","down","votes","thumb","preview","tag","flags","created"]},"CollectedItemStats":{"type":"object","properties":{"count":{"type":"integer"},"id":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"up":{"$ref":"#\/components\/schemas\/Score"},"down":{"$ref":"#\/components\/schemas\/Score"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["count","id","thumb","preview","flags","up","down","created"]},"FavedCommentStats":{"type":"object","properties":{"count":{"type":"integer"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"id":{"$ref":"#\/components\/schemas\/CommentId"},"up":{"$ref":"#\/components\/schemas\/Score"},"down":{"$ref":"#\/components\/schemas\/Score"},"content":{"type":"string"},"thumb":{"type":"string"},"preview":{"type":"string"},"flags":{"$ref":"#\/components\/schemas\/ItemFlags"},"commentCreated":{"$ref":"#\/components\/schemas\/Timestamp"},"itemCreated":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["count","itemId","id","up","down","content","thumb","preview","flags","commentCreated","itemCreated"]},"StatsUserResponse":{"type":"object","properties":{"user":{"$ref":"#\/components\/schemas\/StatsUserInfo"},"scoreHistory":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScoreDataPoint"}},"favCount":{"$ref":"#\/components\/schemas\/FavCountStats"},"followers":{"$ref":"#\/components\/schemas\/FollowerStats"},"messages":{"$ref":"#\/components\/schemas\/MessageStats"},"blocks":{"$ref":"#\/components\/schemas\/BlockStats"},"score":{"$ref":"#\/components\/schemas\/ScoreStats"},"absScore":{"$ref":"#\/components\/schemas\/AbsScoreStats"},"bannedDays":{"type":"number"},"topScoredItems":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScoredItemStats"}},"lowestScoredItems":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScoredItemStats"}},"topScoredComments":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScoredCommentStats"}},"lowestScoredComments":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScoredCommentStats"}},"topScoredTags":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScoredTagStats"}},"lowestScoredTags":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScoredTagStats"}},"topCollectedItems":{"type":"array","items":{"$ref":"#\/components\/schemas\/CollectedItemStats"}},"topFavedComments":{"type":"array","items":{"$ref":"#\/components\/schemas\/FavedCommentStats"}}},"required":["user","scoreHistory","favCount","followers","messages","blocks","score","absScore","bannedDays","topScoredItems","lowestScoredItems","topScoredComments","lowestScoredComments","topScoredTags","lowestScoredTags","topCollectedItems","topFavedComments"]},"StatsScorehistoryResponse":{"type":"object","properties":{"history":{"type":"array","items":{"$ref":"#\/components\/schemas\/ScoreDataPoint"}},"currentScore":{"$ref":"#\/components\/schemas\/Score"}},"required":["history","currentScore"]},"StickerOrder":{"enum":["recent","own",""]},"Sticker":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"filename":{"type":"string"},"mimetype":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"}},"isOwn":{"type":"boolean"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["id","name","filename","mimetype","tags","isOwn","created"]},"StickersListResponse":{"type":"object","properties":{"stickers":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sticker"}},"atEnd":{"type":"boolean"}},"required":["stickers","atEnd"]},"StickersSearchResponse":{"type":"object","properties":{"stickers":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sticker"}},"atEnd":{"type":"boolean"}},"required":["stickers","atEnd"]},"StickersBytagResponse":{"type":"object","properties":{"stickers":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sticker"}},"atEnd":{"type":"boolean"}},"required":["stickers","atEnd"]},"StickersUploadBodyParams":{"type":"object","properties":{"name":{"type":"string"},"tags":{"type":"string"},"private":{"type":"boolean"},"image":{"$ref":"#\/components\/schemas\/File"}},"required":["name","image"]},"StickersUploadResponse":{"type":"object","properties":{"id":{"type":"integer"},"filename":{"type":"string"}},"required":["id","filename"]},"StickersDeleteBodyParams":{"type":"object","properties":{"id":{"type":"integer"}},"required":["id"]},"StickersDeleteResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"ContentSubscription":{"type":"object","properties":{"enabled":{"type":"boolean"},"notify_pm":{"type":"boolean"},"notify_email":{"type":"boolean"}},"required":["enabled","notify_pm","notify_email"]},"GetContentSubscriptionResponse":{"type":"object","properties":{"success":{"type":"boolean"},"subscription":{"$ref":"#\/components\/schemas\/ContentSubscription"}},"required":["success"]},"SubscriptionsUpdatesubscriptionBodyParams":{"type":"object","properties":{"type":{"type":"string"},"enabled":{"type":"boolean"},"notify_pm":{"type":"boolean"},"notify_email":{"type":"boolean"}},"required":["type","enabled"]},"UpdateContentSubscriptionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"const":"updateFailed","description":"Update failed"}},"required":["error"]}]},"UpdateContentSubscriptionResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/UpdateContentSubscriptionErrorResponse"},{"$ref":"#\/components\/schemas\/SuccessResponse"}]},"TagsAddBodyParams":{"type":"object","properties":{"tags":{"$ref":"#\/components\/schemas\/CommaSeparatedTags"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"}},"required":["tags","itemId"]},"AddTagEntry":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/TagId"},"confidence":{"$ref":"#\/components\/schemas\/Confidence"},"tag":{"$ref":"#\/components\/schemas\/Tag"}},"required":["id","confidence","tag"]},"TagsAddResponse":{"type":"object","properties":{"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/AddTagEntry"}},"tagIds":{"type":"array","items":{"$ref":"#\/components\/schemas\/TagId"}}},"required":["tags","tagIds"]},"TagVote":{"enum":[-1,0,1]},"TagsVoteBodyParams":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/TagId"},"vote":{"$ref":"#\/components\/schemas\/TagVote"}},"required":["id","vote"]},"LatestTagEntry":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/TagId"},"up":{"type":"integer"},"down":{"type":"integer"},"confidence":{"$ref":"#\/components\/schemas\/Confidence"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"tag":{"$ref":"#\/components\/schemas\/Tag"}},"required":["id","up","down","confidence","itemId","tag"]},"TagsLatestResponse":{"type":"object","properties":{"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/LatestTagEntry"}}},"required":["tags"]},"TagsTopResponse":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"}},"trending":{"type":"array","items":{"type":"string"}},"blacklist":{"type":"array","items":{"type":"string"}}},"required":["tags","trending","blacklist"]},"TagChronicle":{"type":"object","properties":{"*":{"type":"array","items":{"type":"string"}}},"required":["*"]},"TagsChronicleResponse":{"type":"object","properties":{"chronicle":{"$ref":"#\/components\/schemas\/TagChronicle"},"hasMore":{"type":"boolean"}},"required":["chronicle","hasMore"]},"TagVariant":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"integer"}},"required":["name","count"]},"TagData":{"type":"object","properties":{"variants":{"type":"array","items":{"$ref":"#\/components\/schemas\/TagVariant"}},"total":{"type":"integer"}},"required":["variants","total"]},"ChronicleSearchResult":{"type":"object","properties":{"tag":{"type":"string"},"year":{"type":"integer"},"date":{"type":"string"},"count":{"type":"integer"},"tagData":{"$ref":"#\/components\/schemas\/TagData"}},"required":["tag","year","date","count","tagData"]},"TagsSearchchronicleResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#\/components\/schemas\/ChronicleSearchResult"}}},"required":["results"]},"TextpostTldrBodyParams":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"]},"TextpostTldrResponse":{"type":"object","properties":{"success":{"type":"boolean"},"tldr":{"type":"string"}},"required":["success","tldr"]},"UserSelfbanBodyParams":{"type":"object","properties":{"currentPassword":{"$ref":"#\/components\/schemas\/Password"},"days":{"type":"number"}},"required":["currentPassword","days"]},"SelfBanError":{"enum":["passwordInvalid"]},"UserSelfBanErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/SelfBanError"}},"required":["error"]}]},"UserSelfBanResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/UserSelfBanErrorResponse"}]},"UserSelfexclusionBodyParams":{"type":"object","properties":{"currentPassword":{"$ref":"#\/components\/schemas\/Password"},"days":{"type":"number"},"flag":{"$ref":"#\/components\/schemas\/ItemFlags"}},"required":["currentPassword","days","flag"]},"SelfExclusionError":{"enum":["passwordInvalid"]},"UserSelfExclusionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/SelfExclusionError"}},"required":["error"]}]},"UserSelfExclusionResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/UserSelfExclusionErrorResponse"}]},"UserIdentifierResponse":{"type":"object","properties":{"identifier":{"type":"string"}},"required":["identifier"]},"UserScoreResponse":{"type":"object","properties":{"score":{"$ref":"#\/components\/schemas\/Score"}},"required":["score"]},"InboxCount":{"type":"object","properties":{"comments":{"type":"integer"},"mentions":{"type":"integer"},"messages":{"type":"integer"},"notifications":{"type":"integer"},"follows":{"type":"integer"},"digests":{"type":"integer"}},"required":["comments","mentions","messages","notifications","follows","digests"]},"SyncSiteSettings":{"type":"object","properties":{"themeId":{"$ref":"#\/components\/schemas\/ThemeId"},"layoutMode":{"$ref":"#\/components\/schemas\/LayoutMode"},"arrowKeyMode":{"$ref":"#\/components\/schemas\/ArrowKeyMode"},"contentMaxWidth":{"$ref":"#\/components\/schemas\/ContentMaxWidth"},"itemLayoutMode":{"$ref":"#\/components\/schemas\/ItemLayoutMode"},"blockedCommentMode":{"$ref":"#\/components\/schemas\/BlockedCommentMode"},"showAds":{"type":"boolean"},"favUpvote":{"type":"boolean"},"legacyPath":{"type":"boolean"},"enableItemHistory":{"type":"boolean"},"markSeenItems":{"type":"boolean"},"showSeenNav":{"type":"boolean"},"showVideoPreview":{"type":"boolean"},"enableVoteToggle":{"type":"boolean"},"enableDailyDigest":{"type":"boolean"},"enableWeeklyDigest":{"type":"boolean"},"junkSeparation":{"type":"boolean"},"collapseLongComments":{"type":"boolean"},"hideDownvotedComments":{"type":"boolean"},"autoCollapseDeepComments":{"type":"boolean"},"sfwResetEnabled":{"type":"boolean"},"defaultToNew":{"type":"boolean"},"colorCommentIndentationLines":{"type":"boolean"},"showBookmarkBar":{"type":"boolean"},"showBlockActions":{"type":"boolean"},"showAvatars":{"type":"boolean"}},"required":["themeId","layoutMode","arrowKeyMode","contentMaxWidth","itemLayoutMode","blockedCommentMode","showAds","favUpvote","legacyPath","enableItemHistory","markSeenItems","showSeenNav","showVideoPreview","enableVoteToggle","enableDailyDigest","enableWeeklyDigest","junkSeparation","collapseLongComments","hideDownvotedComments","autoCollapseDeepComments","sfwResetEnabled","defaultToNew","colorCommentIndentationLines","showBookmarkBar","showBlockActions","showAvatars"]},"UserSyncResponse":{"type":"object","properties":{"log":{"$ref":"#\/components\/schemas\/SyncLog"},"logLength":{"type":"integer"},"score":{"$ref":"#\/components\/schemas\/Score"},"hasMore":{"type":"boolean"},"nextOffset":{"type":"integer"},"inbox":{"$ref":"#\/components\/schemas\/InboxCount"},"settings":{"$ref":"#\/components\/schemas\/SyncSiteSettings"}},"required":["log","logLength","score","inbox","settings"]},"UserLoginBodyParams":{"type":"object","properties":{"name":{"type":"string"},"password":{"type":"string"},"token":{"type":"string"},"captcha":{"type":"string"}},"required":["name","password","token","captcha"]},"SuccessUserLoginResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"ban":{"type":"null"},"info":{"type":"null"},"identifier":{"$ref":"#\/components\/schemas\/UserIdentifier"}},"required":["ban","info","identifier"]}]},"LogInBanInfo":{"type":"object","properties":{"banned":{"type":"boolean"},"till":{"$ref":"#\/components\/schemas\/Timestamp"},"reason":{"type":"string"}},"required":["banned","till"]},"LogInUserInfo":{"type":"object","properties":{"valid":{"type":"boolean"},"name":{"type":"string"},"mail":{"$ref":"#\/components\/schemas\/EMail"},"id":{"$ref":"#\/components\/schemas\/UserId"}},"required":["valid","name","mail","id"],"description":"Information about the user that tried to log in. Is returned if the user did not verify their E-Mail address yet."},"LoginErrorReason":{"enum":["invalidCaptcha","invalidLogin","passwordReset"]},"FailedUserLoginResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"ban":{"$ref":"#\/components\/schemas\/LogInBanInfo"},"info":{"$ref":"#\/components\/schemas\/LogInUserInfo"},"error":{"$ref":"#\/components\/schemas\/LoginErrorReason"}},"required":["error"]}]},"UserLoginResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/SuccessUserLoginResponse"},{"$ref":"#\/components\/schemas\/FailedUserLoginResponse"}]},"UserLogoutBodyParams":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/SessionId"}},"required":["id"]},"UserLogoutResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"UserLoadinviteResponse":{"type":"object","properties":{"error":{"type":"string"},"email":{"$ref":"#\/components\/schemas\/EMail"}},"required":["email"]},"UserValidateBodyParams":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"UserValidateResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"ExcludedFlagDeclaration":{"type":"object","properties":{"flag":{"$ref":"#\/components\/schemas\/ItemFlags"},"validUntil":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["flag","validUntil"]},"UserGetexcludedflagsResponse":{"type":"object","properties":{"excludedFlags":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExcludedFlagDeclaration"}}},"required":["excludedFlags"]},"FollowUser":{"type":"object","properties":{"subscribed":{"type":"boolean"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"followCreated":{"$ref":"#\/components\/schemas\/Timestamp"},"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"thumb":{"type":"string"},"preview":{"type":"string"},"lastPost":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["subscribed","name","mark","followCreated","itemId","thumb","lastPost"]},"UserFollowlistResponse":{"type":"object","properties":{"list":{"type":"array","items":{"$ref":"#\/components\/schemas\/FollowUser"}}},"required":["list"]},"TagFollow":{"type":"object","properties":{"tag":{"type":"string"},"subscribed":{"type":"boolean"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["tag","subscribed","created"]},"UserTagfollowlistResponse":{"type":"object","properties":{"list":{"type":"array","items":{"$ref":"#\/components\/schemas\/TagFollow"}}},"required":["list"]},"BlockedUser":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["name","mark"]},"UserBlocklistResponse":{"type":"object","properties":{"blockedUsers":{"type":"array","items":{"$ref":"#\/components\/schemas\/BlockedUser"}}},"required":["blockedUsers"]},"BlockedTag":{"type":"object","properties":{"tag":{"type":"string"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["tag","created"]},"UserBlockedtagsResponse":{"type":"object","properties":{"blockedTags":{"type":"array","items":{"$ref":"#\/components\/schemas\/BlockedTag"}}},"required":["blockedTags"]},"UserSendpasswordresetmailBodyParams":{"type":"object","properties":{"email":{"$ref":"#\/components\/schemas\/EMail"}},"required":["email"]},"UserSendpasswordresetmailResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"UserResetpasswordBodyParams":{"type":"object","properties":{"token":{"$ref":"#\/components\/schemas\/SessionId"},"name":{"$ref":"#\/components\/schemas\/UserName"},"password":{"type":"string"}},"required":["token","name","password"]},"UserResetpasswordResponse":{"type":"object","properties":{"error":{"type":"string"}}},"UserAgeverifiedResponse":{"type":"object","properties":{"verified":{"type":"boolean"},"pendingVerification":{"type":"boolean"}},"required":["verified","pendingVerification"]},"AccountInfo":{"type":"object","properties":{"likesArePublic":{"type":"boolean"},"deviceMail":{"type":"boolean"},"email":{"$ref":"#\/components\/schemas\/EMail"},"invites":{"type":"integer"},"isInvited":{"type":"boolean"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"markDefault":{"$ref":"#\/components\/schemas\/UserMark"},"paidUntil":{"$ref":"#\/components\/schemas\/Timestamp"},"hasBetaAccess":{"type":"boolean"},"emailVerificationPending":{"type":"boolean"}},"required":["likesArePublic","deviceMail","email","invites","isInvited","mark","markDefault","paidUntil","hasBetaAccess","emailVerificationPending"]},"InvitedUser":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/UserId"},"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"email":{"$ref":"#\/components\/schemas\/EMail"},"created":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["id","name","mark","email","created"]},"CurationInviteStatus":{"enum":[-1,0,1]},"CuratorCollectionSetting":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"owner":{"$ref":"#\/components\/schemas\/UserName"},"ownerMark":{"$ref":"#\/components\/schemas\/UserMark"},"keyword":{"$ref":"#\/components\/schemas\/Slug"},"accepted":{"$ref":"#\/components\/schemas\/CurationInviteStatus"}},"required":["id","name","owner","ownerMark","keyword","accepted"]},"AuthorizedAppScope":{"type":"object","properties":{"scope":{"type":"string"},"description":{"type":"string"}},"required":["scope","description"]},"AppOwnerData":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"mark":{"$ref":"#\/components\/schemas\/UserMark"}},"required":["name","mark"]},"AuthorizedApp":{"type":"object","properties":{"name":{"type":"string"},"url":{"$ref":"#\/components\/schemas\/Url"},"logo":{"type":"string"},"clientId":{"type":"string"},"description":{"type":"string"},"scopes":{"type":"array","items":{"$ref":"#\/components\/schemas\/AuthorizedAppScope"}},"owner":{"$ref":"#\/components\/schemas\/AppOwnerData"}},"required":["name","url","logo","clientId","description","scopes","owner"]},"PromotedApp":{"type":"object","properties":{"name":{"type":"string"},"url":{"$ref":"#\/components\/schemas\/Url"},"logo":{"type":"string"},"description":{"type":"string"},"owner":{"$ref":"#\/components\/schemas\/AppOwnerData"}},"required":["name","url","logo","description","owner"]},"DigestSettings":{"type":"object","properties":{"daily":{"type":"boolean"},"weekly":{"type":"boolean"}},"required":["daily","weekly"]},"AvailableProfileBackgroundSetting":{"type":"object","properties":{"id":{"type":"integer"},"displayName":{"type":"string"},"description":{"type":"string"},"isCommon":{"type":"boolean"},"smallImageUrl":{"type":"string"}},"required":["id","displayName","description","isCommon","smallImageUrl"]},"ProfileBackgroundSetting":{"type":"object","properties":{"current":{"type":"integer"},"available":{"type":"array","items":{"$ref":"#\/components\/schemas\/AvailableProfileBackgroundSetting"}}},"required":["available"]},"InviteEligibleAge":{"enum":[0,1]},"UserInfoInvite":{"type":"object","properties":{"currentInvites":{"type":"integer"},"invitesForbidden":{"type":"boolean"},"comments":{"type":"integer"},"uploads":{"type":"integer"},"comments180":{"type":"integer"},"uploads180":{"type":"integer"},"votes":{"type":"integer"},"age":{"$ref":"#\/components\/schemas\/InviteEligibleAge"}},"required":["currentInvites","invitesForbidden","comments","uploads","comments180","uploads180","votes","age"]},"CurrentAndMaxRequirement":{"type":"object","properties":{"current":{"type":"integer"},"max":{"type":"integer"}},"required":["current","max"]},"CurrentAndRequiredRequirement":{"type":"object","properties":{"current":{"type":"integer"},"required":{"type":"integer"}},"required":["current","required"]},"UserInfoInviteEligible":{"type":"object","properties":{"canInvite":{"type":"boolean"},"currentInvites":{"$ref":"#\/components\/schemas\/CurrentAndMaxRequirement"},"totalComments":{"$ref":"#\/components\/schemas\/CurrentAndRequiredRequirement"},"totalUploads":{"$ref":"#\/components\/schemas\/CurrentAndRequiredRequirement"},"commentsWindow180":{"$ref":"#\/components\/schemas\/CurrentAndRequiredRequirement"},"uploadsWindow180":{"$ref":"#\/components\/schemas\/CurrentAndRequiredRequirement"},"score":{"$ref":"#\/components\/schemas\/CurrentAndRequiredRequirement"},"ageDays":{"$ref":"#\/components\/schemas\/CurrentAndRequiredRequirement"},"nextRoundDate":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["canInvite","currentInvites","totalComments","totalUploads","commentsWindow180","uploadsWindow180","score","ageDays","nextRoundDate"]},"UserInfoResponse":{"type":"object","properties":{"account":{"$ref":"#\/components\/schemas\/AccountInfo"},"invited":{"type":"array","items":{"$ref":"#\/components\/schemas\/InvitedUser"}},"invitesDetached":{"type":"integer"},"invitesRemaining":{"type":"integer"},"payments":{"type":"integer"},"subscriptions":{"type":"array","items":{"$ref":"#\/components\/schemas\/TODO"}},"curatorCollections":{"type":"array","items":{"$ref":"#\/components\/schemas\/CuratorCollectionSetting"}},"authorizedApps":{"type":"array","items":{"$ref":"#\/components\/schemas\/AuthorizedApp"}},"promotedApps":{"type":"array","items":{"$ref":"#\/components\/schemas\/PromotedApp"}},"digests":{"$ref":"#\/components\/schemas\/DigestSettings"},"enableEmailNotifications":{"type":"boolean"},"backgrounds":{"$ref":"#\/components\/schemas\/ProfileBackgroundSetting"},"canChangeName":{"type":"boolean"},"nameLastChanged":{"$ref":"#\/components\/schemas\/Timestamp"},"inviteEligible":{"$ref":"#\/components\/schemas\/UserInfoInvite"},"inviteEligibilityData":{"$ref":"#\/components\/schemas\/UserInfoInviteEligible"}},"required":["account","invited","invitesDetached","invitesRemaining","payments","subscriptions","curatorCollections","authorizedApps","promotedApps","digests","enableEmailNotifications","backgrounds","canChangeName","nameLastChanged","inviteEligible","inviteEligibilityData"]},"UserChangepasswordBodyParams":{"type":"object","properties":{"password":{"type":"string"},"currentPassword":{"$ref":"#\/components\/schemas\/Password"}},"required":["password","currentPassword"]},"ChangePasswordError":{"enum":["passwordInvalid","passwordTooShort","passwordInKnownBreach"]},"UserChangePasswordErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/ChangePasswordError"}},"required":["error"]}]},"UserChangePasswordSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/UserInfoResponse"}]},"UserChangePasswordResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/UserChangePasswordErrorResponse"},{"$ref":"#\/components\/schemas\/UserChangePasswordSuccessResponse"}]},"UserChangesecurityBodyParams":{"type":"object","properties":{"deviceMail":{"type":"boolean"}},"required":["deviceMail"]},"UserChangesecurityResponse":{"allOf":[{"$ref":"#\/components\/schemas\/UserInfoResponse"},{"type":"object","properties":{"error":{"type":"string"}}}]},"UserConfirmemailBodyParams":{"type":"object","properties":[]},"UserSendemailverificationBodyParams":{"type":"object","properties":[]},"SendEmailVerificationResponse":{"type":"object","properties":{"success":{"type":"boolean"},"mailSent":{"type":"boolean"}},"required":["success","mailSent"]},"UserConfirmemailtokenBodyParams":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"UserRequestemailchangeBodyParams":{"type":"object","properties":{"currentPassword":{"$ref":"#\/components\/schemas\/Password"},"email":{"$ref":"#\/components\/schemas\/EMail"}},"required":["currentPassword","email"]},"UserRequestEmailChangeSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/UserInfoResponse"}]},"ChangeEmailError":{"enum":["passwordInvalid","emailInvalid","emailInUse"]},"UserRequestEmailChangeErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/ChangeEmailError"}},"required":["error"]}]},"UserRequestEmailChangeResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/UserRequestEmailChangeSuccessResponse"},{"$ref":"#\/components\/schemas\/UserRequestEmailChangeErrorResponse"}]},"UserChangeemailBodyParams":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"UserChangeemailResponse":{"allOf":[{"$ref":"#\/components\/schemas\/UserInfoResponse"},{"type":"object","properties":{"error":{"type":"string"}}}]},"UserChangenameBodyParams":{"type":"object","properties":{"currentPassword":{"$ref":"#\/components\/schemas\/Password"},"username":{"$ref":"#\/components\/schemas\/UserName"}},"required":["currentPassword","username"]},"ChangeNameError":{"enum":["passwordInvalid","nameInvalid","nameInUse"]},"UserChangeNameErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/ChangeNameError"}},"required":["error"]}]},"UserChangeNameTooSoonErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"const":"nameRecentlyChanged"},"nameLastChanged":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["error","nameLastChanged"]}]},"UserChangeNameSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"type":"object","properties":{"newUserName":{"$ref":"#\/components\/schemas\/UserName"}},"required":["newUserName"]}]},"UserChangeNameResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/UserChangeNameErrorResponse"},{"$ref":"#\/components\/schemas\/UserChangeNameTooSoonErrorResponse"},{"$ref":"#\/components\/schemas\/UserChangeNameSuccessResponse"}]},"UserInviteBodyParams":{"type":"object","properties":{"email":{"$ref":"#\/components\/schemas\/EMail"}},"required":["email"]},"SendInviteError":{"enum":["noInvites","emailInvalid","emailInUse"]},"UserInviteErrorResponse":{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/SendInviteError"}},"required":["error"]},"UserInviteResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/UserInfoResponse"},{"$ref":"#\/components\/schemas\/UserInviteErrorResponse"}]},"UserDetachinviteBodyParams":{"type":"object","properties":{"userId":{"$ref":"#\/components\/schemas\/UserId"}},"required":["userId"]},"UserDetachInviteError":{"enum":["recentlyCreated","notEnoughPaidMonth","inviteNotFound"]},"UserDetachInviteErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/UserDetachInviteError"}},"required":["error"]}]},"UserDetachInviteSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/UserInfoResponse"}]},"UserDetachInviteResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/UserDetachInviteErrorResponse"},{"$ref":"#\/components\/schemas\/UserDetachInviteSuccessResponse"}]},"UserDetachselfBodyParams":{"type":"object","properties":[]},"UserDetachSelfError":{"enum":["recentlyCreated","notEnoughPaidMonth","inviteNotFound"]},"UserDetachSelfErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/UserDetachSelfError"}},"required":["error"]}]},"UserDetachSelfSuccessResponse":{"allOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/UserInfoResponse"}]},"UserDetachSelfResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/UserDetachSelfErrorResponse"},{"$ref":"#\/components\/schemas\/UserDetachSelfSuccessResponse"}]},"UserMarkSelection":{"enum":["default","paid"]},"UserSitesettingBodyParams":{"type":"object","properties":{"themeId":{"$ref":"#\/components\/schemas\/ThemeId"},"layoutMode":{"$ref":"#\/components\/schemas\/LayoutMode"},"arrowKeyMode":{"$ref":"#\/components\/schemas\/ArrowKeyMode"},"contentMaxWidth":{"$ref":"#\/components\/schemas\/ContentMaxWidth"},"itemLayoutMode":{"$ref":"#\/components\/schemas\/ItemLayoutMode"},"blockedCommentMode":{"$ref":"#\/components\/schemas\/BlockedCommentMode"},"favUpvote":{"$ref":"#\/components\/schemas\/NumberBoolean"},"likesArePublic":{"$ref":"#\/components\/schemas\/NumberBoolean"},"legacyPath":{"$ref":"#\/components\/schemas\/NumberBoolean"},"enableItemHistory":{"$ref":"#\/components\/schemas\/NumberBoolean"},"markSeenItems":{"$ref":"#\/components\/schemas\/NumberBoolean"},"showSeenNav":{"$ref":"#\/components\/schemas\/NumberBoolean"},"colorCommentIndentationLines":{"$ref":"#\/components\/schemas\/NumberBoolean"},"showBookmarkBar":{"$ref":"#\/components\/schemas\/NumberBoolean"},"showBlockActions":{"$ref":"#\/components\/schemas\/NumberBoolean"},"showAvatars":{"$ref":"#\/components\/schemas\/NumberBoolean"},"showVideoPreview":{"$ref":"#\/components\/schemas\/NumberBoolean"},"enableVoteToggle":{"$ref":"#\/components\/schemas\/NumberBoolean"},"enableDailyDigest":{"$ref":"#\/components\/schemas\/NumberBoolean"},"enableWeeklyDigest":{"$ref":"#\/components\/schemas\/NumberBoolean"},"enableEmailNotifications":{"$ref":"#\/components\/schemas\/NumberBoolean"},"profileBackgroundId":{"type":"integer"},"junkSeparation":{"$ref":"#\/components\/schemas\/NumberBoolean"},"collapseLongComments":{"$ref":"#\/components\/schemas\/NumberBoolean"},"hideDownvotedComments":{"$ref":"#\/components\/schemas\/NumberBoolean"},"autoCollapseDeepComments":{"$ref":"#\/components\/schemas\/NumberBoolean"},"sfwResetEnabled":{"$ref":"#\/components\/schemas\/NumberBoolean"},"defaultToNew":{"$ref":"#\/components\/schemas\/NumberBoolean"},"userStatus":{"$ref":"#\/components\/schemas\/UserMarkSelection"}}},"BooleanSiteSetting":{"enum":["favUpvote","likesArePublic","legacyPath","enableItemHistory","markSeenItems","showSeenNav","showVideoPreview","enableVoteToggle","enableDailyDigest","enableWeeklyDigest","enableEmailNotifications","junkSeparation","collapseLongComments","hideDownvotedComments","autoCollapseDeepComments","sfwResetEnabled","defaultToNew","colorCommentIndentationLines","showBookmarkBar","showBlockActions","showAvatars"]},"IntegerSiteSetting":{"enum":["themeId","profileBackgroundId"]},"StringSiteSetting":{"enum":["layoutMode","arrowKeyMode","contentMaxWidth","itemLayoutMode","blockedCommentMode"]},"UpdatableSiteSetting":{"anyOf":[{"$ref":"#\/components\/schemas\/BooleanSiteSetting"},{"$ref":"#\/components\/schemas\/IntegerSiteSetting"},{"$ref":"#\/components\/schemas\/StringSiteSetting"}]},"UpdatedSiteSetting":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"string"}]},"UserGetsitesettingResponse":{"type":"object","properties":{"value":{"$ref":"#\/components\/schemas\/UpdatedSiteSetting"}},"required":["value"]},"ThemeId":{"enum":[0,1,2,3,4,5]},"LayoutMode":{"enum":["modern","classic"]},"ArrowKeyMode":{"enum":["arrows","arrowsWithScroll","legacy"]},"ContentMaxWidth":{"enum":["auto","1400","1800","2200"]},"ItemLayoutMode":{"enum":["modern","classic","zen","reader","theater"]},"BlockedCommentMode":{"enum":["collapse_subtree","collapse_only","hide_subtree"]},"UserSitesettingsBodyParams":{"type":"object","properties":{"likesArePublic":{"type":"boolean"},"themeId":{"$ref":"#\/components\/schemas\/ThemeId"},"layoutMode":{"$ref":"#\/components\/schemas\/LayoutMode"},"arrowKeyMode":{"$ref":"#\/components\/schemas\/ArrowKeyMode"},"contentMaxWidth":{"$ref":"#\/components\/schemas\/ContentMaxWidth"},"itemLayoutMode":{"$ref":"#\/components\/schemas\/ItemLayoutMode"},"blockedCommentMode":{"$ref":"#\/components\/schemas\/BlockedCommentMode"},"showAds":{"type":"boolean"},"favUpvote":{"type":"boolean"},"legacyPath":{"type":"boolean"},"enableItemHistory":{"type":"boolean"},"markSeenItems":{"type":"boolean"},"showSeenNav":{"type":"boolean"},"showVideoPreview":{"type":"boolean"},"enableVoteToggle":{"type":"boolean"},"enableDailyDigest":{"type":"boolean"},"enableWeeklyDigest":{"type":"boolean"},"enableEmailNotifications":{"type":"boolean"},"profileBackgroundId":{"type":"integer"},"junkSeparation":{"type":"boolean"},"collapseLongComments":{"type":"boolean"},"hideDownvotedComments":{"type":"boolean"},"autoCollapseDeepComments":{"type":"boolean"},"sfwResetEnabled":{"type":"boolean"},"defaultToNew":{"type":"boolean"},"colorCommentIndentationLines":{"type":"boolean"},"showBookmarkBar":{"type":"boolean"},"showBlockActions":{"type":"boolean"},"showAvatars":{"type":"boolean"},"userStatus":{"$ref":"#\/components\/schemas\/UserMarkSelection"}},"required":["likesArePublic","themeId","layoutMode","arrowKeyMode","contentMaxWidth","itemLayoutMode","blockedCommentMode","showAds","favUpvote","legacyPath","enableItemHistory","markSeenItems","showSeenNav","showVideoPreview","enableVoteToggle","enableDailyDigest","enableWeeklyDigest","enableEmailNotifications","junkSeparation","collapseLongComments","hideDownvotedComments","autoCollapseDeepComments","sfwResetEnabled","defaultToNew","colorCommentIndentationLines","showBookmarkBar","showBlockActions","showAvatars","userStatus"]},"UserNameResponse":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"}},"required":["name"]},"BanInfo":{"type":"object","properties":{"banned":{"type":"boolean"},"bannedUntil":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["banned","bannedUntil"]},"UserMeResponse":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"registered":{"$ref":"#\/components\/schemas\/Timestamp"},"identifier":{"$ref":"#\/components\/schemas\/UserIdentifier"},"mark":{"$ref":"#\/components\/schemas\/UserMark"},"score":{"$ref":"#\/components\/schemas\/Score"},"banInfo":{"$ref":"#\/components\/schemas\/BanInfo"},"subscribedUntil":{"$ref":"#\/components\/schemas\/Timestamp"},"avatar":{"type":"string"}},"required":["name","registered","identifier","mark","score","banInfo"]},"UserHasbetaaccessResponse":{"type":"object","properties":{"name":{"$ref":"#\/components\/schemas\/UserName"},"hasAccess":{"type":"boolean"}},"required":["name","hasAccess"]},"DeleteModeInput":{"enum":["soft","hard"]},"UserRequestaccountdeletionBodyParams":{"type":"object","properties":{"currentPassword":{"$ref":"#\/components\/schemas\/Password"},"confirmation":{"type":"string"},"deleteMode":{"$ref":"#\/components\/schemas\/DeleteModeInput"}},"required":["currentPassword","confirmation"]},"RequestAccountDeletionError":{"enum":["passwordInvalid","confirmationInvalid","deletionAlreadyPending","emailRequired","hardDeleteNotAllowed"]},"RequestAccountDeletionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/RequestAccountDeletionError"}},"required":["error"]}]},"RequestAccountDeletionResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/RequestAccountDeletionErrorResponse"}]},"UserConfirmaccountdeletionBodyParams":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"ConfirmAccountDeletionSuccessResponse":{"type":"object","properties":{"success":{"const":true},"scheduledDeletionAt":{"$ref":"#\/components\/schemas\/Timestamp"}},"required":["success","scheduledDeletionAt"]},"ConfirmAccountDeletionError":{"enum":["deletionTokenInvalid","deletionTokenExpired","deletionAlreadyConfirmed","deletionTokenWrongUser"]},"ConfirmAccountDeletionErrorResponse":{"type":"object","properties":{"success":{"const":false},"error":{"$ref":"#\/components\/schemas\/ConfirmAccountDeletionError"}},"required":["success","error"]},"ConfirmAccountDeletionResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/ConfirmAccountDeletionSuccessResponse"},{"$ref":"#\/components\/schemas\/ConfirmAccountDeletionErrorResponse"}]},"CancelAccountDeletionError":{"enum":["deletionNotFound"]},"CancelAccountDeletionErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"error":{"$ref":"#\/components\/schemas\/CancelAccountDeletionError"}},"required":["error"]}]},"CancelAccountDeletionResponse":{"anyOf":[{"$ref":"#\/components\/schemas\/SuccessResponse"},{"$ref":"#\/components\/schemas\/CancelAccountDeletionErrorResponse"}]},"DeletionStatusType":{"enum":["pending_confirmation","cooling_off"]},"DeleteModeType":{"enum":["soft","hard"]},"UserDeletionStatusResponse":{"type":"object","properties":{"hasPendingDeletion":{"type":"boolean"},"status":{"$ref":"#\/components\/schemas\/DeletionStatusType"},"scheduledDeletionAt":{"$ref":"#\/components\/schemas\/Timestamp"},"tokenExpiresAt":{"$ref":"#\/components\/schemas\/Timestamp"},"deleteMode":{"$ref":"#\/components\/schemas\/DeleteModeType"},"canUseHardDelete":{"type":"boolean"},"uploadCount":{"type":"integer"}},"required":["hasPendingDeletion","canUseHardDelete","uploadCount"]},"DataExportStatusResponse":{"type":"object","properties":{"available":{"type":"boolean"},"nextExportAt":{"type":"integer"},"lastExportAt":{"type":"integer"}},"required":["available"]},"DataExportError":{"enum":["rateLimited"]},"DataExportUser":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"registeredAt":{"type":"integer"}},"required":["name","email","registeredAt"]},"DataExportPayment":{"type":"object","properties":{"createdAt":{"type":"integer"},"email":{"type":"string"},"product":{"type":"string"}},"required":["createdAt","email","product"]},"DataExportLogin":{"type":"object","properties":{"ip":{"type":"string"},"createdAt":{"type":"integer"}},"required":["ip","createdAt"]},"DataExportData":{"type":"object","properties":{"exportedAt":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/DataExportUser"},"payments":{"type":"array","items":{"$ref":"#\/components\/schemas\/DataExportPayment"}},"logins":{"type":"array","items":{"$ref":"#\/components\/schemas\/DataExportLogin"}}},"required":["exportedAt","user","payments","logins"]},"DataExportResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"$ref":"#\/components\/schemas\/DataExportError"},"nextExportAt":{"type":"integer"},"format":{"type":"string"},"data":{"$ref":"#\/components\/schemas\/DataExportData"}},"required":["success"]},"PlaybackVariant":{"type":"object","properties":{"name":{"type":"string"},"tierName":{"type":"string"},"url":{"type":"string"},"mimeType":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"bitRate":{"$ref":"#\/components\/schemas\/float"},"fileSize":{"type":"integer"}},"required":["name","url","mimeType","width","height","bitRate","fileSize"]},"VariantsGetforplaybackResponse":{"type":"object","properties":{"itemId":{"$ref":"#\/components\/schemas\/ItemId"},"h264":{"type":"array","items":{"$ref":"#\/components\/schemas\/PlaybackVariant"}},"vp9":{"type":"array","items":{"$ref":"#\/components\/schemas\/PlaybackVariant"}}},"required":["itemId","h264","vp9"]}}},"paths":{"\/avatar\/upload":{"post":{"operationId":"uploadAvatar","summary":"Uploads a new avatar and activates it. Resizes to 512\u00d7512 PNG.","tags":["avatar"],"description":"Uploads a new avatar and activates it. Resizes to 512\u00d7512 PNG.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/AvatarUploadBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AvatarUploadResponse"}}}}}}},"\/avatar\/delete":{"post":{"operationId":"deleteAvatar","summary":"Removes the active avatar.","tags":["avatar"],"description":"Removes the active avatar.","security":[{"csrfProtected":[]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AvatarDeleteResponse"}}}}}}},"\/bookmarks\/get":{"get":{"operationId":"getBookmarks","summary":"Gets the bookmarks currently available for the user. Includes trending stuff. Will return default bookmarks for non-logged-in users.","tags":["bookmarks"],"description":"Gets the bookmarks currently available for the user. Includes trending stuff. Will return default bookmarks for non-logged-in users.","parameters":[{"in":"query","name":"default","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BookmarksGetResponse"}}}}}}},"\/bookmarks\/add":{"post":{"operationId":"addBookmark","summary":"Adds something to the bookmarks of the user. Returns the same as the get endpoint.","tags":["bookmarks"],"description":"Adds something to the bookmarks of the user. Returns the same as the get endpoint.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/BookmarksAddBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BookmarksGetResponse"}}}}}}},"\/bookmarks\/delete":{"post":{"operationId":"removeBookmark","summary":"Removes something from the bookmarks of the user. Returns the same as the get endpoint.","tags":["bookmarks"],"description":"Removes something from the bookmarks of the user. Returns the same as the get endpoint.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/BookmarksDeleteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BookmarksGetResponse"}}}}}}},"\/bookmarks\/click":{"post":{"operationId":"trackBookmarkClick","summary":"Records a click on a bookmark for the BookmarkBar auto-sorting.","tags":["bookmarks"],"description":"Records a click on a bookmark for the BookmarkBar auto-sorting.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/BookmarksClickBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/calendar\/getUpcomingEvents":{"get":{"operationId":"getUpcomingEvents","summary":"Gets all upcoming calendar events","tags":["calendar"],"description":"Gets all upcoming calendar events","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetUpcomingEventsResponse"}}}}}}},"\/calendar\/getEventsByDateRange":{"get":{"operationId":"getEventsByDateRange","summary":"Gets calendar events for a specific date range","tags":["calendar"],"description":"Gets calendar events for a specific date range","parameters":[{"in":"query","name":"startTimestamp","required":true,"schema":{"type":"integer"}},{"in":"query","name":"endTimestamp","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetEventsByDateRangeResponse"}}}}}}},"\/calendar\/getEventById":{"get":{"operationId":"getEventById","summary":"Gets a specific calendar event by its ID","tags":["calendar"],"description":"Gets a specific calendar event by its ID","parameters":[{"in":"query","name":"eventId","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetEventByIdResponse"}}}}}}},"\/calendar\/signupForEvent":{"post":{"operationId":"signupForEvent","summary":"Signs up the current user for an event or updates an existing registration.","tags":["calendar"],"description":"Signs up the current user for an event or updates an existing registration.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CalendarSignupforeventBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SignupForEventResponse"}}}}}}},"\/calendar\/unsignupFromEvent":{"post":{"operationId":"unsignupFromEvent","summary":"Unregisters the current user from an event.","tags":["calendar"],"description":"Unregisters the current user from an event.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CalendarUnsignupfromeventBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UnsignupFromEventResponse"}}}}}}},"\/calendar\/getSignupsForEvent":{"get":{"operationId":"getSignupsForEvent","summary":"Gets registrations (users) for a specific event, optionally paginated and filtered.","tags":["calendar"],"description":"Gets registrations (users) for a specific event, optionally paginated and filtered.","parameters":[{"in":"query","name":"eventId","required":true,"schema":{"type":"integer"}},{"in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetSignupsForEventResponse"}}}}}}},"\/calendar\/getEventsForUserSignup":{"get":{"operationId":"getEventsForUserSignup","summary":"Gets all events the current user is registered for.","tags":["calendar"],"description":"Gets all events the current user is registered for.","security":[{"pr0Auth":["calendar.geteventsforusersignup"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetEventsForUserSignupResponse"}}}}}}},"\/calendar\/getSignup":{"get":{"operationId":"getSignup","summary":"Gets the current user's registration for a specific event.","tags":["calendar"],"description":"Gets the current user's registration for a specific event.","security":[{"pr0Auth":["calendar.getsignup"]}],"parameters":[{"in":"query","name":"eventId","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetSignupResponse"}}}}}}},"\/collections\/get":{"get":{"operationId":"getCollections","summary":"Gets the collections (public and private) of the current user.","tags":["collections"],"description":"Gets the collections (public and private) of the current user.","security":[{"pr0Auth":["collections.get"]}],"parameters":[{"in":"query","name":"thumbs","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsGetResponse"}}}}}}},"\/collections\/memberships":{"get":{"operationId":"getCollectionMemberships","summary":"Returns the collections that an item is a member of, specific to the current user.","tags":["collections"],"description":"Returns the collections that an item is a member of, specific to the current user.","security":[{"pr0Auth":["collections.memberships"]}],"parameters":[{"in":"query","name":"itemId","required":true,"schema":{"$ref":"#\/components\/schemas\/ItemId"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsMembershipsResponse"}}}}}}},"\/collections\/create":{"post":{"operationId":"createCollection","summary":"Creates a new collection.","tags":["collections"],"description":"Creates a new collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsCreateBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsCreateResponse"}}}}}}},"\/collections\/default":{"post":{"operationId":"setDefaultCollection","summary":"Sets a collection as default","tags":["collections"],"description":"Sets a collection as default","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsDefaultBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsGetResponse"}}}}}}},"\/collections\/edit":{"post":{"operationId":"editCollection","summary":"Used to set some settings on a collection. For example, visibility and its name.","tags":["collections"],"description":"Used to set some settings on a collection. For example, visibility and its name.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsEditBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsEditResponse"}}}}}}},"\/collections\/addCurator":{"post":{"operationId":"addCollectionCurator","summary":"Adds a user as a curator to a collection.","tags":["collections"],"description":"Adds a user as a curator to a collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsAddcuratorBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsAddCuratorResponse"}}}}}}},"\/collections\/removeCurator":{"post":{"operationId":"removeCollectionCurator","summary":"Removes a user as a curator from a collection.","tags":["collections"],"description":"Removes a user as a curator from a collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsRemovecuratorBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsRemoveCuratorResponse"}}}}}}},"\/collections\/curatorAccept":{"post":{"operationId":"acceptCuratorInvite","summary":"Accepts an invitation to become a curator of a specific collection.","tags":["collections"],"description":"Accepts an invitation to become a curator of a specific collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsCuratoracceptBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/collections\/curatorIgnore":{"post":{"operationId":"ignoreCuratorInvite","summary":"Ignores (dismisses) an invitation to become a curator of a specific collection.","tags":["collections"],"description":"Ignores (dismisses) an invitation to become a curator of a specific collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsCuratorignoreBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/collections\/curatorAllow":{"post":{"operationId":"allowCuratorInvite","summary":"Allows the potential curator to accept the invite again.","tags":["collections"],"description":"Allows the potential curator to accept the invite again.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsCuratorallowBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/collections\/delete":{"post":{"operationId":"deleteCollection","summary":"Deletes a collection. \u00af\\_(\u30c4)_\/\u00af","tags":["collections"],"description":"Deletes a collection. \u00af\\_(\u30c4)_\/\u00af","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsDeleteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsDeleteResponse"}}}}}}},"\/collections\/add":{"post":{"operationId":"addItemToCollection","summary":"Well, adds an item to some collection.","tags":["collections"],"description":"Well, adds an item to some collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsAddBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsAddResponse"}}}}}}},"\/collections\/remove":{"post":{"operationId":"removeItemFromCollection","summary":"Well, removes an item from some collection.","tags":["collections"],"description":"Well, removes an item from some collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsRemoveBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsRemoveResponse"}}}}}}},"\/collections\/copy":{"post":{"operationId":"copyItemsToCollection","summary":"Batch-copies items that match all specified tags from a source collection to a destination collection","tags":["collections"],"description":"Batch-copies items that match all specified tags from a source collection to a destination collection","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsCopyBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsCopyResponse"}}}}}}},"\/collections\/move":{"post":{"operationId":"moveItemsToCollection","summary":"Batch-moves items that match all specified tags from a source collection to a destination collection","tags":["collections"],"description":"Batch-moves items that match all specified tags from a source collection to a destination collection","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsMoveBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsMoveResponse"}}}}}}},"\/collections\/follow":{"post":{"operationId":"followCollection","summary":"Well, follows a collection.","tags":["collections"],"description":"Well, follows a collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsFollowBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsFollowResponse"}}}}}}},"\/collections\/unfollow":{"post":{"operationId":"unfollowCollection","summary":"Well, unfollows a collection.","tags":["collections"],"description":"Well, unfollows a collection.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsUnfollowBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectionsUnfollowResponse"}}}}}}},"\/collections\/click":{"post":{"operationId":"trackCollectionClick","summary":"Records a click on a collection for the BookmarkBar auto-sorting.","tags":["collections"],"description":"Records a click on a collection for the BookmarkBar auto-sorting.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CollectionsClickBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/comments\/preview":{"get":{"operationId":"getCommentPreview","summary":"Gets preview data that is usually displayed as a preview when hovering over a link to a comment.","tags":["comments"],"description":"Gets preview data that is usually displayed as a preview when hovering over a link to a comment.","security":[{"pr0Auth":["comments.preview"]}],"parameters":[{"in":"query","name":"identifier","required":true,"schema":{"$ref":"#\/components\/schemas\/CommentId"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CommentsPreviewResponse"}}}}}}},"\/comments\/post":{"post":{"operationId":"postComment","summary":"Posts a comment.","tags":["comments"],"description":"Posts a comment.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CommentsPostBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CommentsPostResponse"}}}}}}},"\/comments\/editOwn":{"post":{"operationId":"editOwnComment","summary":"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.","tags":["comments"],"description":"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.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CommentsEditownBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CommentsEditOwnResponse"}}}}}}},"\/comments\/getEditHistory":{"get":{"operationId":"getCommentEditHistory","summary":"Returns the full edit history of a comment (visible to all logged-in users for transparency).","tags":["comments"],"description":"Returns the full edit history of a comment (visible to all logged-in users for transparency).","security":[{"pr0Auth":["comments.getedithistory"]}],"parameters":[{"in":"query","name":"id","required":true,"schema":{"$ref":"#\/components\/schemas\/CommentId"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CommentsGetedithistoryResponse"}}}}}}},"\/comments\/vote":{"post":{"operationId":"voteOnComment","summary":"Casts a vote on a comment. A vote of 2 means \"fav\".","tags":["comments"],"description":"Casts a vote on a comment. A vote of 2 means \"fav\".","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CommentsVoteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/comments\/fav":{"post":{"operationId":"addCommentToFavorites","summary":"Adds a comment to the user's favorites.","tags":["comments"],"description":"Adds a comment to the user's favorites.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CommentsFavBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/comments\/unfav":{"post":{"operationId":"removeCommentFromFavorites","summary":"Removes a comment from the user's favorites.","tags":["comments"],"description":"Removes a comment from the user's favorites.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/CommentsUnfavBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/events\/active":{"get":{"operationId":"getActiveEvents","summary":"Returns currently active event stages for frontend integration.","tags":["events"],"description":"Returns currently active event stages for frontend integration.","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EventsActiveResponse"}}}}}}},"\/faq\/reasons":{"get":{"operationId":"getBanReasons","summary":"Pre-defined reasons to ban a user for","tags":["faq"],"description":"Pre-defined reasons to ban a user for","parameters":[{"in":"query","name":"type","required":true,"schema":{"type":"integer"}},{"in":"query","name":"itemId","required":false,"schema":{"$ref":"#\/components\/schemas\/ItemId"}},{"in":"query","name":"commentId","required":false,"schema":{"$ref":"#\/components\/schemas\/CommentId"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqReasonsResponse"}}}}}}},"\/faq\/rules":{"get":{"operationId":"getRules","summary":"Basic rules.","tags":["faq"],"description":"Basic rules.","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqRulesResponse"}}}}}}},"\/faq\/changelog":{"get":{"operationId":"getChangelog","summary":"Returns the changelog.","tags":["faq"],"description":"Returns the changelog.","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"itemsPerPage","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqChangelogResponse"}}}}}}},"\/faq\/categories":{"get":{"operationId":"getFaqCategories","summary":"Gets faq sub categories with articles for given category name","tags":["faq"],"description":"Gets faq sub categories with articles for given category name","parameters":[{"in":"query","name":"category","required":true,"schema":{"$ref":"#\/components\/schemas\/Slug"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqCategoriesResponse"}}}}}}},"\/faq\/article":{"get":{"operationId":"getFaqArticle","summary":"Gets an article with related articles for given article name","tags":["faq"],"description":"Gets an article with related articles for given article name","parameters":[{"in":"query","name":"article","required":true,"schema":{"$ref":"#\/components\/schemas\/Slug"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqArticleResponse"}}}}}}},"\/faq\/search":{"get":{"operationId":"searchFaqArticle","summary":"searches for an article with given search string","tags":["faq"],"description":"searches for an article with given search string","parameters":[{"in":"query","name":"search","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqSearchResponse"}}}}}}},"\/faq\/promoted":{"get":{"operationId":"getPromotedFaqArticles","summary":"Gets articles flagged as promoted","tags":["faq"],"description":"Gets articles flagged as promoted","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqPromotedResponse"}}}}}}},"\/faq\/get":{"get":{"operationId":"getFaq","summary":"gets category, article or performs a search","tags":["faq"],"description":"gets category, article or performs a search","parameters":[{"in":"query","name":"article","required":false,"schema":{"$ref":"#\/components\/schemas\/Slug"}},{"in":"query","name":"category","required":false,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqGetResponse"}}}}}}},"\/faq\/all":{"get":{"operationId":"getAllFaqEntries","summary":"Everything we have.","tags":["faq"],"description":"Everything we have.","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FaqAllResponse"}}}}}}},"\/inbox\/deleteConversation":{"post":{"operationId":"deleteConversation","summary":"(Mutually) deletes a conversation with a user","tags":["inbox"],"description":"(Mutually) deletes a conversation with a user","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/DeleteConversationOptions"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/inbox\/post":{"post":{"operationId":"sendPrivateMessage","summary":"Sends a message to a user.","tags":["inbox"],"description":"Sends a message to a user.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/SendMessageOptions"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendPrivateMessageResult"}}}}}}},"\/inbox\/pending":{"get":{"operationId":"getPendingMessages","summary":"Returns all pending notifications for the current user without marking them as read.","tags":["inbox"],"description":"Returns all pending notifications for the current user without marking them as read.","security":[{"pr0Auth":["inbox.pending"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxPendingResponse"}}}}}}},"\/inbox\/read":{"get":{"operationId":"markMessageAsRead","summary":"Marks a specific message as read","tags":["inbox"],"description":"Marks a specific message as read","security":[{"pr0Auth":["inbox.read"]}],"parameters":[{"in":"query","name":"messageType","required":true,"schema":{"$ref":"#\/components\/schemas\/InboxMessageType"}},{"in":"query","name":"messageId","required":true,"schema":{"$ref":"#\/components\/schemas\/MessageId"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/inbox\/all":{"get":{"operationId":"all","summary":"Gets all inbox messages. Marks messages as read when retrieving.","tags":["inbox"],"description":"Gets all inbox messages. Marks messages as read when retrieving.","security":[{"pr0Auth":["inbox.all"]}],"parameters":[{"in":"query","name":"older","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"markAsRead","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxAllResponse"}}}}}}},"\/inbox\/comments":{"get":{"operationId":"getComments","summary":"Gets the message that refer to comments. Marks messages a read when retrieving.","tags":["inbox"],"description":"Gets the message that refer to comments. Marks messages a read when retrieving.","security":[{"pr0Auth":["inbox.comments"]}],"parameters":[{"in":"query","name":"older","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"markAsRead","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxCommentsResponse"}}}}}}},"\/inbox\/notifications":{"get":{"operationId":"getNotifications","summary":"Gets the system notifications. Marks messages a read when retrieving.","tags":["inbox"],"description":"Gets the system notifications. Marks messages a read when retrieving.","security":[{"pr0Auth":["inbox.notifications"]}],"parameters":[{"in":"query","name":"older","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"markAsRead","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxNotificationsResponse"}}}}}}},"\/inbox\/markRead":{"post":{"operationId":"markRead","summary":"Marks all messages of the given inbox type as read.","tags":["inbox"],"description":"Marks all messages of the given inbox type as read.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/InboxMarkreadBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/inbox\/digests":{"get":{"operationId":"getDigests","summary":"Gets the digests","tags":["inbox"],"description":"Gets the digests","security":[{"pr0Auth":["inbox.digests"]}],"parameters":[{"in":"query","name":"older","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"markAsRead","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxDigestsResponse"}}}}}}},"\/inbox\/follows":{"get":{"operationId":"getFollows","summary":"Gets follow messages (subscriptions). Marks messages a read when retrieving.","tags":["inbox"],"description":"Gets follow messages (subscriptions). Marks messages a read when retrieving.","security":[{"pr0Auth":["inbox.follows"]}],"parameters":[{"in":"query","name":"older","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"markAsRead","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxFollowsResponse"}}}}}}},"\/inbox\/messages":{"get":{"operationId":"getMessages","summary":"Gets the messages exchanged with a specific user. Marks messages a read when retrieving.","tags":["inbox"],"description":"Gets the messages exchanged with a specific user. Marks messages a read when retrieving.","security":[{"pr0Auth":["inbox.messages"]}],"parameters":[{"in":"query","name":"older","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"markAsRead","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"with","required":true,"schema":{"$ref":"#\/components\/schemas\/UserName"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxMessagesResponse"}}}}}}},"\/inbox\/conversations":{"get":{"operationId":"getConversations","summary":"Gets the conversation, that the user currently holds. Excludes deleted conversations.","tags":["inbox"],"description":"Gets the conversation, that the user currently holds. Excludes deleted conversations.","security":[{"pr0Auth":["inbox.conversations"]}],"parameters":[{"in":"query","name":"older","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxConversationsResponse"}}}}}}},"\/inbox\/relationship":{"get":{"operationId":"getUserRelationship","summary":"Checks if the current user blocks the provided user.","tags":["inbox"],"description":"Checks if the current user blocks the provided user.","security":[{"pr0Auth":["inbox.relationship"]}],"parameters":[{"in":"query","name":"partner","required":true,"schema":{"$ref":"#\/components\/schemas\/UserName"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InboxRelationshipResponse"}}}}}}},"\/items\/vote":{"post":{"operationId":"vote","summary":"Votes on a post\/item.","tags":["items"],"description":"Votes on a post\/item.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ItemsVoteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemVoteResponse"}}}}}}},"\/items\/rateLimited":{"get":{"operationId":"getRateLimit","summary":"Gets the uploads left of the current user.","tags":["items"],"description":"Gets the uploads left of the current user.","security":[{"pr0Auth":["items.ratelimited"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsRatelimitedResponse"}}}}}}},"\/items\/upload":{"post":{"operationId":"uploadItem","summary":"Uploads an item (image\/video).","tags":["items"],"description":"Uploads an item (image\/video).","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ItemsUploadBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsUploadResponse"}}}}}}},"\/items\/post":{"post":{"operationId":"postItem","summary":"Submits a previously uploaded item to the processing queue.","tags":["items"],"description":"Submits a previously uploaded item to the processing queue.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ItemsPostBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PostItemsResponse"}}}}}}},"\/items\/queue":{"get":{"operationId":"getQueue","summary":"Gets the uploads currently in the user's upload queue.","tags":["items"],"description":"Gets the uploads currently in the user's upload queue.","security":[{"pr0Auth":["items.queue"]}],"parameters":[{"in":"query","name":"id","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsQueueResponse"}}}}}}},"\/items\/preview":{"get":{"operationId":"getItemPreview","summary":"Gets preview info of a specific item.","tags":["items"],"description":"Gets preview info of a specific item.","parameters":[{"in":"query","name":"identifier","required":true,"schema":{"$ref":"#\/components\/schemas\/ItemId"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsPreviewResponse"}}}}}}},"\/items\/info":{"get":{"operationId":"getItemInfo","summary":"Gets tags and comments to display under a specific item.","tags":["items"],"description":"Gets tags and comments to display under a specific item.","parameters":[{"in":"query","name":"itemId","required":true,"schema":{"$ref":"#\/components\/schemas\/ItemId"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsInfoResponse"}}}}}}},"\/items\/get":{"get":{"operationId":"getItems","summary":"Retrieves a list of items to display.","tags":["items"],"description":"Retrieves a list of items to display.","parameters":[{"in":"query","name":"flags","required":true,"schema":{"$ref":"#\/components\/schemas\/ItemFlags"}},{"in":"query","name":"id","required":false,"schema":{"$ref":"#\/components\/schemas\/ItemId"}},{"in":"query","name":"tags","required":false,"schema":{"$ref":"#\/components\/schemas\/CommaSeparatedTags"}},{"in":"query","name":"user","required":false,"schema":{"$ref":"#\/components\/schemas\/UserName"}},{"in":"query","name":"promoted","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"collection","required":false,"schema":{"$ref":"#\/components\/schemas\/Slug"}},{"in":"query","name":"following","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"newer","required":false,"schema":{"$ref":"#\/components\/schemas\/ItemId"}},{"in":"query","name":"older","required":false,"schema":{"$ref":"#\/components\/schemas\/ItemId"}},{"in":"query","name":"self","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"show_junk","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsGetResponse"}}}}}}},"\/items\/scheduled":{"get":{"operationId":"getScheduledItems","summary":"Returns a lost of the user's items that are currently set to be published in the future date.","tags":["items"],"description":"Returns a lost of the user's items that are currently set to be published in the future date.","security":[{"pr0Auth":["items.scheduled"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsScheduledResponse"}}}}}}},"\/items\/processing":{"get":{"operationId":"getProcessingItems","summary":"Returns items currently being processed (pending\/processing) for the user.","tags":["items"],"description":"Returns items currently being processed (pending\/processing) for the user.","security":[{"pr0Auth":["items.processing"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsProcessingResponse"}}}}}}},"\/items\/publishEarly":{"post":{"operationId":"publishEarly","summary":"Publishes a scheduled item instantly, skipping scheduled time.","tags":["items"],"description":"Publishes a scheduled item instantly, skipping scheduled time.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ItemsPublishearlyBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsPublishearlyResponse"}}}}}}},"\/items\/removeScheduled":{"post":{"operationId":"removeScheduledItem","summary":"Removes an item that the user has currently scheduled, so it won't get posted anymore.","tags":["items"],"description":"Removes an item that the user has currently scheduled, so it won't get posted anymore.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ItemsRemovescheduledBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsRemovescheduledResponse"}}}}}}},"\/items\/removeAllScheduled":{"post":{"operationId":"removeAllScheduledItems","summary":"Removes all items that the user has currently scheduled, so they won't get posted anymore.","tags":["items"],"description":"Removes all items that the user has currently scheduled, so they won't get posted anymore.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ItemsRemoveallscheduledBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ItemsRemoveallscheduledResponse"}}}}}}},"\/items\/editScheduled":{"post":{"operationId":"editScheduledItem","summary":"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.","tags":["items"],"description":"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.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ItemsEditscheduledBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EditScheduledResponse"}}}}}}},"\/kontakte\/getProfile":{"get":{"operationId":"getProfile","summary":"Gets the current user's Kontakte profile and feature config.","tags":["kontakte"],"description":"Gets the current user's Kontakte profile and feature config.","security":[{"pr0Auth":["kontakte.getprofile"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetKontakteProfileResponse"}}}}}}},"\/kontakte\/updateProfile":{"post":{"operationId":"updateProfile","summary":"Creates or updates the current user's Kontakte profile.","tags":["kontakte"],"description":"Creates or updates the current user's Kontakte profile.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/KontakteUpdateprofileBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateKontakteProfileResponse"}}}}}}},"\/kontakte\/discover":{"get":{"operationId":"discover","summary":"Returns swipeable candidate profiles for the current user.","tags":["kontakte"],"description":"Returns swipeable candidate profiles for the current user.","security":[{"pr0Auth":["kontakte.discover"]}],"parameters":[{"in":"query","name":"tag","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteDiscoverResponse"}}}}}}},"\/kontakte\/userProfile":{"get":{"operationId":"userProfile","summary":"Returns another user's Kontakte profile. Only enrolled users (with their own profile) may view it.","tags":["kontakte"],"description":"Returns another user's Kontakte profile. Only enrolled users (with their own profile) may view it.","security":[{"pr0Auth":["kontakte.userprofile"]}],"parameters":[{"in":"query","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteUserProfileResponse"}}}}}}},"\/kontakte\/tagSuggestions":{"get":{"operationId":"tagSuggestions","summary":"Suggests tags for autocomplete, only from existing Kontakte profiles.","tags":["kontakte"],"description":"Suggests tags for autocomplete, only from existing Kontakte profiles.","security":[{"pr0Auth":["kontakte.tagsuggestions"]}],"parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteTagSuggestionsResponse"}}}}}}},"\/kontakte\/swipe":{"post":{"operationId":"swipe","summary":"Records a like\/nope decision; reports whether it produced a match.","tags":["kontakte"],"description":"Records a like\/nope decision; reports whether it produced a match.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/KontakteSwipeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteSwipeResponse"}}}}}}},"\/kontakte\/likesReceived":{"get":{"operationId":"likesReceived","summary":"Users who liked the current user (incoming likes).","tags":["kontakte"],"description":"Users who liked the current user (incoming likes).","security":[{"pr0Auth":["kontakte.likesreceived"]}],"parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteLikesReceivedResponse"}}}}}}},"\/kontakte\/likesSent":{"get":{"operationId":"likesSent","summary":"Users the current user has liked (outgoing likes).","tags":["kontakte"],"description":"Users the current user has liked (outgoing likes).","security":[{"pr0Auth":["kontakte.likessent"]}],"parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteLikesSentResponse"}}}}}}},"\/kontakte\/matches":{"get":{"operationId":"matches","summary":"Mutual likes (matches) of the current user.","tags":["kontakte"],"description":"Mutual likes (matches) of the current user.","security":[{"pr0Auth":["kontakte.matches"]}],"parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteMatchesResponse"}}}}}}},"\/kontakte\/resetNopes":{"post":{"operationId":"resetNopes","summary":"Deletes the current user's nope decisions so those profiles reappear.","tags":["kontakte"],"description":"Deletes the current user's nope decisions so those profiles reappear.","security":[{"csrfProtected":[]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteResetNopesResponse"}}}}}}},"\/kontakte\/removeLike":{"post":{"operationId":"removeLike","summary":"Withdraws an outgoing like, so the user disappears from \"liked\" and reappears in discover.","tags":["kontakte"],"description":"Withdraws an outgoing like, so the user disappears from \"liked\" and reappears in discover.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/KontakteRemovelikeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KontakteRemoveLikeResponse"}}}}}}},"\/memes\/rateLimited":{"get":{"operationId":"getMemeRateLimit","summary":"Gets the memes left of the current user.","tags":["memes"],"description":"Gets the memes left of the current user.","security":[{"pr0Auth":["memes.ratelimited"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesRatelimitedResponse"}}}}}}},"\/memes\/templates":{"get":{"operationId":"getMemeTemplates","summary":"Lists available meme templates","tags":["memes"],"description":"Lists available meme templates","parameters":[{"in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"query","name":"order","required":false,"schema":{"$ref":"#\/components\/schemas\/MemeTemplateOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesTemplatesResponse"}}}}}}},"\/memes\/template":{"get":{"operationId":"getMemeTemplate","summary":"Gets details for a specific meme template","tags":["memes"],"description":"Gets details for a specific meme template","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesTemplateResponse"}}}}}}},"\/memes\/search":{"get":{"operationId":"searchMemeTemplates","summary":"Searches meme templates by tags or names","tags":["memes"],"description":"Searches meme templates by tags or names","parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesSearchResponse"}}}}}}},"\/memes\/random":{"get":{"operationId":"getRandomMemeTemplate","summary":"Returns a random meme template","tags":["memes"],"description":"Returns a random meme template","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesRandomResponse"}}}}}}},"\/memes\/post":{"post":{"operationId":"postMeme","summary":"Posts a generated meme as item to the stream.","tags":["memes"],"description":"Posts a generated meme as item to the stream.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/MemesPostBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesPostResponse"}}}}}}},"\/memes\/addTemplate":{"post":{"operationId":"addMemeTemplate","summary":"Adds a template to meme browser.","tags":["memes"],"description":"Adds a template to meme browser.","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/MemesAddtemplateBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesAddtemplateResponse"}}}}}}},"\/memes\/delete":{"post":{"operationId":"deleteMemeTemplate","summary":"Removes a template from meme browser.","tags":["memes"],"description":"Removes a template from meme browser.","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/MemesDeleteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesDeleteResponse"}}}}}}},"\/memes\/private":{"post":{"operationId":"changeMemeTemplateVisibility","summary":"Switch between private and public.","tags":["memes"],"description":"Switch between private and public.","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/MemesPrivateBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesPrivateResponse"}}}}}}},"\/memes\/change":{"post":{"operationId":"changeMemeTemplateData","summary":"Updates the text positions of a meme template","tags":["memes"],"description":"Updates the text positions of a meme template","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/MemesChangeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemesChangeResponse"}}}}}}},"\/oauth\/createAccessToken":{"post":{"operationId":"createAccessToken","summary":"Endpoint used by OAuth 2.0 clients to retrieve an access token.","tags":[],"description":"Endpoint used by OAuth 2.0 clients to retrieve an access token.","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/OauthCreateaccesstokenBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OauthCreateaccesstokenResponse"}}}}}}},"\/oauth\/allow":{"post":{"operationId":"getOAuthCode","summary":"Used by the frontend to get OAuth data that is then supplied to the return_uri of the OAuth client.","tags":[],"description":"Used by the frontend to get OAuth data that is then supplied to the return_uri of the OAuth client.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/OauthAllowBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OauthAllowResponse"}}}}}}},"\/oauth\/revoke":{"post":{"operationId":"revokeClientAuthorization","summary":"Revokes authorization of a previously authorized application.","tags":[],"description":"Revokes authorization of a previously authorized application.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/OauthRevokeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OauthRevokeResponse"}}}}}}},"\/oauth\/clientInfo":{"get":{"operationId":"getOAuthClientInfo","summary":"Returns information to display about an app in the OAuth dialog.","tags":[],"description":"Returns information to display about an app in the OAuth dialog.","security":[{"pr0Auth":["oauth.clientinfo"]}],"parameters":[{"in":"query","name":"clientId","required":true,"schema":{"$ref":"#\/components\/schemas\/OAuthClientId"}},{"in":"query","name":"scope","required":true,"schema":{"type":"string"}},{"in":"query","name":"redirectUrl","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OauthClientinfoResponse"}}}}}}},"\/polls\/get":{"get":{"operationId":"getPoll","summary":"Gets the active poll or a specific poll with all questions","tags":["polls"],"description":"Gets the active poll or a specific poll with all questions","security":[{"pr0Auth":["polls.get"]}],"parameters":[{"in":"query","name":"id","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetPollResponse"}}}}}}},"\/polls\/vote":{"post":{"operationId":"votePoll","summary":"Votes on a poll","tags":["polls"],"description":"Votes on a poll","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/PollsVoteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VotePollResponse"}}}}}}},"\/polls\/hasVoted":{"get":{"operationId":"hasVoted","summary":"Checks if the current user has already participated in the active poll","tags":["polls"],"description":"Checks if the current user has already participated in the active poll","security":[{"pr0Auth":["polls.hasvoted"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HasVotedResponse"}}}}}}},"\/polls\/getResults":{"get":{"operationId":"getPollResults","summary":"Gets the results of the active poll or a specific poll","tags":["polls"],"description":"Gets the results of the active poll or a specific poll","security":[{"pr0Auth":["polls.getresults"]}],"parameters":[{"in":"query","name":"id","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetPollResultsResponse"}}}}}}},"\/profile\/preview":{"get":{"operationId":"getProfilePreview","summary":"Gets preview data that is usually displayed as a preview when hovering over a link to a mentioned user.","tags":["profile"],"description":"Gets preview data that is usually displayed as a preview when hovering over a link to a mentioned user.","security":[{"pr0Auth":["profile.preview"]}],"parameters":[{"in":"query","name":"identifier","required":true,"schema":{"$ref":"#\/components\/schemas\/UserName"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfilePreviewResponse"}}}}}}},"\/profile\/info":{"get":{"operationId":"getUserProfile","summary":"Get the profile info of some user.","tags":["profile"],"description":"Get the profile info of some user.","security":[{"pr0Auth":["profile.info"]}],"parameters":[{"in":"query","name":"name","required":true,"schema":{"type":"string"}},{"in":"query","name":"flags","required":true,"schema":{"$ref":"#\/components\/schemas\/ItemFlags"}},{"in":"query","name":"uploadLimit","required":false,"schema":{"type":"integer"}},{"in":"query","name":"commentLimit","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileInfoResponse"}}}}}}},"\/profile\/follow":{"post":{"operationId":"followUser","summary":"Follow a user.","tags":["profile"],"description":"Follow a user.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileFollowBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileFollowResponse"}}}}}}},"\/profile\/unfollow":{"post":{"operationId":"unfollowUser","summary":"Unfollows a user. Crazy, right?","tags":["profile"],"description":"Unfollows a user. Crazy, right?","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileUnfollowBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileUnfollowResponse"}}}}}}},"\/profile\/subscribe":{"post":{"operationId":"subscribeToUser","summary":"Subscribes to a user.","tags":["profile"],"description":"Subscribes to a user.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileSubscribeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileSubscribeResponse"}}}}}}},"\/profile\/unsubscribe":{"post":{"operationId":"unsubscribeFromUser","summary":"Unsubscribes from a user. May keep the follow status if provided.","tags":["profile"],"description":"Unsubscribes from a user. May keep the follow status if provided.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileUnsubscribeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileUnsubscribeResponse"}}}}}}},"\/profile\/setFollowStatus":{"post":{"operationId":"setFollowStatus","summary":"Sets the subscription status of a user. Subscribe\/Following\/Not Following.","tags":["profile"],"description":"Sets the subscription status of a user. Subscribe\/Following\/Not Following.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileSetfollowstatusBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SetFollowStatusProfileResponse"}}}}}}},"\/profile\/setTagFollowStatus":{"post":{"operationId":"setTagFollowStatus","summary":"Sets the subscription status of a tag. Subscribe (with notifications) \/ Following (without) \/ Not following.","tags":["profile"],"description":"Sets the subscription status of a tag. Subscribe (with notifications) \/ Following (without) \/ Not following.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileSettagfollowstatusBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SetTagFollowStatusProfileResponse"}}}}}}},"\/profile\/block":{"post":{"operationId":"blockUser","summary":"Blocks a user. Note that not all users can be blocked, depending on their user status (admin, mod, etc.).","tags":["profile"],"description":"Blocks a user. Note that not all users can be blocked, depending on their user status (admin, mod, etc.).","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileBlockBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileBlockResponse"}}}}}}},"\/profile\/unblock":{"post":{"operationId":"unblockUser","summary":"Unblocks a user. Will not throw any error when the user is not blocked.","tags":["profile"],"description":"Unblocks a user. Will not throw any error when the user is not blocked.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileUnblockBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileUnblockResponse"}}}}}}},"\/profile\/blockTag":{"post":{"operationId":"blockTag","summary":"Adds a tag to the user's tag-block list. Items containing this tag will be hidden in feed and search.","tags":["profile"],"description":"Adds a tag to the user's tag-block list. Items containing this tag will be hidden in feed and search.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileBlocktagBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileBlocktagResponse"}}}}}}},"\/profile\/unblockTag":{"post":{"operationId":"unblockTag","summary":"Removes a tag from the user's tag-block list. Will not throw any error when the tag is not blocked.","tags":["profile"],"description":"Removes a tag from the user's tag-block list. Will not throw any error when the tag is not blocked.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/ProfileUnblocktagBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileUnblocktagResponse"}}}}}}},"\/profile\/comments":{"get":{"operationId":"getUserComments","summary":"Gets the comments of a user with respect to before\/after.","tags":["profile"],"description":"Gets the comments of a user with respect to before\/after.","security":[{"pr0Auth":["profile.comments"]}],"parameters":[{"in":"query","name":"name","required":true,"schema":{"$ref":"#\/components\/schemas\/UserName"}},{"in":"query","name":"before","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"after","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"flags","required":false,"schema":{"$ref":"#\/components\/schemas\/ItemFlags"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileCommentsResponse"}}}}}}},"\/profile\/commentLikes":{"get":{"operationId":"getUserCommentLikes","summary":"Gets the liked comments of a user with respect to before\/after.","tags":["profile"],"description":"Gets the liked comments of a user with respect to before\/after.","security":[{"pr0Auth":["profile.commentlikes"]}],"parameters":[{"in":"query","name":"name","required":true,"schema":{"$ref":"#\/components\/schemas\/UserName"}},{"in":"query","name":"before","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"after","required":false,"schema":{"$ref":"#\/components\/schemas\/Timestamp"}},{"in":"query","name":"flags","required":false,"schema":{"$ref":"#\/components\/schemas\/ItemFlags"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileCommentlikesResponse"}}}}}}},"\/profile\/suggest":{"get":{"operationId":"getNameSuggestion","summary":"Gets suggestions for user names based on a specified prefix. Can be used for auto completion.","tags":["profile"],"description":"Gets suggestions for user names based on a specified prefix. Can be used for auto completion.","security":[{"pr0Auth":["profile.suggest"]}],"parameters":[{"in":"query","name":"prefix","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileSuggestResponse"}}}}}}},"\/promobanners\/active":{"get":{"operationId":"getActivePromoBanners","summary":"Gets all active promo banners","tags":["promobanners"],"description":"Gets all active promo banners","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetActivePromoBannersResponse"}}}}}}},"\/push\/subscribe":{"post":{"operationId":"subscribeToPushNotifications","summary":"Subscribes to web push notifications. Just send the subscription as the body (form-url-encoded :harold.jpg:).","tags":["push"],"description":"Subscribes to web push notifications. Just send the subscription as the body (form-url-encoded :harold.jpg:).","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/PushSubscribeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PushSubscribeResponse"}}}}}}},"\/push\/unsubscribe":{"post":{"operationId":"unsubscribeFromPushNotifications","summary":"Unsubscribes from web push notifications.","tags":["push"],"description":"Unsubscribes from web push notifications.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/PushUnsubscribeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PushUnsubscribeResponse"}}}}}}},"\/seen\/version":{"get":{"operationId":"getSeenDataVersion","summary":"Gets current version of seen data for the current user. If `version` is null, the user does not have any data on the server.","tags":[],"description":"Gets current version of seen data for the current user. If `version` is null, the user does not have any data on the server.","security":[{"pr0Auth":["seen.version"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SeenVersionResponse"}}}}}}},"\/seen\/bits":{"get":{"operationId":"getSeenData","summary":"Gets seen data for the current user.","tags":[],"description":"Gets seen data for the current user.","security":[{"pr0Auth":["seen.bits"]}],"parameters":[{"in":"query","name":"binary","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"uncompressed","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SeenBitsResponse"}}}}}}},"\/seen\/update":{"post":{"operationId":"update","summary":"Updates seen data for the current user (app compatibility endpoint).","tags":[],"description":"Updates seen data for the current user (app compatibility endpoint).","security":[{"csrfProtected":[]}],"parameters":[{"in":"query","name":"compressed","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SeenUpdateResponse"}}}}}}},"\/seen\/data":{"get":{"operationId":"getSeenDataBinary","summary":"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.","tags":[],"description":"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.","security":[{"pr0Auth":["seen.data"]}],"parameters":[{"in":"query","name":"compressed","required":true,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application\/octet-stream":{"schema":{"$ref":"#\/components\/schemas\/BinaryBlob"}}}}}}},"\/seen\/edit":{"post":{"operationId":"edit","summary":"Edits\/updates seen data for the current user (frontend endpoint).","tags":[],"description":"Edits\/updates seen data for the current user (frontend endpoint).","security":[{"csrfProtected":[]}],"parameters":[{"in":"query","name":"nonce","required":true,"schema":{"type":"string"}},{"in":"query","name":"version","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SeenEditResponse"}}}}}}},"\/stats\/user":{"get":{"operationId":"getUserStats","summary":"Returns common stats for the current user. Requires a paid subscription.","tags":["user-stats"],"description":"Returns common stats for the current user. Requires a paid subscription.","security":[{"pr0Auth":["stats.user"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatsUserResponse"}}}}}}},"\/stats\/scoreHistory":{"get":{"operationId":"getScoreHistory","summary":"Returns the score history for the current user.","tags":["user-stats"],"description":"Returns the score history for the current user.","security":[{"pr0Auth":["stats.scorehistory"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatsScorehistoryResponse"}}}}}}},"\/stickers\/list":{"get":{"operationId":"getStickers","summary":"Lists available stickers","tags":["stickers"],"description":"Lists available stickers","parameters":[{"in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"query","name":"tag","required":false,"schema":{"type":"string"}},{"in":"query","name":"order","required":false,"schema":{"$ref":"#\/components\/schemas\/StickerOrder"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StickersListResponse"}}}}}}},"\/stickers\/search":{"get":{"operationId":"searchStickers","summary":"Searches stickers by tags or names","tags":["stickers"],"description":"Searches stickers by tags or names","parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StickersSearchResponse"}}}}}}},"\/stickers\/byTag":{"get":{"operationId":"getStickersByTag","summary":"Gets stickers for a specific tag","tags":["stickers"],"description":"Gets stickers for a specific tag","parameters":[{"in":"query","name":"tag","required":true,"schema":{"type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StickersBytagResponse"}}}}}}},"\/stickers\/upload":{"post":{"operationId":"uploadSticker","summary":"Uploads a new sticker","tags":["stickers"],"description":"Uploads a new sticker","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/StickersUploadBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StickersUploadResponse"}}}}}}},"\/stickers\/delete":{"post":{"operationId":"deleteSticker","summary":"Deletes an own sticker","tags":["stickers"],"description":"Deletes an own sticker","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/StickersDeleteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StickersDeleteResponse"}}}}}}},"\/subscriptions\/getSubscription":{"get":{"operationId":"getSubscription","summary":"Gets the current user's content subscription settings.","tags":["subscriptions"],"description":"Gets the current user's content subscription settings.","security":[{"pr0Auth":["subscriptions.getsubscription"]}],"parameters":[{"in":"query","name":"type","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetContentSubscriptionResponse"}}}}}}},"\/subscriptions\/updateSubscription":{"post":{"operationId":"updateSubscription","summary":"Updates the current user's content subscription settings.","tags":["subscriptions"],"description":"Updates the current user's content subscription settings.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/SubscriptionsUpdatesubscriptionBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateContentSubscriptionResponse"}}}}}}},"\/tags\/add":{"post":{"operationId":"addTags","summary":"Adds multiple tags to an item. Tags must be comma-separated.","tags":["tags"],"description":"Adds multiple tags to an item. Tags must be comma-separated.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/TagsAddBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TagsAddResponse"}}}}}}},"\/tags\/vote":{"post":{"operationId":"voteTag","summary":"Vote on a tag.","tags":["tags"],"description":"Vote on a tag.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/TagsVoteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/tags\/latest":{"get":{"operationId":"getLatestTags","summary":"Returns the latest tags across the whole site.","tags":["tags"],"description":"Returns the latest tags across the whole site.","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TagsLatestResponse"}}}}}}},"\/tags\/top":{"get":{"operationId":"getTopTags","summary":"List of top tags for tag recommendations.","tags":["tags"],"description":"List of top tags for tag recommendations.","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TagsTopResponse"}}}}}}},"\/tags\/chronicle":{"get":{"operationId":"getTagChronicle","summary":"Returns the tag chronicle for a specific year.","tags":["tags"],"description":"Returns the tag chronicle for a specific year.","security":[{"pr0Auth":["tags.chronicle"]}],"parameters":[{"in":"query","name":"year","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TagsChronicleResponse"}}}}}}},"\/tags\/searchChronicle":{"get":{"operationId":"searchChronicle","summary":"Searches for event tags in the chronicle","tags":["tags"],"description":"Searches for event tags in the chronicle","security":[{"pr0Auth":["tags.searchchronicle"]}],"parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TagsSearchchronicleResponse"}}}}}}},"\/textpost\/tldr":{"post":{"operationId":"tldr","summary":"Erzeugt eine KI-Kurzzusammenfassung (tl;dr) f\u00fcr einen Text-Post","tags":["textpost"],"description":"Erzeugt eine KI-Kurzzusammenfassung (tl;dr) f\u00fcr einen Text-Post","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/TextpostTldrBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TextpostTldrResponse"}}}}}}},"\/user\/selfBan":{"post":{"operationId":"selfBan","summary":"Bans the user of the current session.","tags":["user"],"description":"Bans the user of the current session.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserSelfbanBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSelfBanResponse"}}}}}}},"\/user\/selfExclusion":{"post":{"operationId":"selfExclusion","summary":"Exclude the user of the current session from filter flag.","tags":["user"],"description":"Exclude the user of the current session from filter flag.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserSelfexclusionBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSelfExclusionResponse"}}}}}}},"\/user\/identifier":{"get":{"operationId":"getUserIdentifier","summary":"Gets the globally unique identifier of the logged-in user.","tags":["user"],"description":"Gets the globally unique identifier of the logged-in user.","security":[{"pr0Auth":["user.identifier"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserIdentifierResponse"}}}}}}},"\/user\/score":{"get":{"operationId":"getUserScore","summary":"Gets the score (\"benis\") of the logged-in user.","tags":["user"],"description":"Gets the score (\"benis\") of the logged-in user.","security":[{"pr0Auth":["user.score"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserScoreResponse"}}}}}}},"\/user\/sync":{"get":{"operationId":"fetchSyncLog","summary":"Returns the sync log of the logged-in user.","tags":["user"],"description":"Returns the sync log of the logged-in user.","security":[{"pr0Auth":["user.sync"]}],"parameters":[{"in":"query","name":"offset","required":true,"schema":{"$ref":"#\/components\/schemas\/SyncOffset"}},{"in":"query","name":"chunked","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSyncResponse"}}}}}}},"\/user\/resetSyncLog":{"post":{"operationId":"resetSyncLog","summary":"Resets the sync log and seen data for the current user.","tags":["user"],"description":"Resets the sync log and seen data for the current user.","security":[{"csrfProtected":[]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}}}}},"\/user\/login":{"post":{"operationId":"logIn","summary":"Well, log in.","tags":["user"],"description":"Well, log in.","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserLoginBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserLoginResponse"}}}}}}},"\/user\/logout":{"post":{"operationId":"logOut","summary":"Well, logs out.","tags":["user"],"description":"Well, logs out.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserLogoutBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserLogoutResponse"}}}}}}},"\/user\/loadInvite":{"get":{"operationId":"loadInvite","summary":"Loads information about an invite token.","tags":["user"],"description":"Loads information about an invite token.","parameters":[{"in":"query","name":"token","required":true,"schema":{"$ref":"#\/components\/schemas\/InviteToken"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserLoadinviteResponse"}}}}}}},"\/user\/validate":{"post":{"operationId":"validate","summary":"Validates email address using token from email. Does not require authentication. Sets session cookie on success.","tags":["user"],"description":"Validates email address using token from email. Does not require authentication. Sets session cookie on success.","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserValidateBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserValidateResponse"}}}}}}},"\/user\/getExcludedFlags":{"get":{"operationId":"getExcludedFlags","summary":"Gets the excluded flags of the current user with their valid until date.","tags":["user"],"description":"Gets the excluded flags of the current user with their valid until date.","security":[{"pr0Auth":["user.getexcludedflags"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserGetexcludedflagsResponse"}}}}}}},"\/user\/followList":{"get":{"operationId":"getFollowList","summary":"Gets the users that the current logged-in user is following.","tags":["user"],"description":"Gets the users that the current logged-in user is following.","security":[{"pr0Auth":["user.followlist"]}],"parameters":[{"in":"query","name":"flags","required":true,"schema":{"$ref":"#\/components\/schemas\/ItemFlags"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserFollowlistResponse"}}}}}}},"\/user\/tagFollowList":{"get":{"operationId":"getTagFollowList","summary":"Gets the tags the current logged-in user has subscribed to, newest first.","tags":["user"],"description":"Gets the tags the current logged-in user has subscribed to, newest first.","security":[{"pr0Auth":["user.tagfollowlist"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserTagfollowlistResponse"}}}}}}},"\/user\/blockList":{"get":{"operationId":"getBlockList","summary":"Gets the blocked users of the logged-in user.","tags":["user"],"description":"Gets the blocked users of the logged-in user.","security":[{"pr0Auth":["user.blocklist"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserBlocklistResponse"}}}}}}},"\/user\/blockedTags":{"get":{"operationId":"getBlockedTags","summary":"Gets the tags blocked by the logged-in user, newest first.","tags":["user"],"description":"Gets the tags blocked by the logged-in user, newest first.","security":[{"pr0Auth":["user.blockedtags"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserBlockedtagsResponse"}}}}}}},"\/user\/sendPasswordResetMail":{"post":{"operationId":"sendPasswordResetMail","summary":"Sends the password reset mail. Triggers initial, E-mail based password recovery","tags":["user"],"description":"Sends the password reset mail. Triggers initial, E-mail based password recovery","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserSendpasswordresetmailBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSendpasswordresetmailResponse"}}}}}}},"\/user\/resetPassword":{"post":{"operationId":"resetPassword","summary":"Triggers password reset.","tags":["user"],"description":"Triggers password reset.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserResetpasswordBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserResetpasswordResponse"}}}}}}},"\/user\/ageVerified":{"get":{"operationId":"getAgeVerifiedStatus","summary":"Gets the status of the age validation of the current user.","tags":["user"],"description":"Gets the status of the age validation of the current user.","security":[{"pr0Auth":["user.ageverified"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAgeverifiedResponse"}}}}}}},"\/user\/info":{"get":{"operationId":"getUserInfo","summary":"Get the info of current user.","tags":["user"],"description":"Get the info of current user.","security":[{"pr0Auth":["user.info"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInfoResponse"}}}}}}},"\/user\/changePassword":{"post":{"operationId":"changePassword","summary":"Changes the password of the current user.","tags":["user"],"description":"Changes the password of the current user.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserChangepasswordBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserChangePasswordResponse"}}}}}}},"\/user\/changeSecurity":{"post":{"operationId":"changeSecuritySettings","summary":"Sets if the user gets a device mail.","tags":["user"],"description":"Sets if the user gets a device mail.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserChangesecurityBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserChangesecurityResponse"}}}}}}},"\/user\/confirmEmail":{"post":{"operationId":"confirmEmail","summary":"Simple email re-confirmation via click. Only for users whose email was previously verified.","tags":["user"],"description":"Simple email re-confirmation via click. Only for users whose email was previously verified.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserConfirmemailBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInfoResponse"}}}}}}},"\/user\/sendEmailVerification":{"post":{"operationId":"sendEmailVerification","summary":"Sends a verification email to confirm the user's current email address.","tags":["user"],"description":"Sends a verification email to confirm the user's current email address.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserSendemailverificationBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendEmailVerificationResponse"}}}}}}},"\/user\/confirmEmailToken":{"post":{"operationId":"confirmEmailToken","summary":"Confirms the user's email address using a verification token from email.","tags":["user"],"description":"Confirms the user's email address using a verification token from email.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserConfirmemailtokenBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInfoResponse"}}}}}}},"\/user\/requestEmailChange":{"post":{"operationId":"requestEmailChange","summary":"Triggers change of e-mail address.","tags":["user"],"description":"Triggers change of e-mail address.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserRequestemailchangeBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserRequestEmailChangeResponse"}}}}}}},"\/user\/changeEmail":{"post":{"operationId":"changeEmail","summary":"Changes the e-mail address of a user.","tags":["user"],"description":"Changes the e-mail address of a user.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserChangeemailBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserChangeemailResponse"}}}}}}},"\/user\/changeName":{"post":{"operationId":"changeUserName","summary":"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.","tags":["user"],"description":"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.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserChangenameBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserChangeNameResponse"}}}}}}},"\/user\/invite":{"post":{"operationId":"sendInvite","summary":"Sends an invitation to a user. Decrements available invites of the current user.","tags":["user"],"description":"Sends an invitation to a user. Decrements available invites of the current user.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserInviteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInviteResponse"}}}}}}},"\/user\/detachInvite":{"post":{"operationId":"detachInvite","summary":"Detaches an invitee of the current user.","tags":["user"],"description":"Detaches an invitee of the current user.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserDetachinviteBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserDetachInviteResponse"}}}}}}},"\/user\/detachSelf":{"post":{"operationId":"detachSelf","summary":"Detaches the user's account from his inviter.","tags":["user"],"description":"Detaches the user's account from his inviter.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserDetachselfBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserDetachSelfResponse"}}}}}}},"\/user\/siteSetting":{"post":{"operationId":"updateSiteSetting","summary":"Updates the settings that were passed.","tags":["user"],"description":"Updates the settings that were passed.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserSitesettingBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInfoResponse"}}}}}}},"\/user\/getSiteSetting":{"get":{"operationId":"getSiteSetting","summary":"Gets a single site setting.","tags":["user"],"description":"Gets a single site setting.","security":[{"pr0Auth":["user.getsitesetting"]}],"parameters":[{"in":"query","name":"key","required":true,"schema":{"$ref":"#\/components\/schemas\/UpdatableSiteSetting"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserGetsitesettingResponse"}}}}}}},"\/user\/siteSettings":{"post":{"operationId":"updateSiteSettings","summary":"Updates the user's settings regarding the UI and account settings.","tags":["user"],"description":"Updates the user's settings regarding the UI and account settings.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserSitesettingsBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInfoResponse"}}}}}}},"\/user\/name":{"get":{"operationId":"getUserName","summary":"Gets the username of the logged-in user.","tags":["user"],"description":"Gets the username of the logged-in user.","security":[{"pr0Auth":["user.name"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserNameResponse"}}}}}}},"\/user\/me":{"get":{"operationId":"getMe","summary":"Returns if the request is done with a session that has a valid user.","tags":["user"],"description":"Returns if the request is done with a session that has a valid user.","responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserMeResponse"}}}}}}},"\/user\/hasBetaAccess":{"get":{"operationId":"hasBetaAccess","summary":"Whether the user has access to the beta.","tags":["user"],"description":"Whether the user has access to the beta.","parameters":[{"in":"query","name":"user","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserHasbetaaccessResponse"}}}}}}},"\/user\/requestAccountDeletion":{"post":{"operationId":"requestAccountDeletion","summary":"Request account deletion. Sends confirmation email.","tags":["user"],"description":"Request account deletion. Sends confirmation email.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserRequestaccountdeletionBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RequestAccountDeletionResponse"}}}}}}},"\/user\/confirmAccountDeletion":{"post":{"operationId":"confirmAccountDeletion","summary":"Confirm account deletion via email link. Starts 7-day cooling-off period.","tags":["user"],"description":"Confirm account deletion via email link. Starts 7-day cooling-off period.","security":[{"csrfProtected":[]}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/UserConfirmaccountdeletionBodyParams"}}}},"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfirmAccountDeletionResponse"}}}}}}},"\/user\/cancelAccountDeletion":{"post":{"operationId":"cancelAccountDeletion","summary":"Cancel a pending account deletion during cooling-off period.","tags":["user"],"description":"Cancel a pending account deletion during cooling-off period.","security":[{"csrfProtected":[]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CancelAccountDeletionResponse"}}}}}}},"\/user\/deletionStatus":{"get":{"operationId":"deletionStatus","summary":"Get current account deletion status.","tags":["user"],"description":"Get current account deletion status.","security":[{"pr0Auth":["user.deletionstatus"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserDeletionStatusResponse"}}}}}}},"\/user\/dataExportStatus":{"get":{"operationId":"dataExportStatus","summary":"Check if data export is available.","tags":["user"],"description":"Check if data export is available.","security":[{"pr0Auth":["user.dataexportstatus"]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DataExportStatusResponse"}}}}}}},"\/user\/dataExport":{"post":{"operationId":"dataExport","summary":"Download Bestandsdaten-Auskunft (inventory data disclosure). Format: html (default) or json for machine-readable export (Art. 20 DSGVO).","tags":["user"],"description":"Download Bestandsdaten-Auskunft (inventory data disclosure). Format: html (default) or json for machine-readable export (Art. 20 DSGVO).","security":[{"csrfProtected":[]}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DataExportResponse"}}}}}}},"\/variants\/getForPlayback":{"get":{"operationId":"getVariantsForPlayback","summary":"Gets available quality variants for adaptive video playback.","tags":["media-variants"],"description":"Gets available quality variants for adaptive video playback.","parameters":[{"in":"query","name":"itemId","required":true,"schema":{"$ref":"#\/components\/schemas\/ItemId"}}],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariantsGetforplaybackResponse"}}}}}}}}}