diff --git a/public/openapi/read.yaml b/public/openapi/read.yaml index dfd418e627..947c6851b8 100644 --- a/public/openapi/read.yaml +++ b/public/openapi/read.yaml @@ -126,6 +126,456 @@ components: properties: html: type: string + UserObject: + type: object + properties: + uid: + type: number + description: A user identifier + example: 1 + username: + type: string + description: A friendly name for a given user account + example: Dragon Fruit + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + example: dragon-fruit + email: + type: string + description: Email address associated with the user account + example: dragonfruit@example.org + 'email:confirmed': + type: number + description: Whether the user has confirmed their email address or not + example: 1 + joindate: + type: number + description: A UNIX timestamp representing the moment the user's account was created + example: 1585337827953 + lastonline: + type: number + description: A UNIX timestamp representing the moment the user was last recorded online on this site + example: 1585337827953 + picture: + type: string + description: A URL pointing to a picture to be used as the user's avatar + example: 'https://images.unsplash.com/photo-1560070094-e1f2ddec4337?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80' + fullname: + type: string + example: Mr. Dragon Fruit Jr. + location: + type: string + example: 'Toronto, Canada' + birthday: + type: string + description: A birthdate given in an ISO format parseable by the Date object + example: 03/27/2020 + website: + type: string + example: 'https://example.org' + aboutme: + type: string + example: | + This is a paragraph all about how my life got twist-turned upside-down + and I'd like to take a minute and sit right here, + to tell you all about how I because the administrator of NodeBB + signature: + type: string + example: | + This is an example signature + It can span multiple lines. + uploadedpicture: + type: string + example: /assets/profile/1-profileimg.png + description: 'In almost all cases, defer to "picture" instead. Use this if you need to specifically reference the picture uploaded to the forum.' + profileviews: + type: number + description: The number of times this user's profile has been viewed + example: 1000 + reputation: + type: number + description: The user's reputation score on the forum. Out-of-the-box, users gain/lose reputation points based on upvotes/downvotes, though plugins can alter the logic and criterion for awarding reputation points + example: 100 + postcount: + type: number + example: 1000 + topiccount: + type: number + example: 50 + lastposttime: + type: number + description: A UNIX timestamp representing the moment the user posted last + example: 1585337827953 + banned: + type: number + description: A Boolean representing whether a user is banned or not + example: 0 + 'banned:expire': + type: number + description: A UNIX timestamp representing the moment the ban will be lifted + example: 1585337827953 + status: + type: string + enum: + - online + - offline + - dnd + - away + example: online + flags: + type: number + example: 0 + followercount: + type: number + example: 2 + followingcount: + type: number + example: 5 + 'cover:url': + type: string + example: /assets/profile/1-cover.png + 'cover:position': + type: string + example: 50.0301% 19.2464% + groupTitle: + type: string + example: '["administrators","Staff"]' + groupTitleArray: + type: array + example: + - administrators + - Staff + 'icon:text': + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + example: D + 'icon:bgColor': + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: '#9c27b0' + joindateISO: + type: string + example: '2020-03-27T20:30:36.590Z' + lastonlineISO: + type: string + example: '2020-03-27T20:30:36.590Z' + banned_until: + type: number + description: A UNIX timestamp representing the moment a ban will be lifted + example: 0 + banned_until_readable: + type: string + description: An ISO 8601 formatted date string representing the moment a ban will be lifted, or the words "Not Banned" + example: Not Banned + UserObjectFull: + type: object + properties: + uid: + type: number + description: A user identifier + example: 1 + username: + type: string + description: A friendly name for a given user account + example: Dragon Fruit + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + example: dragon-fruit + email: + type: string + description: Email address associated with the user account + example: dragonfruit@example.org + 'email:confirmed': + type: number + description: Whether the user has confirmed their email address or not + example: 1 + joindate: + type: number + description: A UNIX timestamp representing the moment the user's account was created + example: 1585337827953 + lastonline: + type: number + description: A UNIX timestamp representing the moment the user was last recorded online on this site + example: 1585337827953 + picture: + type: string + description: A URL pointing to a picture to be used as the user's avatar + example: 'https://images.unsplash.com/photo-1560070094-e1f2ddec4337?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80' + fullname: + type: string + example: Mr. Dragon Fruit Jr. + location: + type: string + example: 'Toronto, Canada' + birthday: + type: string + description: A birthdate given in an ISO format parseable by the Date object + example: 03/27/2020 + website: + type: string + example: 'https://example.org' + aboutme: + type: string + example: | + This is a paragraph all about how my life got twist-turned upside-down + and I'd like to take a minute and sit right here, + to tell you all about how I because the administrator of NodeBB + signature: + type: string + example: | + This is an example signature + It can span multiple lines. + uploadedpicture: + type: string + example: /assets/profile/1-profileimg.png + description: 'In almost all cases, defer to "picture" instead. Use this if you need to specifically reference the picture uploaded to the forum.' + profileviews: + type: number + description: The number of times this user's profile has been viewed + example: 1000 + reputation: + type: number + description: The user's reputation score on the forum. Out-of-the-box, users gain/lose reputation points based on upvotes/downvotes, though plugins can alter the logic and criterion for awarding reputation points + example: 100 + postcount: + type: number + example: 1000 + topiccount: + type: number + example: 50 + lastposttime: + type: number + description: A UNIX timestamp representing the moment the user posted last + example: 1585337827953 + banned: + type: number + description: A Boolean representing whether a user is banned or not + example: 0 + 'banned:expire': + type: number + description: A UNIX timestamp representing the moment the ban will be lifted + example: 1585337827953 + status: + type: string + enum: + - online + - offline + - dnd + - away + example: online + flags: + type: number + example: 0 + followercount: + type: number + example: 2 + followingcount: + type: number + example: 5 + 'cover:url': + type: string + example: /assets/profile/1-cover.png + 'cover:position': + type: string + example: 50.0301% 19.2464% + groupTitle: + type: string + example: '["administrators","Staff"]' + groupTitleArray: + type: array + example: + - administrators + - Staff + 'icon:text': + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + example: D + 'icon:bgColor': + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: '#9c27b0' + joindateISO: + type: string + example: '2020-03-27T20:30:36.590Z' + lastonlineISO: + type: string + example: '2020-03-27T20:30:36.590Z' + banned_until: + type: number + description: A UNIX timestamp representing the moment a ban will be lifted + example: 0 + banned_until_readable: + type: string + description: An ISO 8601 formatted date string representing the moment a ban will be lifted, or the words "Not Banned" + example: Not Banned + aboutmeParsed: + type: string + age: + type: number + emailClass: + type: string + ips: + type: array + items: + type: string + moderationNote: + type: string + isBlocked: + type: boolean + blocksCount: + type: number + yourid: + type: number + theirid: + type: number + isTargetAdmin: + type: boolean + isAdmin: + type: boolean + isGlobalModerator: + type: boolean + isModerator: + type: boolean + isAdminOrGlobalModerator: + type: boolean + isAdminOrGlobalModeratorOrModerator: + type: boolean + isSelfOrAdminOrGlobalModerator: + type: boolean + canEdit: + type: boolean + canBan: + type: boolean + canChangePassword: + type: boolean + isSelf: + type: boolean + isFollowing: + type: boolean + hasPrivateChat: + type: number + showHidden: + type: boolean + groups: + type: array + items: {} + disableSignatures: + type: boolean + reputation:disabled: + type: boolean + downvote:disabled: + type: boolean + profile_links: + type: array + items: + type: object + properties: + id: + type: string + route: + type: string + name: + type: string + visibility: + type: object + properties: + self: + type: boolean + other: + type: boolean + moderator: + type: boolean + globalMod: + type: boolean + admin: + type: boolean + canViewInfo: + type: boolean + public: + type: boolean + icon: + type: string + sso: + type: array + items: + type: object + properties: + associated: + type: boolean + url: + type: string + name: + type: string + icon: + type: string + deauthUrl: + type: string + websiteLink: + type: string + websiteName: + type: string + username:disableEdit: + type: number + email:disableEdit: + type: number + Breadcrumbs: + type: object + properties: + breadcrumbs: + type: array + items: + type: object + properties: + text: + type: string + url: + type: string + Pagination: + type: object + properties: + pagination: + type: object + properties: + prev: + type: object + properties: + page: + type: number + active: + type: boolean + next: + type: object + properties: + page: + type: number + active: + type: boolean + first: + type: object + properties: + page: + type: number + active: + type: boolean + last: + type: object + properties: + page: + type: number + active: + type: boolean + rel: + type: array + items: {} + pages: + type: array + items: {} + currentPage: + type: number + pageCount: + type: number paths: /api/: get: @@ -750,99 +1200,7 @@ paths: timestamp: type: number user: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - type: string - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: number - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - type: string - gplusid: - type: string - githubid: - type: string - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string + $ref: '#/components/schemas/UserObject' timestampISO: type: string description: An ISO 8601 formatted date string (complementing `timestamp`) @@ -1614,54 +1972,7 @@ paths: users: type: array items: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - postcount: - type: number - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - banned: - type: number - reputation: - type: number - picture: - nullable: true - type: string - flags: - nullable: true - lastonline: - type: number - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until_readable: - type: string - administrator: - type: boolean + $ref: '#/components/schemas/UserObject' page: type: number pageCount: @@ -1895,54 +2206,7 @@ paths: users: type: array items: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - postcount: - type: number - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - banned: - type: number - reputation: - type: number - picture: - nullable: true - type: string - flags: - nullable: true - lastonline: - type: number - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until_readable: - type: string - administrator: - type: boolean + $ref: '#/components/schemas/UserObject' page: type: number pageCount: @@ -2099,54 +2363,7 @@ paths: users: type: array items: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - postcount: - type: number - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - banned: - type: number - reputation: - type: number - picture: - nullable: true - type: string - flags: - nullable: true - lastonline: - type: number - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until_readable: - type: string - administrator: - type: boolean + $ref: '#/components/schemas/UserObject' page: type: number pageCount: @@ -2572,58 +2789,12 @@ paths: members: type: array items: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - type: string - status: - type: string - postcount: - type: number - reputation: - type: number - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - lastonline: - type: number - flags: - nullable: true - banned: - type: number - banned:expire: - type: number - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - administrator: - type: boolean - isOwner: - type: boolean + allOf: + - $ref: '#/components/schemas/UserObject' + - type: object + properties: + isOwner: + type: boolean membersNextStart: type: number pending: @@ -4216,6 +4387,7 @@ paths: style: type: string /api/me: + # This is confusing -- /me redirect to user profile, but /api/me doesn't? get: tags: - shorthand @@ -4226,212 +4398,7 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - type: string - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - deauthUrl: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - "401": - description: "" - content: - application/json: - schema: - title: not-authorized - type: undefined + $ref: '#/components/schemas/UserObjectFull' "/api/user/uid/{uid}": get: tags: @@ -4449,93 +4416,7 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - location: - nullable: true - birthday: - nullable: true - website: - nullable: true - aboutme: - type: string - signature: - nullable: true - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: number - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - nullable: true - cover:position: - nullable: true - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string + $ref: '#/components/schemas/UserObject' "/api/user/username/{username}": get: tags: @@ -4547,7 +4428,13 @@ paths: required: true schema: type: string - responses: {} + responses: + "200": + description: "" + content: + application/json: + schema: + $ref: '#/components/schemas/UserObject' "/api/user/email/{email}": get: tags: @@ -4565,201 +4452,7 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - type: string - signature: - nullable: true - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: number - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - type: string - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - text/plain: - schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - type: string - signature: - nullable: true - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: number - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - type: string - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - "404": - description: "" - content: - application/json: - schema: - type: object - properties: - path: - type: string - title: - type: string - text/plain: - schema: - type: object - properties: - path: - type: string - title: - type: string + $ref: '#/components/schemas/UserObject' "/api/user/uid/{userslug}/export/posts": get: tags: @@ -9160,116 +8853,7 @@ paths: assignees: type: array items: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - nullable: true - type: string - fullname: - nullable: true - type: string - location: - nullable: true - type: string - birthday: - nullable: true - type: string - website: - nullable: true - type: string - aboutme: - nullable: true - type: string - signature: - nullable: true - type: string - uploadedpicture: - nullable: true - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: number - banned:expire: - type: number - status: - type: string - flags: - nullable: true - type: number - followerCount: - type: number - followingCount: - type: number - cover:url: - nullable: true - type: string - cover:position: - nullable: true - type: string - groupTitle: - type: string - fbid: - nullable: true - type: string - gplusid: - oneOf: - - type: string - - type: number - nullable: true - githubid: - nullable: true - type: string - twid: - nullable: true - type: string - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string + $ref: '#/components/schemas/UserObject' type_bool: type: object properties: @@ -12754,7 +12338,7 @@ paths: get: tags: - users - summary: /api/user/{userslug} + summary: Get user profile parameters: - name: userslug in: path @@ -12767,2087 +12351,570 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - type: string - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: - type: object - properties: - name: - type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - description: - type: string - memberCount: - type: number - deleted: - type: string - hidden: - type: number - system: - type: number - private: - type: number - ownerUid: - type: number - icon: - type: string - labelColor: - type: string - cover:url: - type: string - cover:position: - type: string - userTitleEnabled: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - nameEncoded: - type: string - displayName: - type: string - textColor: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: {} - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - deauthUrl: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - posts: - type: array - items: - type: object - properties: - pid: - type: number - tid: - type: number - description: A topic identifier - content: - type: string - uid: - type: number - description: A user identifier - timestamp: - type: number - deleted: - type: boolean - upvotes: - type: number - downvotes: - type: number - votes: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - user: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - type: string - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - topic: - type: object - properties: - uid: - type: number - description: A user identifier - tid: - type: number - description: A topic identifier - title: - type: string - cid: - type: number - description: A category identifier - slug: - type: string - deleted: - type: number - postcount: - type: number - mainPid: - type: number - description: The post id of the first post in this topic (also called the "original post") - titleRaw: - type: string - category: - type: object - properties: - cid: - type: number - description: A category identifier - name: - type: string - icon: - type: string - slug: - type: string - parentCid: - type: number - description: The category identifier for the category that is the immediate ancestor of the current category - bgColor: - type: string - color: - type: string - image: - nullable: true - imageClass: - nullable: true - isMainPost: - type: boolean - latestPosts: - type: array - items: - type: object - properties: - pid: - type: number - tid: - type: number - description: A topic identifier - content: - type: string - uid: - type: number - description: A user identifier - timestamp: - type: number - deleted: - type: boolean - upvotes: - type: number - downvotes: - type: number - votes: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - user: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - type: string - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - topic: - type: object - properties: - uid: - type: number - description: A user identifier - tid: - type: number - description: A topic identifier - title: - type: string - cid: - type: number - description: A category identifier - slug: - type: string - deleted: - type: number - postcount: - type: number - mainPid: - type: number - description: The post id of the first post in this topic (also called the "original post") - titleRaw: - type: string - category: - type: object - properties: - cid: - type: number - description: A category identifier - name: - type: string - icon: - type: string - slug: - type: string - parentCid: - type: number - description: The category identifier for the category that is the immediate ancestor of the current category - bgColor: - type: string - color: - type: string - image: - nullable: true - imageClass: - nullable: true - isMainPost: - type: boolean - bestPosts: - type: array - items: - type: object - properties: - pid: - type: number - tid: - type: number - description: A topic identifier - content: - type: string - uid: - type: number - description: A user identifier - timestamp: - type: number - deleted: - type: boolean - upvotes: - type: number - downvotes: - type: number - votes: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - user: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - type: string - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - topic: - type: object - properties: - uid: - type: number - description: A user identifier - tid: - type: number - description: A topic identifier - title: - type: string - cid: - type: number - description: A category identifier - slug: - type: string - deleted: - type: number - postcount: - type: number - mainPid: - type: number - description: The post id of the first post in this topic (also called the "original post") - titleRaw: - type: string - category: - type: object - properties: - cid: - type: number - description: A category identifier - name: - type: string - icon: - type: string - slug: - type: string - parentCid: - type: number - description: The category identifier for the category that is the immediate ancestor of the current category - bgColor: - type: string - color: - type: string - image: - nullable: true - imageClass: - nullable: true - type: string - isMainPost: - type: boolean - hasPrivateChat: - type: number - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - title: - type: string - allowCoverPicture: - type: boolean - selectedGroup: - type: array - items: - type: object - properties: - name: - type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - description: - type: string - memberCount: - type: number - deleted: - type: string - hidden: - type: number - system: - type: number - private: - type: number - ownerUid: - type: number - icon: - type: string - labelColor: - type: string - cover:url: - type: string - cover:position: - type: string - userTitleEnabled: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - nameEncoded: - type: string - displayName: - type: string - textColor: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - name: - type: string - account/profile: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + posts: type: array items: type: object properties: - html: - type: string - text/plain: - schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - type: string - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: - type: object - properties: - name: - type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - description: - type: string - memberCount: - type: number - deleted: - type: string - hidden: - type: number - system: - type: number - private: - type: number - ownerUid: - type: number - icon: - type: string - labelColor: - type: string - cover:url: - type: string - cover:position: - type: string - userTitleEnabled: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - nameEncoded: - type: string - displayName: - type: string - textColor: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: {} - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - deauthUrl: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - posts: - type: array - items: - type: object - properties: - pid: - type: number - tid: - type: number - description: A topic identifier - content: - type: string - uid: - type: number - description: A user identifier - timestamp: - type: number - deleted: - type: boolean - upvotes: - type: number - downvotes: - type: number - votes: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - user: - type: object - properties: - uid: + pid: type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - type: string - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - topic: - type: object - properties: - uid: - type: number - description: A user identifier tid: type: number description: A topic identifier - title: + content: type: string - cid: + uid: + type: number + description: A user identifier + timestamp: type: number - description: A category identifier - slug: - type: string deleted: + type: boolean + upvotes: type: number - postcount: + downvotes: type: number - mainPid: + votes: type: number - description: The post id of the first post in this topic (also called the "original post") - titleRaw: + timestampISO: type: string - category: - type: object - properties: - cid: - type: number - description: A category identifier - name: - type: string - icon: - type: string - slug: - type: string - parentCid: - type: number - description: The category identifier for the category that is the immediate ancestor of the current category - bgColor: - type: string - color: - type: string - image: - nullable: true - imageClass: - nullable: true - isMainPost: - type: boolean - latestPosts: - type: array - items: - type: object - properties: - pid: - type: number - tid: - type: number - description: A topic identifier - content: - type: string - uid: - type: number - description: A user identifier - timestamp: - type: number - deleted: - type: boolean - upvotes: - type: number - downvotes: - type: number - votes: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - user: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - type: string - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - topic: - type: object - properties: - uid: - type: number - description: A user identifier - tid: - type: number - description: A topic identifier - title: - type: string - cid: - type: number - description: A category identifier - slug: - type: string - deleted: - type: number - postcount: - type: number - mainPid: - type: number - description: The post id of the first post in this topic (also called the "original post") - titleRaw: - type: string - category: - type: object - properties: - cid: - type: number - description: A category identifier - name: - type: string - icon: - type: string - slug: - type: string - parentCid: - type: number - description: The category identifier for the category that is the immediate ancestor of the current category - bgColor: - type: string - color: - type: string - image: - nullable: true - imageClass: - nullable: true - isMainPost: - type: boolean - bestPosts: - type: array - items: - type: object - properties: - pid: - type: number - tid: - type: number - description: A topic identifier - content: - type: string - uid: - type: number - description: A user identifier - timestamp: - type: number - deleted: - type: boolean - upvotes: - type: number - downvotes: - type: number - votes: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - user: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - type: string - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - topic: - type: object - properties: - uid: - type: number - description: A user identifier - tid: - type: number - description: A topic identifier - title: - type: string - cid: - type: number - description: A category identifier - slug: - type: string - deleted: - type: number - postcount: - type: number - mainPid: - type: number - description: The post id of the first post in this topic (also called the "original post") - titleRaw: - type: string - category: - type: object - properties: - cid: - type: number - description: A category identifier - name: - type: string - icon: - type: string - slug: - type: string - parentCid: - type: number - description: The category identifier for the category that is the immediate ancestor of the current category - bgColor: - type: string - color: - type: string - image: - nullable: true - imageClass: - nullable: true - type: string - isMainPost: - type: boolean - hasPrivateChat: - type: number - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - title: - type: string - allowCoverPicture: - type: boolean - selectedGroup: - type: array - items: - type: object - properties: - name: - type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - description: - type: string - memberCount: - type: number - deleted: - type: string - hidden: - type: number - system: - type: number - private: - type: number - ownerUid: - type: number - icon: - type: string - labelColor: - type: string - cover:url: - type: string - cover:position: - type: string - userTitleEnabled: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - nameEncoded: - type: string - displayName: - type: string - textColor: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: - type: string - account/profile: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: + description: An ISO 8601 formatted date string (complementing `timestamp`) + user: type: object properties: - name: + uid: + type: number + description: A user identifier + username: type: string - content: + description: A friendly name for a given user account + userslug: type: string - noEscape: - type: boolean - property: + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + picture: type: string - link: - type: array - items: + status: + type: string + icon:text: + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + icon:bgColor: + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: "#f44336" + topic: type: object properties: - rel: - type: string - type: - type: string - href: - type: string + uid: + type: number + description: A user identifier + tid: + type: number + description: A topic identifier title: type: string - sizes: + cid: + type: number + description: A category identifier + slug: type: string - widgets: - type: object - properties: - footer: + deleted: + type: number + postcount: + type: number + mainPid: + type: number + description: The post id of the first post in this topic (also called the "original post") + titleRaw: + type: string + category: + type: object + properties: + cid: + type: number + description: A category identifier + name: + type: string + icon: + type: string + slug: + type: string + parentCid: + type: number + description: The category identifier for the category that is the immediate ancestor of the current category + bgColor: + type: string + color: + type: string + image: + nullable: true + imageClass: + nullable: true + isMainPost: + type: boolean + latestPosts: type: array items: type: object properties: - html: + pid: + type: number + tid: + type: number + description: A topic identifier + content: type: string - "304": - description: "" - "404": - description: "" - content: - application/json: - schema: - type: string - example: Not Found - text/plain: - schema: - type: string - example: Not Found + uid: + type: number + description: A user identifier + timestamp: + type: number + deleted: + type: boolean + upvotes: + type: number + downvotes: + type: number + votes: + type: number + timestampISO: + type: string + description: An ISO 8601 formatted date string (complementing `timestamp`) + user: + type: object + properties: + uid: + type: number + description: A user identifier + username: + type: string + description: A friendly name for a given user account + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + picture: + type: string + status: + type: string + icon:text: + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + icon:bgColor: + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: "#f44336" + topic: + type: object + properties: + uid: + type: number + description: A user identifier + tid: + type: number + description: A topic identifier + title: + type: string + cid: + type: number + description: A category identifier + slug: + type: string + deleted: + type: number + postcount: + type: number + mainPid: + type: number + description: The post id of the first post in this topic (also called the "original post") + titleRaw: + type: string + category: + type: object + properties: + cid: + type: number + description: A category identifier + name: + type: string + icon: + type: string + slug: + type: string + parentCid: + type: number + description: The category identifier for the category that is the immediate ancestor of the current category + bgColor: + type: string + color: + type: string + image: + nullable: true + imageClass: + nullable: true + isMainPost: + type: boolean + bestPosts: + type: array + items: + type: object + properties: + pid: + type: number + tid: + type: number + description: A topic identifier + content: + type: string + uid: + type: number + description: A user identifier + timestamp: + type: number + deleted: + type: boolean + upvotes: + type: number + downvotes: + type: number + votes: + type: number + timestampISO: + type: string + description: An ISO 8601 formatted date string (complementing `timestamp`) + user: + type: object + properties: + uid: + type: number + description: A user identifier + username: + type: string + description: A friendly name for a given user account + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + picture: + type: string + status: + type: string + icon:text: + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + icon:bgColor: + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: "#f44336" + topic: + type: object + properties: + uid: + type: number + description: A user identifier + tid: + type: number + description: A topic identifier + title: + type: string + cid: + type: number + description: A category identifier + slug: + type: string + deleted: + type: number + postcount: + type: number + mainPid: + type: number + description: The post id of the first post in this topic (also called the "original post") + titleRaw: + type: string + category: + type: object + properties: + cid: + type: number + description: A category identifier + name: + type: string + icon: + type: string + slug: + type: string + parentCid: + type: number + description: The category identifier for the category that is the immediate ancestor of the current category + bgColor: + type: string + color: + type: string + image: + nullable: true + imageClass: + nullable: true + type: string + isMainPost: + type: boolean + hasPrivateChat: + type: number + breadcrumbs: + type: array + items: + type: object + properties: + text: + type: string + url: + type: string + title: + type: string + allowCoverPicture: + type: boolean + selectedGroup: + type: array + items: + type: object + properties: + name: + type: string + slug: + type: string + createtime: + type: number + userTitle: + type: string + description: + type: string + memberCount: + type: number + deleted: + type: string + hidden: + type: number + system: + type: number + private: + type: number + ownerUid: + type: number + icon: + type: string + labelColor: + type: string + cover:url: + type: string + cover:position: + type: string + userTitleEnabled: + type: number + disableJoinRequests: + type: number + disableLeave: + type: number + nameEncoded: + type: string + displayName: + type: string + textColor: + type: string + createtimeISO: + type: string + cover:thumb:url: + type: string + template: + type: object + properties: + name: + type: string + account/profile: + type: boolean + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/following": get: tags: - users - summary: /api/user/{userslug}/following + summary: Get followed users parameters: - name: userslug in: path required: true schema: type: string + - name: page + in: query + schema: + type: number responses: "200": description: "" content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - type: string - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - deauthUrl: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - title: - type: string - users: - type: array - items: {} - pagination: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: - type: array - items: {} - pages: - type: array - items: {} - currentPage: - type: number - pageCount: - type: number - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: + title: type: string - account/following: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + users: type: array items: type: object properties: - html: + uid: + type: number + description: A user identifier + username: type: string + description: A friendly name for a given user account + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + picture: + nullable: true + type: string + status: + type: string + postcount: + type: number + reputation: + type: number + email:confirmed: + type: number + description: Whether the user has confirmed their email address or not + lastonline: + type: number + flags: + nullable: true + banned: + type: number + banned:expire: + type: number + joindate: + type: number + description: A UNIX timestamp representing the moment the user's account was created + icon:text: + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + icon:bgColor: + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: "#f44336" + joindateISO: + type: string + lastonlineISO: + type: string + banned_until: + type: number + banned_until_readable: + type: string + administrator: + type: boolean + template: + type: object + properties: + name: + type: string + account/following: + type: boolean + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/followers": get: tags: - users - summary: /api/user/{userslug}/followers + summary: Get followers parameters: - name: userslug in: path required: true schema: type: string + - name: page + in: query + schema: + type: number responses: "200": description: "" content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - type: string - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - type: string - gplusid: - type: string - githubid: - type: string - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - aboutmeParsed: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: - type: object - properties: - name: - type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - description: - type: string - memberCount: - type: number - deleted: - oneOf: - - type: string - - type: number - hidden: - type: number - system: - type: number - private: - type: number - ownerUid: - type: number - icon: - type: string - labelColor: - type: string - userTitleEnabled: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - nameEncoded: - type: string - displayName: - type: string - textColor: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - cover:url: - type: string - cover:position: - type: string - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - deauthUrl: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - moderationNote: - type: string - username:disableEdit: - type: boolean - email:disableEdit: - type: boolean - title: - type: string - users: - type: array - items: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - nullable: true - type: string - status: - type: string - postcount: - type: number - reputation: - type: number - email:confirmed: - type: number - description: Whether the user has confirmed their email address or not - lastonline: - type: number - flags: - nullable: true - banned: - type: number - banned:expire: - type: number - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - administrator: - type: boolean - pagination: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - rel: - type: array - items: - type: object - properties: - rel: - type: string - href: - type: string - pages: - type: array - items: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - currentPage: - type: number - pageCount: - type: number - prev: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - next: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - first: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - last: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: + title: type: string - account/followers: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + users: type: array items: type: object properties: - html: + uid: + type: number + description: A user identifier + username: type: string + description: A friendly name for a given user account + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + picture: + nullable: true + type: string + status: + type: string + postcount: + type: number + reputation: + type: number + email:confirmed: + type: number + description: Whether the user has confirmed their email address or not + lastonline: + type: number + flags: + nullable: true + banned: + type: number + banned:expire: + type: number + joindate: + type: number + description: A UNIX timestamp representing the moment the user's account was created + icon:text: + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + icon:bgColor: + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: "#f44336" + joindateISO: + type: string + lastonlineISO: + type: string + banned_until: + type: number + banned_until_readable: + type: string + administrator: + type: boolean + template: + type: object + properties: + name: + type: string + account/followers: + type: boolean + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/categories": get: tags: @@ -14865,346 +12932,54 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - type: string - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - nullable: true - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: - type: object - properties: - name: - type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - description: - type: string - memberCount: - type: number - deleted: - type: number - hidden: - type: number - system: - type: number - private: - type: number - cover:url: - type: string - cover:position: - type: string - icon: - type: string - labelColor: - type: string - userTitleEnabled: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - nameEncoded: - type: string - displayName: - type: string - textColor: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - categories: - type: array - items: - type: object - properties: - cid: - type: number - description: A category identifier - name: - type: string - level: - type: string - icon: - type: string - parentCid: - type: number - description: The category identifier for the category that is the immediate ancestor of the current category - color: - type: string - bgColor: - type: string - descriptionParsed: - type: string - depth: - type: number - slug: - type: string - isIgnored: - type: boolean - isWatched: - type: boolean - isNotWatched: - type: boolean - imageClass: - type: string - title: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - name: - type: string - account/categories: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + categories: type: array items: type: object properties: - html: + cid: + type: number + description: A category identifier + name: type: string + level: + type: string + icon: + type: string + parentCid: + type: number + description: The category identifier for the category that is the immediate ancestor of the current category + color: + type: string + bgColor: + type: string + descriptionParsed: + type: string + depth: + type: number + slug: + type: string + isIgnored: + type: boolean + isWatched: + type: boolean + isNotWatched: + type: boolean + imageClass: + type: string + title: + type: string + template: + type: object + properties: + name: + type: string + account/categories: + type: boolean "/api/user/{userslug}/posts": get: tags: @@ -15222,333 +12997,42 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - nullable: true - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - posts: - type: array - items: {} - nextStart: - type: number - pagination: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: + posts: type: array items: {} - pages: - type: array - items: {} - currentPage: + nextStart: type: number - pageCount: - type: number - noItemsFoundKey: - type: string - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - showSort: - type: boolean - sortOptions: - type: array - items: - type: object - properties: - url: - type: string - name: - type: string - selected: - type: boolean - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: + noItemsFoundKey: type: string - account/posts: + title: + type: string + showSort: type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + sortOptions: type: array items: type: object properties: - html: + url: type: string + name: + type: string + selected: + type: boolean + template: + type: object + properties: + name: + type: string + account/posts: + type: boolean + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/topics": get: tags: @@ -15566,294 +13050,156 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - nullable: true - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: {} - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - topics: - type: array - items: - type: object - properties: - tid: - type: number - description: A topic identifier - uid: - type: number - description: A user identifier - cid: - type: number - description: A category identifier - title: - type: string - slug: - type: string - timestamp: - type: number - lastposttime: - type: number - postcount: - type: number - viewcount: - type: number - thumb: - type: string - mainPid: - type: number - description: The post id of the first post in this topic (also called the "original post") - teaserPid: - type: number - upvotes: - type: number - downvotes: - type: number - deleted: - type: number - locked: - type: number - pinned: - type: number - description: Whether or not this particular topic is pinned to the top of the category - titleRaw: - type: string - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - lastposttimeISO: - type: string - votes: - type: number - category: + allOf: + - $ref: '#/components/schemas/UserObject' + - type: object + properties: + age: + type: number + emailClass: + type: string + moderationNote: + type: string + isBlocked: + type: boolean + yourid: + type: number + theirid: + type: number + isTargetAdmin: + type: boolean + isAdmin: + type: boolean + isGlobalModerator: + type: boolean + isModerator: + type: boolean + isAdminOrGlobalModerator: + type: boolean + isAdminOrGlobalModeratorOrModerator: + type: boolean + isSelfOrAdminOrGlobalModerator: + type: boolean + canEdit: + type: boolean + canBan: + type: boolean + canChangePassword: + type: boolean + isSelf: + type: boolean + isFollowing: + type: boolean + showHidden: + type: boolean + groups: + type: array + items: {} + disableSignatures: + type: boolean + reputation:disabled: + type: boolean + downvote:disabled: + type: boolean + profile_links: + type: array + items: {} + sso: + type: array + items: type: object properties: - cid: - type: number - description: A category identifier - name: + associated: + type: boolean + url: type: string - slug: + name: type: string icon: type: string - image: - nullable: true - imageClass: - nullable: true - bgColor: - type: string - color: - type: string - disabled: - type: number - user: + websiteLink: + type: string + websiteName: + type: string + username:disableEdit: + type: number + email:disableEdit: + type: number + topics: + type: array + items: type: object properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - reputation: - type: number - postcount: - type: number - picture: - nullable: true - signature: - type: string - banned: - type: number - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - banned_until_readable: - type: string - teaser: - type: object - properties: - pid: - type: number - uid: - type: number - description: A user identifier - timestamp: - type: number tid: type: number description: A topic identifier - content: + uid: + type: number + description: A user identifier + cid: + type: number + description: A category identifier + title: + type: string + slug: + type: string + timestamp: + type: number + lastposttime: + type: number + postcount: + type: number + viewcount: + type: number + thumb: + type: string + mainPid: + type: number + description: The post id of the first post in this topic (also called the "original post") + teaserPid: + type: number + upvotes: + type: number + downvotes: + type: number + deleted: + type: number + locked: + type: number + pinned: + type: number + description: Whether or not this particular topic is pinned to the top of the category + titleRaw: type: string timestampISO: type: string description: An ISO 8601 formatted date string (complementing `timestamp`) + lastposttimeISO: + type: string + votes: + type: number + category: + type: object + properties: + cid: + type: number + description: A category identifier + name: + type: string + slug: + type: string + icon: + type: string + image: + nullable: true + imageClass: + nullable: true + bgColor: + type: string + color: + type: string + disabled: + type: number user: type: object properties: @@ -15866,8 +13212,17 @@ paths: userslug: type: string description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + reputation: + type: number + postcount: + type: number picture: nullable: true + signature: + type: string + banned: + type: number + status: type: string icon:text: type: string @@ -15876,154 +13231,197 @@ paths: type: string description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon example: "#f44336" - index: - type: number - tags: - type: array - items: {} - isOwner: - type: boolean - ignored: - type: boolean - unread: - type: boolean - bookmark: - nullable: true - unreplied: - type: boolean - icons: - type: array - items: {} - index: - type: number - nextStart: - type: number - pagination: - type: object - properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: - type: array - items: {} - pages: - type: array - items: {} - currentPage: - type: number - pageCount: - type: number - noItemsFoundKey: - type: string - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - showSort: - type: boolean - sortOptions: - type: array - items: - type: object - properties: - url: - type: string - name: - type: string - selected: - type: boolean - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: - type: string - account/topics: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: + banned_until_readable: + type: string + teaser: type: object properties: - name: - type: string + pid: + type: number + uid: + type: number + description: A user identifier + timestamp: + type: number + tid: + type: number + description: A topic identifier content: type: string - noEscape: - type: boolean - property: + timestampISO: type: string - link: + description: An ISO 8601 formatted date string (complementing `timestamp`) + user: + type: object + properties: + uid: + type: number + description: A user identifier + username: + type: string + description: A friendly name for a given user account + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + picture: + nullable: true + type: string + icon:text: + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + icon:bgColor: + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: "#f44336" + index: + type: number + tags: + type: array + items: {} + isOwner: + type: boolean + ignored: + type: boolean + unread: + type: boolean + bookmark: + nullable: true + unreplied: + type: boolean + icons: + type: array + items: {} + index: + type: number + nextStart: + type: number + pagination: + type: object + properties: + prev: + type: object + properties: + page: + type: number + active: + type: boolean + next: + type: object + properties: + page: + type: number + active: + type: boolean + first: + type: object + properties: + page: + type: number + active: + type: boolean + last: + type: object + properties: + page: + type: number + active: + type: boolean + rel: type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + items: {} + pages: + type: array + items: {} + currentPage: + type: number + pageCount: + type: number + noItemsFoundKey: + type: string + title: + type: string + breadcrumbs: type: array items: type: object properties: - html: + text: type: string + url: + type: string + showSort: + type: boolean + sortOptions: + type: array + items: + type: object + properties: + url: + type: string + name: + type: string + selected: + type: boolean + loggedIn: + type: boolean + relative_path: + type: string + template: + type: object + properties: + name: + type: string + account/topics: + type: boolean + url: + type: string + bodyClass: + type: string + _header: + type: object + properties: + tags: + type: object + properties: + meta: + type: array + items: + type: object + properties: + name: + type: string + content: + type: string + noEscape: + type: boolean + property: + type: string + link: + type: array + items: + type: object + properties: + rel: + type: string + type: + type: string + href: + type: string + title: + type: string + sizes: + type: string + widgets: + type: object + properties: + footer: + type: array + items: + type: object + properties: + html: + type: string + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/best": get: tags: @@ -16041,401 +13439,140 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - nullable: true - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - nullable: true - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - type: string - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: {} - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - deauthUrl: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - posts: - type: array - items: - type: object - properties: - pid: - type: number - tid: - type: number - description: A topic identifier - content: - type: string - uid: - type: number - description: A user identifier - timestamp: - type: number - deleted: - type: boolean - upvotes: - type: number - downvotes: - type: number - votes: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - user: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - picture: - nullable: true - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - topic: - type: object - properties: - uid: - type: number - description: A user identifier - tid: - type: number - description: A topic identifier - title: - type: string - cid: - type: number - description: A category identifier - slug: - type: string - deleted: - type: number - postcount: - type: number - mainPid: - type: number - description: The post id of the first post in this topic (also called the "original post") - titleRaw: - type: string - category: - type: object - properties: - cid: - type: number - description: A category identifier - name: - type: string - icon: - type: string - slug: - type: string - parentCid: - type: number - description: The category identifier for the category that is the immediate ancestor of the current category - bgColor: - type: string - color: - type: string - image: - nullable: true - imageClass: - nullable: true - isMainPost: - type: boolean - nextStart: - type: number - pagination: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: - type: array - items: {} - pages: - type: array - items: {} - currentPage: - type: number - pageCount: - type: number - noItemsFoundKey: - type: string - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - showSort: - type: boolean - sortOptions: - type: array - items: - type: object - properties: - url: - type: string - name: - type: string - selected: - type: boolean - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: - type: string - account/best: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + posts: type: array items: type: object properties: - html: + pid: + type: number + tid: + type: number + description: A topic identifier + content: type: string + uid: + type: number + description: A user identifier + timestamp: + type: number + deleted: + type: boolean + upvotes: + type: number + downvotes: + type: number + votes: + type: number + timestampISO: + type: string + description: An ISO 8601 formatted date string (complementing `timestamp`) + user: + type: object + properties: + uid: + type: number + description: A user identifier + username: + type: string + description: A friendly name for a given user account + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + picture: + nullable: true + status: + type: string + icon:text: + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + icon:bgColor: + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: "#f44336" + topic: + type: object + properties: + uid: + type: number + description: A user identifier + tid: + type: number + description: A topic identifier + title: + type: string + cid: + type: number + description: A category identifier + slug: + type: string + deleted: + type: number + postcount: + type: number + mainPid: + type: number + description: The post id of the first post in this topic (also called the "original post") + titleRaw: + type: string + category: + type: object + properties: + cid: + type: number + description: A category identifier + name: + type: string + icon: + type: string + slug: + type: string + parentCid: + type: number + description: The category identifier for the category that is the immediate ancestor of the current category + bgColor: + type: string + color: + type: string + image: + nullable: true + imageClass: + nullable: true + isMainPost: + type: boolean + nextStart: + type: number + noItemsFoundKey: + type: string + title: + type: string + showSort: + type: boolean + sortOptions: + type: array + items: + type: object + properties: + url: + type: string + name: + type: string + selected: + type: boolean + template: + type: object + properties: + name: + type: string + account/best: + type: boolean + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/groups": get: tags: @@ -16453,272 +13590,19 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - nullable: true - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - name: + title: type: string - account/groups: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + template: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: - type: array - items: - type: object - properties: - html: - type: string + name: + type: string + account/groups: + type: boolean "304": description: "" "/api/user/{userslug}/bookmarks": @@ -16738,333 +13622,245 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - nullable: true - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - posts: - type: array - items: {} - nextStart: - type: number - pagination: - type: object + allOf: + - $ref: '#/components/schemas/UserObject' + - type: object properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: - type: array - items: {} - pages: - type: array - items: {} - currentPage: + age: type: number - pageCount: - type: number - noItemsFoundKey: - type: string - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - showSort: - type: boolean - sortOptions: - type: array - items: - type: object - properties: - url: - type: string - name: - type: string - selected: - type: boolean - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: + emailClass: type: string - account/bookmarks: + ips: + type: array + items: + type: string + moderationNote: + type: string + isBlocked: type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + blocksCount: + type: number + yourid: + type: number + theirid: + type: number + isTargetAdmin: + type: boolean + isAdmin: + type: boolean + isGlobalModerator: + type: boolean + isModerator: + type: boolean + isAdminOrGlobalModerator: + type: boolean + isAdminOrGlobalModeratorOrModerator: + type: boolean + isSelfOrAdminOrGlobalModerator: + type: boolean + canEdit: + type: boolean + canBan: + type: boolean + canChangePassword: + type: boolean + isSelf: + type: boolean + isFollowing: + type: boolean + showHidden: + type: boolean + groups: + type: array + items: {} + disableSignatures: + type: boolean + reputation:disabled: + type: boolean + downvote:disabled: + type: boolean + profile_links: type: array items: type: object properties: - html: + id: type: string + route: + type: string + name: + type: string + visibility: + type: object + properties: + self: + type: boolean + other: + type: boolean + moderator: + type: boolean + globalMod: + type: boolean + admin: + type: boolean + canViewInfo: + type: boolean + public: + type: boolean + icon: + type: string + sso: + type: array + items: + type: object + properties: + associated: + type: boolean + url: + type: string + name: + type: string + icon: + type: string + websiteLink: + type: string + websiteName: + type: string + username:disableEdit: + type: number + email:disableEdit: + type: number + posts: + type: array + items: {} + nextStart: + type: number + pagination: + type: object + properties: + prev: + type: object + properties: + page: + type: number + active: + type: boolean + next: + type: object + properties: + page: + type: number + active: + type: boolean + first: + type: object + properties: + page: + type: number + active: + type: boolean + last: + type: object + properties: + page: + type: number + active: + type: boolean + rel: + type: array + items: {} + pages: + type: array + items: {} + currentPage: + type: number + pageCount: + type: number + noItemsFoundKey: + type: string + title: + type: string + breadcrumbs: + type: array + items: + type: object + properties: + text: + type: string + url: + type: string + showSort: + type: boolean + sortOptions: + type: array + items: + type: object + properties: + url: + type: string + name: + type: string + selected: + type: boolean + loggedIn: + type: boolean + relative_path: + type: string + template: + type: object + properties: + name: + type: string + account/bookmarks: + type: boolean + url: + type: string + bodyClass: + type: string + _header: + type: object + properties: + tags: + type: object + properties: + meta: + type: array + items: + type: object + properties: + name: + type: string + content: + type: string + noEscape: + type: boolean + property: + type: string + link: + type: array + items: + type: object + properties: + rel: + type: string + type: + type: string + href: + type: string + title: + type: string + sizes: + type: string + widgets: + type: object + properties: + footer: + type: array + items: + type: object + properties: + html: + type: string "/api/user/{userslug}/watched": get: tags: @@ -17082,391 +13878,249 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - type: string - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - type: string - gplusid: - type: string - githubid: - type: string - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - aboutmeParsed: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: - type: object - properties: - name: + allOf: + - $ref: '#/components/schemas/UserObject' + - type: object + properties: + aboutmeParsed: + type: string + age: + type: number + emailClass: + type: string + ips: + type: array + items: type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - description: - type: string - memberCount: - type: number - deleted: - oneOf: - - type: string - - type: number - hidden: - type: number - system: - type: number - private: - type: number - ownerUid: - type: number - icon: - type: string - labelColor: - type: string - userTitleEnabled: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - nameEncoded: - type: string - displayName: - type: string - textColor: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - cover:url: - type: string - cover:position: - type: string - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: + isBlocked: + type: boolean + blocksCount: + type: number + yourid: + type: number + theirid: + type: number + isTargetAdmin: + type: boolean + isAdmin: + type: boolean + isGlobalModerator: + type: boolean + isModerator: + type: boolean + isAdminOrGlobalModerator: + type: boolean + isAdminOrGlobalModeratorOrModerator: + type: boolean + isSelfOrAdminOrGlobalModerator: + type: boolean + canEdit: + type: boolean + canBan: + type: boolean + canChangePassword: + type: boolean + isSelf: + type: boolean + isFollowing: + type: boolean + hasPrivateChat: + type: number + showHidden: + type: boolean + groups: + type: array + items: type: object properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - deauthUrl: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - moderationNote: - type: string - username:disableEdit: - type: boolean - email:disableEdit: - type: boolean - topics: - type: array - items: - type: object - properties: - tid: - type: number - description: A topic identifier - uid: - type: number - description: A user identifier - cid: - type: number - description: A category identifier - mainPid: - type: number - description: The post id of the first post in this topic (also called the "original post") - title: - type: string - slug: - type: string - timestamp: - type: number - lastposttime: - type: number - postcount: - type: number - viewcount: - type: number - teaserPid: - oneOf: - - type: number - - type: string - upvotes: - type: number - downvotes: - type: number - deleted: - type: number - locked: - type: number - pinned: - type: number - description: Whether or not this particular topic is pinned to the top of the category - deleterUid: - type: number - titleRaw: - type: string - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - lastposttimeISO: - type: string - votes: - type: number - category: - type: object - properties: - cid: - type: number - description: A category identifier name: type: string slug: type: string + createtime: + type: number + userTitle: + type: string + description: + type: string + memberCount: + type: number + deleted: + oneOf: + - type: string + - type: number + hidden: + type: number + system: + type: number + private: + type: number + ownerUid: + type: number icon: type: string - image: - nullable: true + labelColor: type: string - imageClass: - nullable: true - type: string - bgColor: - type: string - color: - type: string - disabled: + userTitleEnabled: type: number - user: + disableJoinRequests: + type: number + disableLeave: + type: number + nameEncoded: + type: string + displayName: + type: string + textColor: + type: string + createtimeISO: + type: string + cover:thumb:url: + type: string + cover:url: + type: string + cover:position: + type: string + disableSignatures: + type: boolean + reputation:disabled: + type: boolean + downvote:disabled: + type: boolean + profile_links: + type: array + items: type: object properties: - uid: - type: number - description: A user identifier - username: + id: type: string - description: A friendly name for a given user account - userslug: + route: type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - reputation: - type: number - postcount: - type: number - picture: + name: type: string - signature: - nullable: true + visibility: + type: object + properties: + self: + type: boolean + other: + type: boolean + moderator: + type: boolean + globalMod: + type: boolean + admin: + type: boolean + canViewInfo: + type: boolean + public: + type: boolean + icon: type: string - banned: - type: number - status: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - banned_until_readable: - type: string - fullname: - type: string - teaser: + sso: + type: array + items: + type: object + properties: + associated: + type: boolean + url: + type: string + deauthUrl: + type: string + name: + type: string + icon: + type: string + websiteLink: + type: string + websiteName: + type: string + moderationNote: + type: string + username:disableEdit: + type: boolean + email:disableEdit: + type: boolean + topics: + type: array + items: type: object properties: - pid: - type: number - uid: - type: number - description: A user identifier - timestamp: - type: number tid: type: number description: A topic identifier - content: + uid: + type: number + description: A user identifier + cid: + type: number + description: A category identifier + mainPid: + type: number + description: The post id of the first post in this topic (also called the "original post") + title: + type: string + slug: + type: string + timestamp: + type: number + lastposttime: + type: number + postcount: + type: number + viewcount: + type: number + teaserPid: + oneOf: + - type: number + - type: string + upvotes: + type: number + downvotes: + type: number + deleted: + type: number + locked: + type: number + pinned: + type: number + description: Whether or not this particular topic is pinned to the top of the category + deleterUid: + type: number + titleRaw: type: string timestampISO: type: string description: An ISO 8601 formatted date string (complementing `timestamp`) + lastposttimeISO: + type: string + votes: + type: number + category: + type: object + properties: + cid: + type: number + description: A category identifier + name: + type: string + slug: + type: string + icon: + type: string + image: + nullable: true + type: string + imageClass: + nullable: true + type: string + bgColor: + type: string + color: + type: string + disabled: + type: number user: type: object properties: @@ -17479,9 +14133,19 @@ paths: userslug: type: string description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + reputation: + type: number + postcount: + type: number picture: + type: string + signature: nullable: true type: string + banned: + type: number + status: + type: string icon:text: type: string description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar @@ -17489,195 +14153,241 @@ paths: type: string description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon example: "#f44336" - index: - type: number - tags: - type: array - items: - type: object - properties: - value: - type: string - valueEscaped: - type: string - color: - type: string - bgColor: - type: string - score: - type: number - isOwner: - type: boolean - ignored: - type: boolean - unread: - type: boolean - bookmark: - nullable: true - type: number - unreplied: - type: boolean - icons: - type: array - items: {} - index: - type: number - thumb: - type: string - isQuestion: - type: number - isSolved: - type: number - nextStart: - type: number - pagination: - type: object - properties: - rel: - type: array - items: - type: object - properties: - rel: - type: string - href: - type: string - pages: - type: array - items: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - currentPage: - type: number - pageCount: - type: number - prev: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - next: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - first: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - last: - type: object - properties: - page: - type: number - active: - type: boolean - qs: - type: string - noItemsFoundKey: - type: string - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - showSort: - type: boolean - sortOptions: - type: array - items: - type: object - properties: - url: - type: string - name: - type: string - selected: - type: boolean - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: - type: string - account/watched: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: + banned_until_readable: + type: string + fullname: + type: string + teaser: type: object properties: - name: - type: string + pid: + type: number + uid: + type: number + description: A user identifier + timestamp: + type: number + tid: + type: number + description: A topic identifier content: type: string - noEscape: - type: boolean - property: + timestampISO: type: string - link: + description: An ISO 8601 formatted date string (complementing `timestamp`) + user: + type: object + properties: + uid: + type: number + description: A user identifier + username: + type: string + description: A friendly name for a given user account + userslug: + type: string + description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + picture: + nullable: true + type: string + icon:text: + type: string + description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar + icon:bgColor: + type: string + description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon + example: "#f44336" + index: + type: number + tags: + type: array + items: + type: object + properties: + value: + type: string + valueEscaped: + type: string + color: + type: string + bgColor: + type: string + score: + type: number + isOwner: + type: boolean + ignored: + type: boolean + unread: + type: boolean + bookmark: + nullable: true + type: number + unreplied: + type: boolean + icons: + type: array + items: {} + index: + type: number + thumb: + type: string + isQuestion: + type: number + isSolved: + type: number + nextStart: + type: number + pagination: + type: object + properties: + rel: type: array items: type: object properties: rel: type: string - type: - type: string href: type: string - title: + pages: + type: array + items: + type: object + properties: + page: + type: number + active: + type: boolean + qs: type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + currentPage: + type: number + pageCount: + type: number + prev: + type: object + properties: + page: + type: number + active: + type: boolean + qs: + type: string + next: + type: object + properties: + page: + type: number + active: + type: boolean + qs: + type: string + first: + type: object + properties: + page: + type: number + active: + type: boolean + qs: + type: string + last: + type: object + properties: + page: + type: number + active: + type: boolean + qs: + type: string + noItemsFoundKey: + type: string + title: + type: string + breadcrumbs: type: array items: type: object properties: - html: + text: type: string + url: + type: string + showSort: + type: boolean + sortOptions: + type: array + items: + type: object + properties: + url: + type: string + name: + type: string + selected: + type: boolean + loggedIn: + type: boolean + relative_path: + type: string + template: + type: object + properties: + name: + type: string + account/watched: + type: boolean + url: + type: string + bodyClass: + type: string + _header: + type: object + properties: + tags: + type: object + properties: + meta: + type: array + items: + type: object + properties: + name: + type: string + content: + type: string + noEscape: + type: boolean + property: + type: string + link: + type: array + items: + type: object + properties: + rel: + type: string + type: + type: string + href: + type: string + title: + type: string + sizes: + type: string + widgets: + type: object + properties: + footer: + type: array + items: + type: object + properties: + html: + type: string + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/ignored": get: tags: @@ -17695,336 +14405,42 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - type: string - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - deauthUrl: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - topics: - type: array - items: {} - nextStart: - type: number - pagination: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: + topics: type: array items: {} - pages: - type: array - items: {} - currentPage: + nextStart: type: number - pageCount: - type: number - noItemsFoundKey: - type: string - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - showSort: - type: boolean - sortOptions: - type: array - items: - type: object - properties: - url: - type: string - name: - type: string - selected: - type: boolean - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: + noItemsFoundKey: type: string - account/ignored: + title: + type: string + showSort: type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + sortOptions: type: array items: type: object properties: - html: + url: type: string + name: + type: string + selected: + type: boolean + template: + type: object + properties: + name: + type: string + account/ignored: + type: boolean + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/upvoted": get: tags: @@ -18066,326 +14482,54 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - type: string - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - deauthUrl: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - maximumSignatureLength: - type: number - maximumAboutMeLength: - type: number - maximumProfileImageSize: - type: number - allowProfilePicture: - type: boolean - allowCoverPicture: - type: boolean - allowProfileImageUploads: - type: number - allowedProfileImageExtensios: - type: string - allowMultipleBadges: - type: boolean - allowAccountDelete: - type: boolean - allowWebsite: - type: boolean - allowAboutMe: - type: boolean - allowSignature: - type: boolean - profileImageDimension: - type: number - defaultAvatar: - type: string - groupSelectSize: - type: number - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - editButtons: - type: array - items: {} - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - name: - type: string - account/edit: + maximumSignatureLength: + type: number + maximumAboutMeLength: + type: number + maximumProfileImageSize: + type: number + allowProfilePicture: type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + allowCoverPicture: + type: boolean + allowProfileImageUploads: + type: number + allowedProfileImageExtensios: + type: string + allowMultipleBadges: + type: boolean + allowAccountDelete: + type: boolean + allowWebsite: + type: boolean + allowAboutMe: + type: boolean + allowSignature: + type: boolean + profileImageDimension: + type: number + defaultAvatar: + type: string + groupSelectSize: + type: number + title: + type: string + editButtons: + type: array + items: {} + template: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: - type: array - items: - type: object - properties: - html: - type: string - "401": - description: "" - content: - application/json: - schema: - title: not-authorized - type: undefined - "403": - description: "" - content: - application/json: - schema: - type: object - properties: - path: - type: string - loggedIn: - type: boolean - title: - type: string + name: + type: string + account/edit: + type: boolean + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/edit/username": get: tags: @@ -18403,288 +14547,23 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - type: string - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - deauthUrl: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - hasPassword: - type: boolean - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - name: - type: string - account/edit/username: + hasPassword: type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + title: + type: string + template: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: - type: array - items: - type: object - properties: - html: - type: string - "403": - description: "" - content: - application/json: - schema: - type: object - properties: - path: - type: string - loggedIn: - type: boolean - title: - type: string + name: + type: string + account/edit/username: + type: boolean + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/edit/email": get: tags: @@ -18702,277 +14581,23 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - nullable: true - githubid: - type: string - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - deauthUrl: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - hasPassword: - type: boolean - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - name: - type: string - account/edit/email: + hasPassword: type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + title: + type: string + template: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: - type: array - items: - type: object - properties: - html: - type: string + name: + type: string + account/edit/email: + type: boolean + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/edit/password": get: tags: @@ -18990,277 +14615,27 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - nullable: true - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - nullable: true - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - hasPassword: - type: boolean - minimumPasswordLength: - type: number - minimumPasswordStrength: - type: number - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - name: - type: string - account/edit/password: + hasPassword: type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + minimumPasswordLength: + type: number + minimumPasswordStrength: + type: number + title: + type: string + template: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: - type: array - items: - type: object - properties: - html: - type: string + name: + type: string + account/edit/password: + type: boolean + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/info": get: tags: @@ -19278,441 +14653,94 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - type: string - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - type: number - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - type: string - gplusid: - type: number - githubid: - type: string - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - aboutmeParsed: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: - type: object - properties: - name: - type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - description: - type: string - memberCount: - type: number - deleted: - oneOf: - - type: string - - type: number - hidden: - type: number - system: - type: number - private: - type: number - ownerUid: - type: number - icon: - type: string - labelColor: - type: string - userTitleEnabled: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - nameEncoded: - type: string - displayName: - type: string - textColor: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - cover:url: - type: string - cover:position: - type: string - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - deauthUrl: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - moderationNote: - type: string - username:disableEdit: - type: boolean - email:disableEdit: - type: boolean - history: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - flags: + history: + type: object + properties: + flags: + type: array + items: + type: object + properties: + pid: + type: number + timestamp: + type: number + timestampISO: + type: string + description: An ISO 8601 formatted date string (complementing `timestamp`) + timestampReadable: + type: string + title: + type: string + titleRaw: + type: string + bans: + type: array + items: {} + sessions: type: array items: type: object properties: - pid: + ip: + type: string + uuid: + type: string + datetime: type: number + platform: + type: string + browser: + type: string + version: + type: string + current: + type: boolean + datetimeISO: + type: string + usernames: + type: array + items: + type: object + properties: + value: + type: string timestamp: type: number timestampISO: type: string description: An ISO 8601 formatted date string (complementing `timestamp`) - timestampReadable: - type: string - title: - type: string - titleRaw: - type: string - bans: - type: array - items: {} - sessions: - type: array - items: - type: object - properties: - ip: - type: string - uuid: - type: string - datetime: - type: number - platform: - type: string - browser: - type: string - version: - type: string - current: - type: boolean - datetimeISO: - type: string - usernames: - type: array - items: - type: object - properties: - value: - type: string - timestamp: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - emails: - type: array - items: - type: object - properties: - value: - type: string - timestamp: - type: number - timestampISO: - type: string - description: An ISO 8601 formatted date string (complementing `timestamp`) - moderationNotes: - type: array - items: {} - pagination: - type: object - properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: - type: array - items: {} - pages: - type: array - items: {} - currentPage: - type: number - pageCount: - type: number - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: - type: string - account/info: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + emails: type: array items: type: object properties: - html: + value: type: string + timestamp: + type: number + timestampISO: + type: string + description: An ISO 8601 formatted date string (complementing `timestamp`) + moderationNotes: + type: array + items: {} + title: + type: string + template: + type: object + properties: + name: + type: string + account/info: + type: boolean + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/settings": get: tags: @@ -19730,628 +14758,303 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - type: string - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - type: string - gplusid: - type: string - githubid: - type: string - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - aboutmeParsed: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - showHidden: - type: boolean - groups: - type: array - items: - type: object - properties: - name: - type: string - slug: - type: string - createtime: - type: number - userTitle: - type: string - userTitleEnabled: - type: number - description: - type: string - memberCount: - type: number - hidden: - type: number - system: - type: number - private: - type: number - disableJoinRequests: - type: number - disableLeave: - type: number - icon: - type: string - labelColor: - type: string - textColor: - type: string - nameEncoded: - type: string - displayName: - type: string - createtimeISO: - type: string - cover:thumb:url: - type: string - cover:url: - type: string - cover:position: - type: string - deleted: - oneOf: - - type: string - - type: number - ownerUid: - type: number - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - deauthUrl: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - moderationNote: - type: string - username:disableEdit: - type: boolean - email:disableEdit: - type: boolean - settings: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - showemail: - type: boolean - usePagination: - type: boolean - topicsPerPage: - type: number - postsPerPage: - type: number - notificationSounds: - type: number - topicPostSort: - type: string - openOutgoingLinksInNewTab: - type: boolean - dailyDigestFreq: - type: string - language: - type: string - showfullname: - type: boolean - followTopicsOnCreate: - type: boolean - followTopicsOnReply: - type: boolean - restrictChat: - type: boolean - topicSearchEnabled: - type: boolean - categoryTopicSort: - type: string - userLang: - type: string - groupTitle: - nullable: true - pushbullet:enabled: - type: number - pushbullet:target: - type: string - bootswatchSkin: - type: string - homePageRoute: - type: string - scrollToMyPost: - type: boolean - delayImageLoading: - type: number - notificationSound: - type: string - incomingChatSound: - type: string - outgoingChatSound: - type: string - notificationType_new-chat: - type: string - notificationType_new-reply: - type: string - sendChatNotifications: - nullable: true - sendPostNotifications: - nullable: true - notificationType_upvote: - type: string - notificationType_new-topic: - type: string - notificationType_follow: - type: string - notificationType_group-invite: - type: string - upvoteNotifFreq: - type: string - notificationType_mention: - type: string - acpLang: - type: string - notificationType_new-register: - type: string - notificationType_post-queue: - type: string - notificationType_new-post-flag: - type: string - notificationType_new-user-flag: - type: string - categoryWatchState: - type: string - notificationType_group-request-membership: - type: string - uid: - type: number - description: A user identifier - languages: - type: array - items: - type: object - properties: - name: - type: string - code: - type: string - dir: - type: string - selected: - type: boolean - acpLanguages: - type: array - items: - type: object - properties: - name: - type: string - code: - type: string - dir: - type: string - selected: - type: boolean - notification-sound: - type: array - items: - type: object - properties: - name: - type: string - sounds: - type: array - items: - type: object - properties: - name: - type: string - value: - type: string - selected: - type: boolean - notificationSound: - type: array - items: - type: object - properties: - name: - type: string - selected: - type: boolean - chat-incoming-sound: - type: array - items: - type: object - properties: - name: - type: string - sounds: - type: array - items: - type: object - properties: - name: - type: string - value: - type: string - selected: - type: boolean - incomingChatSound: - type: array - items: - type: object - properties: - name: - type: string - selected: - type: boolean - chat-outgoing-sound: - type: array - items: - type: object - properties: - name: - type: string - sounds: - type: array - items: - type: object - properties: - name: - type: string - value: - type: string - selected: - type: boolean - outgoingChatSound: - type: array - items: - type: object - properties: - name: - type: string - selected: - type: boolean - customSettings: - type: array - items: {} - homePageRoutes: - type: array - items: - type: object - properties: - route: - type: string - name: - type: string - selected: - type: boolean - notificationSettings: - type: array - items: - type: object - properties: - name: - type: string - label: - type: string - none: - type: boolean - notification: - type: boolean - email: - type: boolean - notificationemail: - type: boolean - disableEmailSubscriptions: - type: number - dailyDigestFreqOptions: - type: array - items: - type: object - properties: - value: - type: string - name: - type: string - selected: - type: boolean - bootswatchSkinOptions: - type: array - items: - type: object - properties: - name: - type: string - value: - type: string - selected: - type: boolean - upvoteNotifFreq: - type: array - items: - type: object - properties: - name: - type: string - selected: - type: boolean - categoryWatchState: - type: object - properties: - watching: - type: boolean - disableCustomUserSkins: - type: number - allowUserHomePage: - type: number - hideFullname: - type: number - hideEmail: - type: number - inTopicSearchAvailable: - type: boolean - maxTopicsPerPage: - type: number - maxPostsPerPage: - type: number - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: - type: string - account/settings: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + settings: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + showemail: + type: boolean + usePagination: + type: boolean + topicsPerPage: + type: number + postsPerPage: + type: number + notificationSounds: + type: number + topicPostSort: + type: string + openOutgoingLinksInNewTab: + type: boolean + dailyDigestFreq: + type: string + language: + type: string + showfullname: + type: boolean + followTopicsOnCreate: + type: boolean + followTopicsOnReply: + type: boolean + restrictChat: + type: boolean + topicSearchEnabled: + type: boolean + categoryTopicSort: + type: string + userLang: + type: string + groupTitle: + nullable: true + pushbullet:enabled: + type: number + pushbullet:target: + type: string + bootswatchSkin: + type: string + homePageRoute: + type: string + scrollToMyPost: + type: boolean + delayImageLoading: + type: number + notificationSound: + type: string + incomingChatSound: + type: string + outgoingChatSound: + type: string + notificationType_new-chat: + type: string + notificationType_new-reply: + type: string + sendChatNotifications: + nullable: true + sendPostNotifications: + nullable: true + notificationType_upvote: + type: string + notificationType_new-topic: + type: string + notificationType_follow: + type: string + notificationType_group-invite: + type: string + upvoteNotifFreq: + type: string + notificationType_mention: + type: string + acpLang: + type: string + notificationType_new-register: + type: string + notificationType_post-queue: + type: string + notificationType_new-post-flag: + type: string + notificationType_new-user-flag: + type: string + categoryWatchState: + type: string + notificationType_group-request-membership: + type: string + uid: + type: number + description: A user identifier + languages: type: array items: type: object properties: - html: + name: type: string - "401": - description: "" - content: - application/json: - schema: - title: not-authorized - type: undefined - "403": - description: "" - content: - application/json: - schema: - type: object - properties: - path: - type: string - loggedIn: - type: boolean - title: - type: string + code: + type: string + dir: + type: string + selected: + type: boolean + acpLanguages: + type: array + items: + type: object + properties: + name: + type: string + code: + type: string + dir: + type: string + selected: + type: boolean + notification-sound: + type: array + items: + type: object + properties: + name: + type: string + sounds: + type: array + items: + type: object + properties: + name: + type: string + value: + type: string + selected: + type: boolean + notificationSound: + type: array + items: + type: object + properties: + name: + type: string + selected: + type: boolean + chat-incoming-sound: + type: array + items: + type: object + properties: + name: + type: string + sounds: + type: array + items: + type: object + properties: + name: + type: string + value: + type: string + selected: + type: boolean + incomingChatSound: + type: array + items: + type: object + properties: + name: + type: string + selected: + type: boolean + chat-outgoing-sound: + type: array + items: + type: object + properties: + name: + type: string + sounds: + type: array + items: + type: object + properties: + name: + type: string + value: + type: string + selected: + type: boolean + outgoingChatSound: + type: array + items: + type: object + properties: + name: + type: string + selected: + type: boolean + customSettings: + type: array + items: {} + homePageRoutes: + type: array + items: + type: object + properties: + route: + type: string + name: + type: string + selected: + type: boolean + notificationSettings: + type: array + items: + type: object + properties: + name: + type: string + label: + type: string + none: + type: boolean + notification: + type: boolean + email: + type: boolean + notificationemail: + type: boolean + disableEmailSubscriptions: + type: number + dailyDigestFreqOptions: + type: array + items: + type: object + properties: + value: + type: string + name: + type: string + selected: + type: boolean + bootswatchSkinOptions: + type: array + items: + type: object + properties: + name: + type: string + value: + type: string + selected: + type: boolean + upvoteNotifFreq: + type: array + items: + type: object + properties: + name: + type: string + selected: + type: boolean + categoryWatchState: + type: object + properties: + watching: + type: boolean + disableCustomUserSkins: + type: number + allowUserHomePage: + type: number + hideFullname: + type: number + hideEmail: + type: number + inTopicSearchAvailable: + type: boolean + maxTopicsPerPage: + type: number + maxPostsPerPage: + type: number + title: + type: string + template: + type: object + properties: + name: + type: string + account/settings: + type: boolean + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/uploads": get: tags: @@ -20369,320 +15072,27 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - nullable: true - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - nullable: true - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - nullable: true - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: - type: string - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - uploads: - type: array - items: {} - pagination: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: + uploads: type: array items: {} - pages: - type: array - items: {} - currentPage: - type: number - pageCount: - type: number - privateUploads: - type: boolean - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: - type: string - account/uploads: + privateUploads: type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + title: + type: string + template: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: - type: array - items: - type: object - properties: - html: - type: string + name: + type: string + account/uploads: + type: boolean + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/consent": get: tags: @@ -20700,284 +15110,30 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - nullable: true - gplusid: - nullable: true - githubid: - type: string - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - deauthUrl: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - gdpr_consent: - type: boolean - digest: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - frequency: - type: string - enabled: + gdpr_consent: type: boolean - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: - type: string - account/consent: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + digest: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: - type: array - items: - type: object - properties: - html: - type: string + frequency: + type: string + enabled: + type: boolean + title: + type: string + template: + type: object + properties: + name: + type: string + account/consent: + type: boolean + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/blocks": get: tags: @@ -20995,319 +15151,25 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - nullable: true - fbid: - type: string - gplusid: - nullable: true - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - deauthUrl: - type: string - name: - type: string - icon: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - users: - type: array - items: {} - title: - type: string - pagination: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - type: object properties: - prev: - type: object - properties: - page: - type: number - active: - type: boolean - next: - type: object - properties: - page: - type: number - active: - type: boolean - first: - type: object - properties: - page: - type: number - active: - type: boolean - last: - type: object - properties: - page: - type: number - active: - type: boolean - rel: + users: type: array items: {} - pages: - type: array - items: {} - currentPage: - type: number - pageCount: - type: number - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object - properties: - name: + title: type: string - account/blocks: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: + template: type: object properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: - type: array - items: - type: object - properties: - html: - type: string + name: + type: string + account/blocks: + type: boolean + - $ref: '#/components/schemas/Pagination' + - $ref: '#/components/schemas/Breadcrumbs' + - $ref: '#/components/schemas/CommonProps' "/api/user/{userslug}/sessions": get: tags: @@ -21325,278 +15187,32 @@ paths: content: application/json: schema: - type: object - properties: - uid: - type: number - description: A user identifier - username: - type: string - description: A friendly name for a given user account - userslug: - type: string - description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) - email: - type: string - description: Email address associated with the user account - email:confirmed: - type: boolean - joindate: - type: number - description: A UNIX timestamp representing the moment the user's account was created - lastonline: - type: number - picture: - type: string - fullname: - type: string - location: - type: string - birthday: - type: string - website: - type: string - aboutme: - nullable: true - signature: - type: string - uploadedpicture: - type: string - profileviews: - type: number - reputation: - type: number - postcount: - type: number - topiccount: - type: number - lastposttime: - type: number - banned: - type: boolean - banned:expire: - type: number - status: - type: string - flags: - nullable: true - followerCount: - type: number - followingCount: - type: number - cover:url: - type: string - cover:position: - type: string - groupTitle: - type: string - fbid: - nullable: true - gplusid: - type: string - githubid: - nullable: true - twid: - nullable: true - groupTitleArray: - type: array - items: {} - icon:text: - type: string - description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar - icon:bgColor: - type: string - description: A six-character hexadecimal colour code assigned to the user. This value is used in conjunction with `icon:text` for the user's auto-generated icon - example: "#f44336" - joindateISO: - type: string - lastonlineISO: - type: string - banned_until: - type: number - banned_until_readable: - type: string - age: - type: number - emailClass: - type: string - ips: - type: array - items: - type: string - moderationNote: - type: string - isBlocked: - type: boolean - blocksCount: - type: number - yourid: - type: number - theirid: - type: number - isTargetAdmin: - type: boolean - isAdmin: - type: boolean - isGlobalModerator: - type: boolean - isModerator: - type: boolean - isAdminOrGlobalModerator: - type: boolean - isAdminOrGlobalModeratorOrModerator: - type: boolean - isSelfOrAdminOrGlobalModerator: - type: boolean - canEdit: - type: boolean - canBan: - type: boolean - canChangePassword: - type: boolean - isSelf: - type: boolean - isFollowing: - type: boolean - hasPrivateChat: - type: number - showHidden: - type: boolean - groups: - type: array - items: {} - disableSignatures: - type: boolean - reputation:disabled: - type: boolean - downvote:disabled: - type: boolean - profile_links: - type: array - items: - type: object - properties: - id: - type: string - route: - type: string - name: - type: string - visibility: - type: object - properties: - self: - type: boolean - other: - type: boolean - moderator: - type: boolean - globalMod: - type: boolean - admin: - type: boolean - canViewInfo: - type: boolean - public: - type: boolean - icon: - type: string - sso: - type: array - items: - type: object - properties: - associated: - type: boolean - url: - type: string - name: - type: string - icon: - type: string - deauthUrl: - type: string - websiteLink: - type: string - websiteName: - type: string - username:disableEdit: - type: number - email:disableEdit: - type: number - sessions: - type: array - items: {} - title: - type: string - breadcrumbs: - type: array - items: - type: object - properties: - text: - type: string - url: - type: string - loggedIn: - type: boolean - relative_path: - type: string - template: - type: object + allOf: + - $ref: '#/components/schemas/UserObjectFull' + - $ref: '#/components/schemas/CommonProps' + - type: object properties: - name: + sessions: + type: array + items: {} + title: type: string - account/sessions: - type: boolean - url: - type: string - bodyClass: - type: string - _header: - type: object - properties: - tags: - type: object - properties: - meta: - type: array - items: - type: object - properties: - name: - type: string - content: - type: string - noEscape: - type: boolean - property: - type: string - link: - type: array - items: - type: object - properties: - rel: - type: string - type: - type: string - href: - type: string - title: - type: string - sizes: - type: string - widgets: - type: object - properties: - footer: + breadcrumbs: type: array items: type: object properties: - html: + text: type: string + url: + type: string + template: + type: object + properties: + name: + type: string + account/sessions: + type: boolean "/api/user/{userslug}/session/{uuid}": delete: tags: