Node.js based forum software built for the modern web
feat: openapi component
Barış Soner Uşaklı1af5507ac7c3
diff --git a/public/openapi/read.yaml b/public/openapi/read.yamlindex 8c37ab554f..2248a1eade 100644--- a/public/openapi/read.yaml+++ b/public/openapi/read.yaml@@ -33,6 +33,73 @@ tags:description: Disparate method of categorizing topics- name: shorthanddescription: Convenience and utility routes for accessing other part of the API+components:+ schemas:+ CommonProps:+ type: object+ properties:+ loggedIn:+ type: boolean+ relative_path:+ type: string+ 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+ required:+ - name+ - content+ - noEscape+ - property+ link:+ type: array+ items:+ type: object+ properties:+ rel:+ type: string+ type:+ type: string+ href:+ type: string+ title:+ type: string+ sizes:+ type: string+ required:+ - rel+ - href+ - type+ - sizes+ widgets:+ type: object+ properties:+ footer:+ type: array+ items:+ type: object+ properties:+ html:+ type: stringpaths:/api/:get:@@ -45,650 +112,567 @@ paths:content:application/json:schema:- type: object- properties:- title:- type: string- categories:- type: array- items:- type: object- properties:- cid:- type: number- name:- type: string- description:- type: string- icon:- type: string- slug:- type: string- topic_count:- type: number- order:- type: number- bgColor:- type: string- link:- type: string- class:- type: string- numRecentReplies:- type: number- color:- type: string- post_count:- type: number- descriptionParsed:- type: string- parentCid:- type: number- disabled:- type: number- isSection:- type: number- totalPostCount:- type: number- totalTopicCount:- type: number- tagWhitelist:- type: array- items: {}- unread-class:- type: string- children:- type: array- items:- type: object- properties:- cid:- type: number- name:- type: string- description:- type: string- icon:- type: string- slug:- type: string- topic_count:- type: number- order:- type: number- bgColor:- type: string- link:- type: string- class:- type: string- numRecentReplies:- type: number- color:- type: string- post_count:- type: number- parentCid:- type: number- disabled:- type: number- isSection:- type: number- totalPostCount:- type: number- totalTopicCount:- type: number- descriptionParsed:- type: string- tagWhitelist:- type: array- items: {}- unread-class:- type: string- children:- type: array- items: {}- parent:+ allOf:+ - type: object+ properties:+ title:+ type: string+ categories:+ type: array+ items:+ type: object+ properties:+ cid:+ type: number+ name:+ type: string+ description:+ type: string+ icon:+ type: string+ slug:+ type: string+ topic_count:+ type: number+ order:+ type: number+ bgColor:+ type: string+ link:+ type: string+ class:+ type: string+ numRecentReplies:+ type: number+ color:+ type: string+ post_count:+ type: number+ descriptionParsed:+ type: string+ parentCid:+ type: number+ disabled:+ type: number+ isSection:+ type: number+ totalPostCount:+ type: number+ totalTopicCount:+ type: number+ tagWhitelist:+ type: array+ items: {}+ unread-class:+ type: string+ children:+ type: array+ items:type: objectproperties:- link:+ cid:+ type: number+ name:type: string- class:+ description:type: stringicon:type: string- description:+ slug:type: string- order:- type: numbertopic_count:type: number- name:- type: string- cid:- type: number- post_count:- type: number- numRecentReplies:+ order:type: numberbgColor:type: string- slug:+ link:type: string- color:+ class:type: string- disabled:+ numRecentReplies:type: number- descriptionParsed:+ color:type: string- isSection:+ post_count:type: numberparentCid:type: number+ disabled:+ type: number+ isSection:+ type: numbertotalPostCount:type: numbertotalTopicCount:type: number+ descriptionParsed:+ type: stringtagWhitelist:type: arrayitems: {}unread-class:type: string+ children:+ type: array+ items: {}+ parent:+ type: object+ properties:+ link:+ type: string+ class:+ type: string+ icon:+ type: string+ description:+ type: string+ order:+ type: number+ topic_count:+ type: number+ name:+ type: string+ cid:+ type: number+ post_count:+ type: number+ numRecentReplies:+ type: number+ bgColor:+ type: string+ slug:+ type: string+ color:+ type: string+ disabled:+ type: number+ descriptionParsed:+ type: string+ isSection:+ type: number+ parentCid:+ type: number+ totalPostCount:+ type: number+ totalTopicCount:+ type: number+ tagWhitelist:+ type: array+ items: {}+ unread-class:+ type: string+ imageClass:+ type: string+ posts:+ type: array+ items:+ type: object+ properties:+ pid:+ type: number+ timestamp:+ type: number+ content:+ type: string+ timestampISO:+ type: string+ user:+ type: object+ properties:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ picture:+ nullable: true+ type: string+ icon:text:+ type: string+ icon:bgColor:+ type: string+ index:+ type: number+ cid:+ type: number+ parentCid:+ type: number+ topic:+ type: object+ properties:+ slug:+ type: string+ title:+ type: string+ required:+ - pid+ - timestamp+ - content+ - timestampISO+ - user+ - index+ - cid+ - parentCid+ - topicimageClass:type: string- posts:- type: array- items:+ timesClicked:+ type: number+ required:+ - cid+ - name+ - description+ - icon+ - bgColor+ - color+ - slug+ - topic_count+ - disabled+ - order+ - link+ - numRecentReplies+ - class+ - post_count+ - parentCid+ - isSection+ - totalPostCount+ - totalTopicCount+ - descriptionParsed+ - tagWhitelist+ - unread-class+ - children+ - parent+ - posts+ - imageClass+ - timesClicked+ posts:+ type: array+ items:+ type: object+ properties:+ pid:+ type: number+ timestamp:+ type: number+ content:+ type: string+ timestampISO:+ type: string+ user:+ type: object+ properties:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ picture:+ nullable: true+ type: string+ icon:text:+ type: string+ icon:bgColor:+ type: string+ index:+ type: number+ cid:+ type: number+ parentCid:+ type: number+ topic:+ type: object+ properties:+ slug:+ type: string+ title:+ type: string+ required:+ - pid+ - timestamp+ - content+ - timestampISO+ - user+ - index+ - cid+ - parentCid+ - topic+ teaser:+ type: object+ properties:+ url:+ type: string+ timestampISO:+ type: string+ pid:+ type: number+ topic:type: objectproperties:- pid:- type: number- timestamp:- type: number- content:+ slug:type: string- timestampISO:+ title:type: string- user:- type: object- properties:- uid:- type: number- username:- type: string- userslug:- type: string- picture:- nullable: true- type: string- icon:text:- type: string- icon:bgColor:- type: string- index:- type: number- cid:- type: number- parentCid:- type: number- topic:- type: object- properties:- slug:- type: string- title:- type: string- required:- - pid- - timestamp- - content- - timestampISO- - user- - index- - cid- - parentCid- - topic- imageClass:- type: string- timesClicked:- type: number- required:- - cid- - name- - description- - icon- - bgColor- - color- - slug- - topic_count- - disabled- - order- - link- - numRecentReplies- - class- - post_count- - parentCid- - isSection- - totalPostCount- - totalTopicCount- - descriptionParsed- - tagWhitelist- - unread-class- - children- - parent- - posts- - imageClass- - timesClicked- posts:- type: array- items:- type: object- properties:- pid:- type: number- timestamp:- type: number- content:- type: string- timestampISO:- type: string- user:- type: object- properties:- uid:- type: number- username:- type: string- userslug:- type: string- picture:- nullable: true- type: string- icon:text:- type: string- icon:bgColor:- type: string- index:- type: number- cid:- type: number- parentCid:- type: number- topic:- type: object- properties:- slug:- type: string- title:- type: string- required:- - pid- - timestamp- - content- - timestampISO- - user- - index- - cid- - parentCid- - topic- teaser:- type: object- properties:- url:- type: string- timestampISO:+ imageClass:type: string- pid:- type: number- topic:- type: object- properties:- slug:- type: string- title:- type: string- imageClass:- type: string- required:- - cid- - name- - description- - icon- - slug- - topic_count- - disabled- - order- - bgColor- - link- - class- - numRecentReplies- - color- - post_count- - parentCid- - descriptionParsed- - isSection- - totalPostCount- - totalTopicCount- - tagWhitelist- - unread-class- - children- - posts- - teaser- - imageClass- loggedIn:- type: boolean- relative_path:- type: string- template:- type: object- properties:- name:- type: string- categories:- type: boolean- url:- type: string- bodyClass:- type: string- topics:- type: array- items:- type: object- properties:- tid:- type: number- uid:- type: number- cid:- type: number- mainPid:- type: number- title:- type: string- slug:- type: string- timestamp:- type: number- lastposttime:- type: number- postcount:- type: number- viewcount:- type: number- deleted:- type: number- locked:- type: number- pinned:- type: number- upvotes:- type: number- downvotes:- type: number- titleRaw:- type: string- timestampISO:- type: string- lastposttimeISO:- type: string- votes:- type: number- category:+ required:+ - cid+ - name+ - description+ - icon+ - slug+ - topic_count+ - disabled+ - order+ - bgColor+ - link+ - class+ - numRecentReplies+ - color+ - post_count+ - parentCid+ - descriptionParsed+ - isSection+ - totalPostCount+ - totalTopicCount+ - tagWhitelist+ - unread-class+ - children+ - posts+ - teaser+ - imageClass+ template:+ type: object+ properties:+ name:+ type: string+ categories:+ type: boolean+ topics:+ type: array+ items:type: objectproperties:+ tid:+ type: number+ uid:+ type: numbercid:type: number- name:+ mainPid:+ type: number+ title:type: stringslug:type: string- icon:- type: string- image:- nullable: true- imageClass:- nullable: true- type: string- bgColor:- type: string- color:- type: string- disabled:- type: number- user:- type: object- properties:- uid:+ timestamp:type: number- username:- type: string- userslug:- type: string- reputation:+ lastposttime:type: numberpostcount:type: number- picture:- nullable: true- type: string- signature:- nullable: true- type: string- banned:+ viewcount:type: number- status:- type: string- icon:text:- type: string- icon:bgColor:- type: string- banned_until_readable:- type: string- oldUid:+ deleted:type: number- groupTitle:- type: string- groupTitleArray:- type: array- items: {}- fullname:- type: string- teaser:- type: object- properties:- pid:+ locked:type: number- uid:+ pinned:type: number- timestamp:+ upvotes:type: number- tid:+ downvotes:type: number- content:+ titleRaw:type: stringtimestampISO:type: string- user:+ lastposttimeISO:+ type: string+ votes:+ type: number+ category:type: objectproperties:- uid:+ cid:type: number- username:+ name:type: string- userslug:+ slug:type: string- picture:+ icon:+ type: string+ image:+ nullable: true+ imageClass:nullable: truetype: string- icon:text:+ bgColor:type: string- icon:bgColor:+ color:type: string- 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- required:- - value- - valueEscaped- - color- - bgColor- - score- isOwner:- type: boolean- ignored:- type: boolean- unread:- type: boolean- bookmark:- nullable: true- unreplied:- type: boolean- icons:- type: array- items: {}- index:- type: number- thumb:- type: string- teaserPid:- type: number- required:- - tid- - uid- - cid- - mainPid- - title- - slug- - timestamp- - lastposttime- - postcount- - viewcount- - deleted- - locked- - pinned- - upvotes- - downvotes- - titleRaw- - timestampISO- - lastposttimeISO- - votes- - category- - user- - teaser- - tags- - isOwner- - ignored- - unread- - bookmark- - unreplied- - icons- - index- - teaserPid- - thumb- recentCards:- type: object- properties:- title:- type: string- opacity:- type: string- textShadow:- type: string- enableCarousel:- type: number- enableCarouselPagination:- type: number- _header:- type: object- properties:- tags:- type: object- properties:- meta:- type: array- items:+ disabled:+ type: number+ user:type: objectproperties:- name:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ reputation:+ type: number+ postcount:+ type: number+ picture:+ nullable: truetype: string- content:+ signature:+ nullable: truetype: string- noEscape:- type: boolean- property:+ banned:+ type: number+ status:type: string- required:- - name- - content- - noEscape- - property- link:- type: array- items:- type: object- properties:- rel:+ icon:text:type: string- type:+ icon:bgColor:type: string- href:+ banned_until_readable:type: string- title:+ oldUid:+ type: number+ groupTitle:type: string- sizes:+ groupTitleArray:+ type: array+ items: {}+ fullname:type: string- required:- - rel- - href- - type- - sizes- widgets:- type: object- properties:- sidebar:- type: array- items:- type: object- properties:- html:+ teaser:+ type: object+ properties:+ pid:+ type: number+ uid:+ type: number+ timestamp:+ type: number+ tid:+ type: number+ content:+ type: string+ timestampISO:+ type: string+ user:+ type: object+ properties:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ picture:+ nullable: true+ type: string+ icon:text:+ type: string+ icon:bgColor:+ type: string+ 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+ required:+ - value+ - valueEscaped+ - color+ - bgColor+ - score+ isOwner:+ type: boolean+ ignored:+ type: boolean+ unread:+ type: boolean+ bookmark:+ nullable: true+ unreplied:+ type: boolean+ icons:+ type: array+ items: {}+ index:+ type: number+ thumb:type: string+ teaserPid:+ type: numberrequired:- - html- header:- type: array- items:- type: object- properties:- html:- type: string- footer:- type: array- items:- type: object- properties:- html:- type: string- motd:- type: array- items:- type: object- properties:- html:- type: string+ - tid+ - uid+ - cid+ - mainPid+ - title+ - slug+ - timestamp+ - lastposttime+ - postcount+ - viewcount+ - deleted+ - locked+ - pinned+ - upvotes+ - downvotes+ - titleRaw+ - timestampISO+ - lastposttimeISO+ - votes+ - category+ - user+ - teaser+ - tags+ - isOwner+ - ignored+ - unread+ - bookmark+ - unreplied+ - icons+ - index+ - teaserPid+ - thumb+ recentCards:+ type: object+ properties:+ title:+ type: string+ opacity:+ type: string+ textShadow:+ type: string+ enableCarousel:+ type: number+ enableCarouselPagination:+ type: number+ - $ref: '#/components/schemas/CommonProps'"304":description: """/api/post/{pid}/raw":@@ -5737,148 +5721,55 @@ paths:type: stringurl:type: string- callbackURL:- type: string- icon:- type: string- scope:- type: string- prompt:- type: string- required:- - name- - url- - callbackURL- - icon- - scope- minimumUsernameLength:- type: number- maximumUsernameLength:- type: number- minimumPasswordLength:- type: number- minimumPasswordStrength:- type: number- breadcrumbs:- type: array- items:- type: object- properties:- text:- type: string- url:- type: string- required:- - text- regFormEntry:- type: array- items:- type: object- properties:- label:- type: string- html:- type: string- styleName:- type: string- required:- - label- - html- title:- type: string- loggedIn:- type: boolean- relative_path:- type: string- template:- type: object- properties:- name:- type: string- register:- 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- required:- - name- - content- - noEscape- - property- link:- type: array- items:- type: object- properties:- rel:- type: string- type:- type: string- href:- type: string- title:- type: string- sizes:- type: string- required:- - rel- - href- - type- - sizes- widgets:- type: object- properties:- footer:- type: array- items:- type: object- properties:- html:- type: string- "304":- description: ""- /api/register/complete:- get:- tags:- - authentication- summary: /api/register/complete- responses:- "200":- description: ""- content:- application/json:- schema:- type: object- properties:- title:- type: string- errors:+ callbackURL:+ type: string+ icon:+ type: string+ scope:+ type: string+ prompt:+ type: string+ required:+ - name+ - url+ - callbackURL+ - icon+ - scope+ minimumUsernameLength:+ type: number+ maximumUsernameLength:+ type: number+ minimumPasswordLength:+ type: number+ minimumPasswordStrength:+ type: number+ breadcrumbs:type: array- items: {}- sections:+ items:+ type: object+ properties:+ text:+ type: string+ url:+ type: string+ required:+ - text+ regFormEntry:type: arrayitems:- type: string+ type: object+ properties:+ label:+ type: string+ html:+ type: string+ styleName:+ type: string+ required:+ - label+ - html+ title:+ type: stringloggedIn:type: booleanrelative_path:@@ -5888,7 +5779,7 @@ paths:properties:name:type: string- registerComplete:+ register:type: booleanurl:type: string@@ -5948,7 +5839,18 @@ paths:properties:html:type: string- text/plain:+ "304":+ description: ""+ /api/register/complete:+ get:+ tags:+ - authentication+ summary: /api/register/complete+ responses:+ "200":+ description: ""+ content:+ application/json:schema:type: objectproperties:@@ -6005,247 +5907,44 @@ paths:items:type: objectproperties:- rel:- type: string- type:- type: string- href:- type: string- title:- type: string- sizes:- type: string- required:- - rel- - href- - type- - sizes- widgets:- type: object- properties:- footer:- type: array- items:- type: object- properties:- html:- type: string- "302":- description: ""- content:- application/json:- schema:- type: string- example: Found. Redirecting to /register- text/plain:- schema:- type: string- example: Found. Redirecting to /register- /api/search:- get:- tags:- - search- summary: /api/search- responses:- "200":- description: ""- content:- application/json:- schema:- type: object- properties:- posts:- type: array- items:- type: object- properties:- pid:- type: number- tid:- type: number- content:- type: string- uid:- type: number- timestamp:- type: number- deleted:- type: boolean- upvotes:- type: number- downvotes:- type: number- votes:- type: number- timestampISO:- type: string- user:- type: object- properties:- uid:- type: number- username:- type: string- userslug:- type: string- picture:- nullable: true- status:- type: string- icon:text:- type: string- icon:bgColor:- type: string- topic:- type: object- properties:- uid:- type: number- tid:- type: number- title:- type: string- cid:- type: number- slug:- type: string- deleted:- type: number- postcount:- type: number- mainPid:- type: number- titleRaw:- type: string- category:- type: object- properties:- cid:- type: number- name:- type: string- icon:- type: string- slug:- type: string- parentCid:- type: number- bgColor:- type: string- color:- type: string- image:- nullable: true- imageClass:- nullable: true- type: string- isMainPost:- type: boolean- required:- - pid- - tid- - content- - uid- - timestamp- - deleted- - upvotes- - downvotes- - votes- - timestampISO- - user- - topic- - category- - isMainPost- matchCount:- type: number- pageCount:- type: number- time:- type: string- 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:+ rel:+ type: string+ type:+ type: string+ href:+ type: string+ title:+ type: string+ sizes:+ type: string+ required:+ - rel+ - href+ - type+ - sizes+ widgets:+ type: object+ properties:+ footer:type: array- items: {}- currentPage:- type: number- pageCount:- type: number- multiplePages:- type: boolean- search_query:- type: string- term:+ items:+ type: object+ properties:+ html:+ type: string+ text/plain:+ schema:+ type: object+ properties:+ title:type: string- categories:+ errors:type: array- items:- type: object- properties:- value:- oneOf:- - type: string- - type: number- text:- type: string- required:- - value- - text- categoriesCount:- type: number- breadcrumbs:+ items: {}+ sections:type: arrayitems:- type: object- properties:- text:- type: string- url:- type: string- required:- - text- expandSearch:- type: boolean- showAsPosts:- type: boolean- showAsTopics:- type: boolean- title:- type: string- searchDefaultSortBy:- type: string+ type: stringloggedIn:type: booleanrelative_path:@@ -6255,7 +5954,7 @@ paths:properties:name:type: string- search:+ registerComplete:type: booleanurl:type: string@@ -6315,73 +6014,22 @@ paths:properties:html:type: string- "304":- description: ""- "401":+ "302":description: ""content:application/json:schema:- title: not-authorized- type: undefined- "403":- description: ""- content:- application/json:+ type: string+ example: Found. Redirecting to /register+ text/plain:schema:- type: object- properties:- path:- type: string- loggedIn:- type: boolean- title:- type: string- "/api/reset/{code?}":- get:- tags:- - authentication- summary: /api/reset/{code?}- parameters:- - name: code?- in: path- required: true- schema:- type: string- responses: {}- "/api/email/unsubscribe/{token}":- get:- tags:- - emails- summary: /api/email/unsubscribe/{token}- parameters:- - name: token- in: path- required: true- schema:- type: string- responses: {}- "/api/topic/{topic_id}/{slug}/{post_index?}":+ type: string+ example: Found. Redirecting to /register+ /api/search:get:tags:- - topics- summary: /api/topic/{topic_id}/{slug}/{post_index?}- parameters:- - name: topic_id- in: path- required: true- schema:- type: string- - name: slug- in: path- required: true- schema:- type: string- - name: post_index?- in: path- required: true- schema:- type: string+ - search+ summary: /api/searchresponses:"200":description: ""@@ -6390,67 +6038,6 @@ paths:schema:type: objectproperties:- tid:- type: number- uid:- type: number- cid:- type: number- mainPid:- type: number- title:- type: string- slug:- type: string- timestamp:- type: number- lastposttime:- type: number- postcount:- type: number- viewcount:- type: number- teaserPid:- type: number- upvotes:- type: number- downvotes:- type: number- deleted:- type: number- locked:- type: number- pinned:- type: number- titleRaw:- type: string- timestampISO:- type: string- lastposttimeISO:- type: string- votes:- type: number- tags:- type: array- items:- type: object- properties:- value:- type: string- valueEscaped:- type: string- color:- type: string- bgColor:- type: string- score:- type: number- required:- - value- - valueEscaped- - color- - bgColor- - scoreposts:type: arrayitems:@@ -6458,32 +6045,24 @@ paths:properties:pid:type: number- uid:- type: numbertid:type: numbercontent:type: string- timestamp:+ uid:type: number- votes:+ timestamp:type: numberdeleted:- type: number+ type: booleanupvotes:type: numberdownvotes:type: number- deleterUid:- type: number- edited:+ votes:type: numbertimestampISO:type: string- editedISO:- type: string- index:- type: numberuser:type: objectproperties:@@ -6493,319 +6072,83 @@ paths:type: stringuserslug:type: string- reputation:- type: number- postcount:- type: number- topiccount:- type: numberpicture:- type: string- signature:- type: string- banned:- type: number- banned:expire:- type: number- status:- type: string- lastonline:- type: number- groupTitle:nullable: true+ status:type: string- groupTitleArray:- type: array- items:- type: stringicon:text:type: stringicon:bgColor:type: string- lastonlineISO:+ topic:+ type: object+ properties:+ uid:+ type: number+ tid:+ type: number+ title:+ type: string+ cid:+ type: number+ slug:type: string- banned_until:+ deleted:type: number- banned_until_readable:+ postcount:+ type: number+ mainPid:+ type: number+ titleRaw:type: string- selectedGroups:- type: array- items:- type: object- properties:- name:- type: string- slug:- type: string- labelColor:- type: string- textColor:- type: string- icon:- type: string- userTitle:- type: string- custom_profile_info:- type: array- items: {}- editor:- nullable: true- bookmarked:- type: boolean- upvoted:- type: boolean- downvoted:- type: boolean- replies:+ category:type: objectproperties:- hasMore:- type: boolean- users:- type: array- items: {}- text:+ cid:+ type: number+ name:type: string- count:+ icon:+ type: string+ slug:+ type: string+ parentCid:type: number- selfPost:- type: boolean- display_edit_tools:- type: boolean- display_delete_tools:- type: boolean- display_moderator_tools:- type: boolean- display_move_tools:- type: boolean- display_post_menu:+ bgColor:+ type: string+ color:+ type: string+ image:+ nullable: true+ imageClass:+ nullable: true+ type: string+ isMainPost:type: booleanrequired:- pid- - uid- tid- content+ - uid- timestamp- - votes- - upvotes- deleted+ - upvotes- downvotes- - deleterUid- - edited+ - votes- timestampISO- - editedISO- - index- user- - editor- - bookmarked- - upvoted- - downvoted- - replies- - selfPost- - display_edit_tools- - display_delete_tools- - display_moderator_tools- - display_move_tools- - display_post_menu- category:- type: object- properties:- link:- type: string- class:- type: string- icon:- type: string- description:- type: string- order:- type: number- topic_count:- type: number- name:- type: string- cid:- type: number- post_count:- type: number- numRecentReplies:- type: number- bgColor:- type: string- slug:- type: string- color:- type: string- disabled:- type: number- descriptionParsed:- type: string- isSection:- type: number- parentCid:- type: number- totalPostCount:- type: number- totalTopicCount:- type: number- tagWhitelist:- type: array- items: {}- thread_tools:- type: array- items:- type: object- properties:- class:- type: string- title:- type: string- icon:- type: string- isFollowing:- type: boolean- isNotFollowing:- type: boolean- isIgnoring:- type: boolean- bookmark:- nullable: true- postSharing:- type: array- items:- type: object- properties:- id:- type: string- name:- type: string- class:- type: string- activated:- type: boolean- required:- - id- - name- - class- - activated- deleter:- nullable: true- merger:- nullable: true- related:- type: array- items: {}- unreplied:- type: boolean- icons:- type: array- items: {}- breadcrumbs:- type: array- items:- type: object- properties:- text:- type: string- url:- type: string- required:- - text- - url- privileges:- type: object- properties:- topics:reply:- type: boolean- topics:read:- type: boolean- topics:tag:- type: boolean- topics:delete:- type: boolean- posts:edit:- type: boolean- posts:history:- type: boolean- posts:delete:- type: boolean- posts:view_deleted:- type: boolean- read:- type: boolean- purge:- type: boolean- view_thread_tools:- type: boolean- editable:- type: boolean- deletable:- type: boolean- view_deleted:- type: boolean- isAdminOrMod:- type: boolean- disabled:- type: number- tid:- type: string- uid:- type: number- topicStaleDays:- type: number- reputation:disabled:- type: number- downvote:disabled:- type: number- feeds:disableRSS:- type: number- bookmarkThreshold:- type: number- postEditDuration:+ - topic+ - category+ - isMainPost+ matchCount:type: number- postDeleteDuration:+ pageCount:type: number- scrollToMyPost:- type: boolean- allowMultipleBadges:- type: boolean- privateUploads:- type: boolean- rssFeedUrl:+ time:type: string- postIndex:- type: numberpagination:type: objectproperties:- 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- required:- - page- - active- - qs- currentPage:- type: number- pageCount:- type: numberprev:type: objectproperties:@@ -6813,8 +6156,6 @@ paths:type: numberactive:type: boolean- qs:- type: stringnext:type: objectproperties:@@ -6822,8 +6163,6 @@ paths:type: numberactive:type: boolean- qs:- type: stringfirst:type: objectproperties:@@ -6831,8 +6170,6 @@ paths:type: numberactive:type: boolean- qs:- type: stringlast:type: objectproperties:@@ -6840,8 +6177,59 @@ paths:type: numberactive:type: boolean- qs:- type: string+ rel:+ type: array+ items: {}+ pages:+ type: array+ items: {}+ currentPage:+ type: number+ pageCount:+ type: number+ multiplePages:+ type: boolean+ search_query:+ type: string+ term:+ type: string+ categories:+ type: array+ items:+ type: object+ properties:+ value:+ oneOf:+ - type: string+ - type: number+ text:+ type: string+ required:+ - value+ - text+ categoriesCount:+ type: number+ breadcrumbs:+ type: array+ items:+ type: object+ properties:+ text:+ type: string+ url:+ type: string+ required:+ - text+ expandSearch:+ type: boolean+ showAsPosts:+ type: boolean+ showAsTopics:+ type: boolean+ title:+ type: string+ searchDefaultSortBy:+ type: stringloggedIn:type: booleanrelative_path:@@ -6851,25 +6239,12 @@ paths:properties:name:type: string- topic:+ search:type: booleanurl:type: stringbodyClass:type: string- loggedInUser:- type: object- properties:- uid:- type: number- username:- type: string- picture:- type: string- icon:text:- type: string- icon:bgColor:- type: string_header:type: objectproperties:@@ -6924,9 +6299,78 @@ paths:properties:html:type: string- required:- - html- text/plain:+ "304":+ description: ""+ "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+ "/api/reset/{code?}":+ get:+ tags:+ - authentication+ summary: /api/reset/{code?}+ parameters:+ - name: code?+ in: path+ required: true+ schema:+ type: string+ responses: {}+ "/api/email/unsubscribe/{token}":+ get:+ tags:+ - emails+ summary: /api/email/unsubscribe/{token}+ parameters:+ - name: token+ in: path+ required: true+ schema:+ type: string+ responses: {}+ "/api/topic/{topic_id}/{slug}/{post_index?}":+ get:+ tags:+ - topics+ summary: /api/topic/{topic_id}/{slug}/{post_index?}+ parameters:+ - name: topic_id+ in: path+ required: true+ schema:+ type: string+ - name: slug+ in: path+ required: true+ schema:+ type: string+ - name: post_index?+ in: path+ required: true+ schema:+ type: string+ responses:+ "200":+ description: ""+ content:+ application/json:schema:type: objectproperties:@@ -7447,68 +6891,26 @@ paths:type: stringtitle:type: string- sizes:- type: string- required:- - rel- - href- - type- - sizes- widgets:- type: object- properties:- footer:- type: array- items:- type: object- properties:- html:- type: string- required:- - html- "401":- description: ""- content:- application/json:- schema:- title: not-authorized- type: undefined- text/plain:- schema:- title: not-authorized- type: undefined- "404":- description: ""- content:- application/json:- schema:- type: string- example: Not Found- text/plain:- schema:- type: string- example: Not Found- "/api/topic/{topic_id}/{slug?}":- get:- tags:- - topics- summary: /api/topic/{topic_id}/{slug?}- parameters:- - name: topic_id- in: path- required: true- schema:- type: string- - name: slug?- in: path- required: true- schema:- type: string- responses:- "200":- description: ""- content:- application/json:+ sizes:+ type: string+ required:+ - rel+ - href+ - type+ - sizes+ widgets:+ type: object+ properties:+ footer:+ type: array+ items:+ type: object+ properties:+ html:+ type: string+ required:+ - html+ text/plain:schema:type: objectproperties:@@ -7578,78 +6980,28 @@ paths:items:type: objectproperties:- editor:- properties:- uid:- type: number- username:- type: string- userslug:- type: string- nullable: true- type: object- votes:+ pid:type: number- timestamp:+ uid:type: numbertid:type: numbercontent:type: string- pid:+ timestamp:type: number- edited:+ votes:type: number- uid:+ deleted:type: numberupvotes:type: number- bookmarks:- type: number- replies:- type: object- properties:- hasMore:- type: boolean- users:- type: array- items:- type: object- properties:- uid:- type: number- username:- type: string- userslug:- type: string- picture:- nullable: true- icon:text:- type: string- icon:bgColor:- type: string- administrator:- type: boolean- required:- - uid- - username- - userslug- - picture- - icon:text- - icon:bgColor- - administrator- text:- type: string- count:- type: number- timestampISO:- type: string- deleted:- type: numberdownvotes:type: numberdeleterUid:type: number+ edited:+ type: numbertimestampISO:type: stringeditedISO:@@ -7663,8 +7015,6 @@ paths:type: numberusername:type: string- fullname:- type: stringuserslug:type: stringreputation:@@ -7674,7 +7024,6 @@ paths:topiccount:type: numberpicture:- nullable: truetype: stringsignature:type: string@@ -7720,22 +7069,29 @@ paths:type: stringuserTitle:type: string- required:- - name- - slug- - labelColor- - textColor- - icon- - userTitlecustom_profile_info:type: arrayitems: {}+ editor:+ nullable: truebookmarked:type: booleanupvoted:type: booleandownvoted:type: boolean+ replies:+ type: object+ properties:+ hasMore:+ type: boolean+ users:+ type: array+ items: {}+ text:+ type: string+ count:+ type: numberselfPost:type: booleandisplay_edit_tools:@@ -7748,22 +7104,15 @@ paths:type: booleandisplay_post_menu:type: boolean- toPid:- type: number- parent:- type: object- properties:- username:- type: stringrequired:- - votes- - timestamp- - tid- - content- pid- uid- - deleted+ - tid+ - content+ - timestamp+ - votes- upvotes+ - deleted- downvotes- deleterUid- edited@@ -7782,9 +7131,6 @@ paths:- display_moderator_tools- display_move_tools- display_post_menu- - toPid- - parent- - bookmarkscategory:type: objectproperties:@@ -8104,7 +7450,49 @@ paths:type: stringrequired:- html+ "401":+ description: ""+ content:+ application/json:+ schema:+ title: not-authorized+ type: undefined+ text/plain:+ schema:+ title: not-authorized+ type: undefined+ "404":+ description: ""+ content:+ application/json:+ schema:+ type: string+ example: Not Foundtext/plain:+ schema:+ type: string+ example: Not Found+ "/api/topic/{topic_id}/{slug?}":+ get:+ tags:+ - topics+ summary: /api/topic/{topic_id}/{slug?}+ parameters:+ - name: topic_id+ in: path+ required: true+ schema:+ type: string+ - name: slug?+ in: path+ required: true+ schema:+ type: string+ responses:+ "200":+ description: ""+ content:+ application/json:schema:type: objectproperties:@@ -8689,217 +8077,462 @@ paths:- type- sizeswidgets:- type: object- properties:- footer:- type: array- items:- type: object- properties:- html:- type: string- required:- - html- "401":- description: ""- content:- application/json:- schema:- title: not-authorized- type: undefined- text/plain:- schema:- title: not-authorized- type: undefined- "403":- description: ""- content:- application/json:- schema:- type: object- properties:- path:- type: string- loggedIn:- type: boolean- title:- type: string- text/plain:- schema:- type: object- properties:- path:- type: string- loggedIn:- type: boolean- title:- type: string- "404":- description: ""- content:- application/json:- schema:- type: string- example: Not Found- text/plain:- schema:- type: string- example: Not Found- "/api/post/{pid}":- get:- tags:- - shorthand- summary: /api/post/{pid}- parameters:- - name: pid- in: path- required: true- schema:- type: string- responses:- "200":- description: ""- content:- application/json:- schema:- title: /topic/9995/cannot-post-or-reply-to-posts-in-nodebb-mobile-version/14?_=1574522486637&lang=en-US- type: undefined- text/plain:- schema:- title: /topic/9995/cannot-post-or-reply-to-posts-in-nodebb-mobile-version/14?_=1574522486637&lang=en-US- type: undefined- "404":- description: ""- content:- application/json:- schema:- type: string- example: Not Found+ type: object+ properties:+ footer:+ type: array+ items:+ type: object+ properties:+ html:+ type: string+ required:+ - htmltext/plain:- schema:- type: string- example: Not Found- /api/flags:- get:- tags:- - flags- summary: /api/flags- responses:- "200":- description: ""- content:- application/json:schema:type: objectproperties:- flags:+ tid:+ type: number+ uid:+ type: number+ cid:+ type: number+ mainPid:+ type: number+ title:+ type: string+ slug:+ type: string+ timestamp:+ type: number+ lastposttime:+ type: number+ postcount:+ type: number+ viewcount:+ type: number+ teaserPid:+ type: number+ upvotes:+ type: number+ downvotes:+ type: number+ deleted:+ type: number+ locked:+ type: number+ pinned:+ type: number+ titleRaw:+ type: string+ timestampISO:+ type: string+ lastposttimeISO:+ type: string+ votes:+ type: number+ tags:type: arrayitems:type: objectproperties:- state:+ value:type: string- flagId:- type: number- type:+ valueEscaped:type: string- targetId:- oneOf:- - type: string- - type: number- description:+ color:+ type: string+ bgColor:+ type: string+ score:+ type: number+ required:+ - value+ - valueEscaped+ - color+ - bgColor+ - score+ posts:+ type: array+ items:+ type: object+ properties:+ editor:+ properties:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ nullable: true+ type: object+ votes:+ type: number+ timestamp:+ type: number+ tid:+ type: number+ content:type: string+ pid:+ type: number+ edited:+ type: numberuid:type: number- datetime:+ upvotes:type: number- reporter:+ bookmarks:+ type: number+ replies:+ type: object+ properties:+ hasMore:+ type: boolean+ users:+ type: array+ items:+ type: object+ properties:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ picture:+ nullable: true+ icon:text:+ type: string+ icon:bgColor:+ type: string+ administrator:+ type: boolean+ required:+ - uid+ - username+ - userslug+ - picture+ - icon:text+ - icon:bgColor+ - administrator+ text:+ type: string+ count:+ type: number+ timestampISO:+ type: string+ deleted:+ type: number+ downvotes:+ type: number+ deleterUid:+ type: number+ timestampISO:+ type: string+ editedISO:+ type: string+ index:+ type: number+ user:type: objectproperties:+ uid:+ type: numberusername:type: string+ fullname:+ type: string+ userslug:+ type: string+ reputation:+ type: number+ postcount:+ type: number+ topiccount:+ type: numberpicture:nullable: truetype: string- icon:bgColor:+ signature:+ type: string+ banned:+ type: number+ banned:expire:+ type: number+ status:+ type: string+ lastonline:+ type: number+ groupTitle:+ nullable: truetype: string+ groupTitleArray:+ type: array+ items:+ type: stringicon:text:type: string- labelClass:- type: string- target_readable:- type: string- datetimeISO:- type: string- assignee:- type: string+ icon:bgColor:+ type: string+ lastonlineISO:+ type: string+ banned_until:+ type: number+ banned_until_readable:+ type: string+ selectedGroups:+ type: array+ items:+ type: object+ properties:+ name:+ type: string+ slug:+ type: string+ labelColor:+ type: string+ textColor:+ type: string+ icon:+ type: string+ userTitle:+ type: string+ required:+ - name+ - slug+ - labelColor+ - textColor+ - icon+ - userTitle+ custom_profile_info:+ type: array+ items: {}+ bookmarked:+ type: boolean+ upvoted:+ type: boolean+ downvoted:+ type: boolean+ selfPost:+ type: boolean+ display_edit_tools:+ type: boolean+ display_delete_tools:+ type: boolean+ display_moderator_tools:+ type: boolean+ display_move_tools:+ type: boolean+ display_post_menu:+ type: boolean+ toPid:+ type: number+ parent:+ type: object+ properties:+ username:+ type: stringrequired:- - state- - flagId- - type- - targetId- - description+ - votes+ - timestamp+ - tid+ - content+ - pid- uid- - datetime- - reporter- - labelClass- - target_readable- - datetimeISO- - assignee- analytics:- type: array- items:- type: number- categories:+ - deleted+ - upvotes+ - downvotes+ - deleterUid+ - edited+ - timestampISO+ - editedISO+ - index+ - user+ - editor+ - bookmarked+ - upvoted+ - downvoted+ - replies+ - selfPost+ - display_edit_tools+ - display_delete_tools+ - display_moderator_tools+ - display_move_tools+ - display_post_menu+ - toPid+ - parent+ - bookmarks+ category:type: objectproperties:- "1":- type: string- "2":- type: string- "3":- type: string- "4":- type: string- "5":- type: string- "6":- type: string- "7":- type: string- "10":- type: string- "13":- type: string- "14":+ link:type: string- "15":+ class:type: string- "16":+ icon:type: string- "17":+ description:type: string- "18":+ order:+ type: number+ topic_count:+ type: number+ name:type: string- "19":+ cid:+ type: number+ post_count:+ type: number+ numRecentReplies:+ type: number+ bgColor:type: string- "21":+ slug:type: string- "22":+ color:type: string- "26":+ disabled:+ type: number+ descriptionParsed:type: string- hasFilter:+ isSection:+ type: number+ parentCid:+ type: number+ totalPostCount:+ type: number+ totalTopicCount:+ type: number+ tagWhitelist:+ type: array+ items: {}+ thread_tools:+ type: array+ items:+ type: object+ properties:+ class:+ type: string+ title:+ type: string+ icon:+ type: string+ isFollowing:type: boolean- filters:+ isNotFollowing:+ type: boolean+ isIgnoring:+ type: boolean+ bookmark:+ nullable: true+ postSharing:+ type: array+ items:+ type: object+ properties:+ id:+ type: string+ name:+ type: string+ class:+ type: string+ activated:+ type: boolean+ required:+ - id+ - name+ - class+ - activated+ deleter:+ nullable: true+ merger:+ nullable: true+ related:+ type: array+ items: {}+ unreplied:+ type: boolean+ icons:+ type: array+ items: {}+ breadcrumbs:+ type: array+ items:+ type: object+ properties:+ text:+ type: string+ url:+ type: string+ required:+ - text+ - url+ privileges:type: objectproperties:- page:+ topics:reply:+ type: boolean+ topics:read:+ type: boolean+ topics:tag:+ type: boolean+ topics:delete:+ type: boolean+ posts:edit:+ type: boolean+ posts:history:+ type: boolean+ posts:delete:+ type: boolean+ posts:view_deleted:+ type: boolean+ read:+ type: boolean+ purge:+ type: boolean+ view_thread_tools:+ type: boolean+ editable:+ type: boolean+ deletable:+ type: boolean+ view_deleted:+ type: boolean+ isAdminOrMod:+ type: boolean+ disabled:type: number- perPage:+ tid:+ type: string+ uid:type: number- title:+ topicStaleDays:+ type: number+ reputation:disabled:+ type: number+ downvote:disabled:+ type: number+ feeds:disableRSS:+ type: number+ bookmarkThreshold:+ type: number+ postEditDuration:+ type: number+ postDeleteDuration:+ type: number+ scrollToMyPost:+ type: boolean+ allowMultipleBadges:+ type: boolean+ privateUploads:+ type: boolean+ rssFeedUrl:type: string+ postIndex:+ type: numberpagination:type: objectproperties:@@ -8923,8 +8556,6 @@ paths:type: booleanqs:type: string- separator:- type: booleanrequired:- page- active@@ -8978,12 +8609,25 @@ paths:properties:name:type: string- flags/list:+ topic:type: booleanurl:type: stringbodyClass:type: string+ loggedInUser:+ type: object+ properties:+ uid:+ type: number+ username:+ type: string+ picture:+ type: string+ icon:text:+ type: string+ icon:bgColor:+ type: string_header:type: objectproperties:@@ -9038,17 +8682,92 @@ paths:properties:html:type: string- "/api/flags/{flagId}":+ required:+ - html+ "401":+ description: ""+ content:+ application/json:+ schema:+ title: not-authorized+ type: undefined+ text/plain:+ schema:+ title: not-authorized+ type: undefined+ "403":+ description: ""+ content:+ application/json:+ schema:+ type: object+ properties:+ path:+ type: string+ loggedIn:+ type: boolean+ title:+ type: string+ text/plain:+ schema:+ type: object+ properties:+ path:+ type: string+ loggedIn:+ type: boolean+ title:+ type: string+ "404":+ description: ""+ content:+ application/json:+ schema:+ type: string+ example: Not Found+ text/plain:+ schema:+ type: string+ example: Not Found+ "/api/post/{pid}":get:tags:- - flags- summary: /api/flags/{flagId}+ - shorthand+ summary: /api/post/{pid}parameters:- - name: flagId+ - name: pidin: pathrequired: trueschema:type: string+ responses:+ "200":+ description: ""+ content:+ application/json:+ schema:+ title: /topic/9995/cannot-post-or-reply-to-posts-in-nodebb-mobile-version/14?_=1574522486637&lang=en-US+ type: undefined+ text/plain:+ schema:+ title: /topic/9995/cannot-post-or-reply-to-posts-in-nodebb-mobile-version/14?_=1574522486637&lang=en-US+ type: undefined+ "404":+ description: ""+ content:+ application/json:+ schema:+ type: string+ example: Not Found+ text/plain:+ schema:+ type: string+ example: Not Found+ /api/flags:+ get:+ tags:+ - flags+ summary: /api/flagsresponses:"200":description: ""@@ -9057,236 +8776,64 @@ paths:schema:type: objectproperties:- state:- type: string- flagId:- type: number- type:- type: string- targetId:- type: string- description:- type: string- uid:- type: number- datetime:- type: number- datetimeISO:- type: string- target_readable:- type: string- target:- type: object- properties: {}- history:+ flags:type: arrayitems:type: objectproperties:+ state:+ type: string+ flagId:+ type: number+ type:+ type: string+ targetId:+ oneOf:+ - type: string+ - type: number+ description:+ type: stringuid:type: number- fields:- type: object- properties:- state:- type: stringdatetime:type: number- datetimeISO:- type: string- user:+ reporter:type: objectproperties:username:type: string- userslug:- type: stringpicture:nullable: true- uid:- type: number- icon:text:type: stringicon:bgColor:type: string- notes:- type: array- items: {}- reporter:- type: object- properties:- username:- type: string- userslug:- type: string- picture:- nullable: true- reputation:- type: number- uid:- type: number- icon:text:- type: string- icon:bgColor:- type: string- type_path:- type: string- assignees:- type: array- items:- type: object- properties:- uid:- type: number- username:- type: string- userslug:- type: string- email:- type: string- email:confirmed:- type: number- joindate:- type: number- 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- icon:bgColor:+ icon:text:+ type: string+ labelClass:type: string- joindateISO:+ target_readable:type: string- lastonlineISO:+ datetimeISO:type: string- banned_until:- type: number- banned_until_readable:+ assignee:type: stringrequired:+ - state+ - flagId+ - type+ - targetId+ - description- uid- - username- - userslug- - email:confirmed- - joindate- - lastonline- - picture- - fullname- - location- - birthday- - website- - aboutme- - signature- - uploadedpicture- - profileviews- - reputation- - postcount- - topiccount- - lastposttime- - banned- - banned:expire- - status- - flags- - followerCount- - followingCount- - cover:url- - cover:position- - groupTitle- - fbid- - gplusid- - githubid- - twid- - groupTitleArray- - icon:text- - icon:bgColor- - joindateISO- - lastonlineISO- - banned_until- - banned_until_readable- type_bool:- type: object- properties:- post:- type: boolean- user:- type: boolean- empty:- type: boolean- title:- type: string+ - datetime+ - reporter+ - labelClass+ - target_readable+ - datetimeISO+ - assignee+ analytics:+ type: array+ items:+ type: numbercategories:type: objectproperties:@@ -9326,6 +8873,86 @@ paths:type: string"26":type: string+ hasFilter:+ type: boolean+ filters:+ type: object+ properties:+ page:+ type: number+ perPage:+ type: number+ title:+ type: string+ 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+ separator:+ type: boolean+ required:+ - page+ - active+ - qs+ 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: stringloggedIn:type: booleanrelative_path:@@ -9335,7 +8962,7 @@ paths:properties:name:type: string- flags/detail:+ flags/list:type: booleanurl:type: string@@ -9387,118 +9014,70 @@ paths:- sizeswidgets:type: object- properties:- footer:- type: array- items:- type: object- properties:- html:- type: string- /api/post-queue:- get:- tags:- - admin- summary: /api/post-queue- responses:- "200":- description: ""- content:- application/json:- schema:- type: object- properties:- title:- type: string- posts:- type: array- items:- type: object- properties:- id:- type: string- uid:- type: number- type:- type: string- data:- type: object- properties:- title:- type: string- content:- type: string- thumb:- type: string- cid:- oneOf:- - type: number- - type: string- tags:- type: array- items: {}- uid:- type: number- req:- type: object- properties:- uid:- type: number- ip:- type: string- host:- type: string- protocol:- type: string- secure:- type: boolean- url:- type: string- path:- type: string- headers:- type: object- properties:- x-real-ip:- type: string- x-forwarded-for:- type: string- x-forwarded-proto:- type: string- host:- type: string- x-nginx-proxy:- type: string- connection:- type: string- accept:- type: string- user-agent:- type: string- sec-fetch-site:- type: string- sec-fetch-mode:- type: string- referer:- type: string- accept-encoding:- type: string- accept-language:- type: string- cookie:- type: string- timestamp:- type: number- fromQueue:- type: boolean- timestampISO:+ properties:+ footer:+ type: array+ items:+ type: object+ properties:+ html:type: string- rawContent:+ "/api/flags/{flagId}":+ get:+ tags:+ - flags+ summary: /api/flags/{flagId}+ parameters:+ - name: flagId+ in: path+ required: true+ schema:+ type: string+ responses:+ "200":+ description: ""+ content:+ application/json:+ schema:+ type: object+ properties:+ state:+ type: string+ flagId:+ type: number+ type:+ type: string+ targetId:+ type: string+ description:+ type: string+ uid:+ type: number+ datetime:+ type: number+ datetimeISO:+ type: string+ target_readable:+ type: string+ target:+ type: object+ properties: {}+ history:+ type: array+ items:+ type: object+ properties:+ uid:+ type: number+ fields:+ type: object+ properties:+ state:type: string- tid:- type: number- toPid:- nullable: true+ datetime:+ type: number+ datetimeISO:+ type: stringuser:type: objectproperties:@@ -9508,116 +9087,229 @@ paths:type: stringpicture:nullable: true- type: stringuid:type: numbericon:text:type: stringicon:bgColor:type: string- topic:- type: object- properties:- cid:- oneOf:- - type: number- - type: string- title:- type: string- titleRaw:- type: string- category:- type: object- properties:- cid:- type: number- name:- type: string- description:- type: string- icon:- type: string- bgColor:- type: string- color:- type: string- slug:- type: string- parentCid:- type: number- topic_count:- type: number- post_count:- type: number- disabled:- type: number- order:- type: number- link:- type: string- numRecentReplies:- type: number- class:- type: string- imageClass:- type: string- descriptionParsed:- type: string- isSection:- type: number- totalPostCount:- type: number- totalTopicCount:- type: number+ notes:+ type: array+ items: {}+ reporter:+ type: object+ properties:+ username:+ type: string+ userslug:+ type: string+ picture:+ nullable: true+ reputation:+ type: number+ uid:+ type: number+ icon:text:+ type: string+ icon:bgColor:+ type: string+ type_path:+ type: string+ assignees:+ type: array+ items:+ type: object+ properties:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ email:+ type: string+ email:confirmed:+ type: number+ joindate:+ type: number+ 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+ icon:bgColor:+ type: string+ joindateISO:+ type: string+ lastonlineISO:+ type: string+ banned_until:+ type: number+ banned_until_readable:+ type: stringrequired:- - id- - uid- - type- - data- - user- - topic- - category- pagination:+ - uid+ - username+ - userslug+ - email:confirmed+ - joindate+ - lastonline+ - picture+ - fullname+ - location+ - birthday+ - website+ - aboutme+ - signature+ - uploadedpicture+ - profileviews+ - reputation+ - postcount+ - topiccount+ - lastposttime+ - banned+ - banned:expire+ - status+ - flags+ - followerCount+ - followingCount+ - cover:url+ - cover:position+ - groupTitle+ - fbid+ - gplusid+ - githubid+ - twid+ - groupTitleArray+ - icon:text+ - icon:bgColor+ - joindateISO+ - lastonlineISO+ - banned_until+ - banned_until_readable+ type_bool:type: objectproperties:- 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+ post:+ type: boolean+ user:+ type: boolean+ empty:+ type: boolean+ title:+ type: string+ categories:+ type: object+ properties:+ "1":+ type: string+ "2":+ type: string+ "3":+ type: string+ "4":+ type: string+ "5":+ type: string+ "6":+ type: string+ "7":+ type: string+ "10":+ type: string+ "13":+ type: string+ "14":+ type: string+ "15":+ type: string+ "16":+ type: string+ "17":+ type: string+ "18":+ type: string+ "19":+ type: string+ "21":+ type: string+ "22":+ type: string+ "26":+ type: stringloggedIn:type: booleanrelative_path:@@ -9627,7 +9319,7 @@ paths:properties:name:type: string- admin/manage/post-queue:+ flags/detail:type: booleanurl:type: string@@ -9687,37 +9379,11 @@ paths:properties:html:type: string- /api/ip-blacklist:- get:- tags:- - admin- summary: /api/ip-blacklist- responses: {}- /api/registration-queue:+ /api/post-queue:get:tags:- admin- summary: /api/registration-queue- responses: {}- "/api/tags/{tag}":- get:- tags:- - tags- summary: /api/tags/{tag}- description: Returns a list of topics that are tagged with {tag}- parameters:- - name: tag- description: The tag used to retrieve the topics- in: path- required: true- schema:- type: string- - name: page- description: Page number used in pagination- in: query- required: false- schema:- type: number+ summary: /api/post-queueresponses:"200":description: ""@@ -9726,300 +9392,178 @@ paths:schema:type: objectproperties:- topics:+ title:+ type: string+ posts:type: array- description: An array of topics that are all tagged with {tag}items:type: objectproperties:- tid:- type: number- uid:- type: number- cid:- type: number- mainPid:- type: number- title:- type: string- slug:+ id:type: string- timestamp:- type: number- lastposttime:- type: number- postcount:- type: number- viewcount:- type: number- teaserPid:- oneOf:- - type: number- - type: string- deleted:- type: number- locked:- type: number- pinned:- type: number- upvotes:- type: number- downvotes:+ uid:type: number- titleRaw:- type: string- timestampISO:- type: string- lastposttimeISO:+ type:type: string- votes:- type: number- category:+ data:type: objectproperties:+ title:+ type: string+ content:+ type: string+ thumb:+ type: stringcid:+ oneOf:+ - type: number+ - type: string+ tags:+ type: array+ items: {}+ uid:+ type: number+ req:+ type: object+ properties:+ uid:+ type: number+ ip:+ type: string+ host:+ type: string+ protocol:+ type: string+ secure:+ type: boolean+ url:+ type: string+ path:+ type: string+ headers:+ type: object+ properties:+ x-real-ip:+ type: string+ x-forwarded-for:+ type: string+ x-forwarded-proto:+ type: string+ host:+ type: string+ x-nginx-proxy:+ type: string+ connection:+ type: string+ accept:+ type: string+ user-agent:+ type: string+ sec-fetch-site:+ type: string+ sec-fetch-mode:+ type: string+ referer:+ type: string+ accept-encoding:+ type: string+ accept-language:+ type: string+ cookie:+ type: string+ timestamp:type: number- name:- type: string- slug:- type: string- icon:- type: string- image:- nullable: true- imageClass:- nullable: true- type: string- bgColor:+ fromQueue:+ type: boolean+ timestampISO:type: string- color:+ rawContent:type: string- disabled:+ tid:type: number+ toPid:+ nullable: trueuser:type: objectproperties:- uid:- type: numberusername:type: stringuserslug:type: string- reputation:- type: number- postcount:- type: numberpicture:nullable: truetype: string- signature:- nullable: true- type: string- banned:+ uid:type: number- status:- type: stringicon:text:type: stringicon:bgColor:type: string- banned_until_readable:+ topic:+ type: object+ properties:+ cid:+ oneOf:+ - type: number+ - type: string+ title:type: string- fullname:+ titleRaw:type: string- teaser:+ category:type: objectproperties:- pid:+ cid:type: number- uid:+ name:+ type: string+ description:+ type: string+ icon:+ type: string+ bgColor:+ type: string+ color:+ type: string+ slug:+ type: string+ parentCid:type: number- timestamp:+ topic_count:type: number- tid:+ post_count:type: number- content:- type: string- timestampISO:+ disabled:+ type: number+ order:+ type: number+ link:type: string- user:- type: object- properties:- uid:- type: number- username:- type: string- userslug:- type: string- picture:- nullable: true- type: string- icon:text:- type: string- icon:bgColor:- type: string- index:+ numRecentReplies:type: number- tags:- type: array- items:- type: object- properties:- value:- type: string- valueEscaped:- type: string- color:- type: string- bgColor:- type: string- score:- type: number- required:- - value- - valueEscaped- - color- - bgColor- - score- isOwner:- type: boolean- ignored:- type: boolean- unread:- type: boolean- bookmark:- nullable: true- unreplied:- type: boolean- icons:- type: array- items: {}- index:- type: number- thumb:- type: string- isQuestion:- nullable: true- type: number- isSolved:- type: number- required:- - tid- - uid- - cid- - mainPid- - title- - slug- - timestamp- - lastposttime- - postcount- - viewcount- - teaserPid- - deleted- - locked- - pinned- - upvotes- - downvotes- - titleRaw- - timestampISO- - lastposttimeISO- - votes- - category- - user- - teaser- - tags- - isOwner- - ignored- - unread- - bookmark- - unreplied- - icons- - index- - thumb- - isQuestion- - isSolved- tag:- type: string- breadcrumbs:- type: array- items:- type: object- properties:- text:- type: string- url:- type: string- required:- - text- - url- title:- type: string- categories:- type: array- items:- type: object- properties:- cid:- type: number- name:- type: string- level:- type: string- icon:- type: string- parentCid:- type: number- color:- type: string- bgColor:- type: string- selected:- type: boolean- imageClass:- type: string- required:- - cid- - name- - level- - icon- - parentCid- - color- - bgColor- - selected- - imageClass- pagination:- type: object- properties:- rel:- type: array- items:- type: object- properties:- rel:+ class:type: string- href:+ imageClass:type: string- pages:- type: array- items:- type: object- properties:- page:+ descriptionParsed:+ type: string+ isSection:+ type: number+ totalPostCount:+ type: number+ totalTopicCount:type: number- active:- type: boolean- qs:- type: string- separator:- type: boolean- required:- - page- - active- - qs- currentPage:- type: number- pageCount:- type: number+ required:+ - id+ - uid+ - type+ - data+ - user+ - topic+ - category+ pagination:+ type: object+ properties:prev:type: objectproperties:@@ -10027,8 +9571,6 @@ paths:type: numberactive:type: boolean- qs:- type: stringnext:type: objectproperties:@@ -10036,8 +9578,6 @@ paths:type: numberactive:type: boolean- qs:- type: stringfirst:type: objectproperties:@@ -10045,8 +9585,6 @@ paths:type: numberactive:type: boolean- qs:- type: stringlast:type: objectproperties:@@ -10054,10 +9592,16 @@ paths:type: numberactive:type: boolean- qs:- type: string- rssFeedUrl:- type: string+ rel:+ type: array+ items: {}+ pages:+ type: array+ items: {}+ currentPage:+ type: number+ pageCount:+ type: numberloggedIn:type: booleanrelative_path:@@ -10067,66 +9611,446 @@ paths:properties:name:type: string+ admin/manage/post-queue:+ 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+ required:+ - name+ - content+ - noEscape+ - property+ link:+ type: array+ items:+ type: object+ properties:+ rel:+ type: string+ type:+ type: string+ href:+ type: string+ title:+ type: string+ sizes:+ type: string+ required:+ - rel+ - href+ - type+ - sizes+ widgets:+ type: object+ properties:+ footer:+ type: array+ items:+ type: object+ properties:+ html:+ type: string+ /api/ip-blacklist:+ get:+ tags:+ - admin+ summary: /api/ip-blacklist+ responses: {}+ /api/registration-queue:+ get:+ tags:+ - admin+ summary: /api/registration-queue+ responses: {}+ "/api/tags/{tag}":+ get:+ tags:+ - tags+ summary: /api/tags/{tag}+ description: Returns a list of topics that are tagged with {tag}+ parameters:+ - name: tag+ description: The tag used to retrieve the topics+ in: path+ required: true+ schema:+ type: string+ - name: page+ description: Page number used in pagination+ in: query+ required: false+ schema:+ type: number+ responses:+ "200":+ description: ""+ content:+ application/json:+ schema:+ allOf:+ - type: object+ properties:+ topics:+ type: array+ description: An array of topics that are all tagged with {tag}+ items:+ type: object+ properties:+ tid:+ type: number+ uid:+ type: number+ cid:+ type: number+ mainPid:+ type: number+ title:+ type: string+ slug:+ type: string+ timestamp:+ type: number+ lastposttime:+ type: number+ postcount:+ type: number+ viewcount:+ type: number+ teaserPid:+ oneOf:+ - type: number+ - type: string+ deleted:+ type: number+ locked:+ type: number+ pinned:+ type: number+ upvotes:+ type: number+ downvotes:+ type: number+ titleRaw:+ type: string+ timestampISO:+ type: string+ lastposttimeISO:+ type: string+ votes:+ type: number+ category:+ type: object+ properties:+ cid:+ type: number+ name:+ type: string+ slug:+ type: string+ icon:+ type: string+ image:+ nullable: true+ imageClass:+ nullable: true+ type: string+ bgColor:+ type: string+ color:+ type: string+ disabled:+ type: number+ user:+ type: object+ properties:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ reputation:+ type: number+ postcount:+ type: number+ picture:+ nullable: true+ type: string+ signature:+ nullable: true+ type: string+ banned:+ type: number+ status:+ type: string+ icon:text:+ type: string+ icon:bgColor:+ type: string+ banned_until_readable:+ type: string+ fullname:+ type: string+ teaser:+ type: object+ properties:+ pid:+ type: number+ uid:+ type: number+ timestamp:+ type: number+ tid:+ type: number+ content:+ type: string+ timestampISO:+ type: string+ user:+ type: object+ properties:+ uid:+ type: number+ username:+ type: string+ userslug:+ type: string+ picture:+ nullable: true+ type: string+ icon:text:+ type: string+ icon:bgColor:+ type: string+ 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+ required:+ - value+ - valueEscaped+ - color+ - bgColor+ - score+ isOwner:+ type: boolean+ ignored:+ type: boolean+ unread:+ type: boolean+ bookmark:+ nullable: true+ unreplied:+ type: boolean+ icons:+ type: array+ items: {}+ index:+ type: number+ thumb:+ type: string+ isQuestion:+ nullable: true+ type: number+ isSolved:+ type: number+ required:+ - tid+ - uid+ - cid+ - mainPid+ - title+ - slug+ - timestamp+ - lastposttime+ - postcount+ - viewcount+ - teaserPid+ - deleted+ - locked+ - pinned+ - upvotes+ - downvotes+ - titleRaw+ - timestampISO+ - lastposttimeISO+ - votes+ - category+ - user+ - teaser+ - tags+ - isOwner+ - ignored+ - unread+ - bookmark+ - unreplied+ - icons+ - index+ - thumb+ - isQuestion+ - isSolvedtag:- type: boolean- url:- type: string- bodyClass:- type: string- _header:- type: object- properties:- tags:+ type: string+ breadcrumbs:+ type: array+ items:+ type: object+ properties:+ text:+ type: string+ url:+ type: string+ required:+ - text+ - url+ title:+ type: string+ categories:+ type: array+ items:+ type: object+ properties:+ cid:+ type: number+ name:+ type: string+ level:+ type: string+ icon:+ type: string+ parentCid:+ type: number+ color:+ type: string+ bgColor:+ type: string+ selected:+ type: boolean+ imageClass:+ type: string+ required:+ - cid+ - name+ - level+ - icon+ - parentCid+ - color+ - bgColor+ - selected+ - imageClass+ pagination:type: objectproperties:- meta:+ rel:type: arrayitems:type: objectproperties:- name:- type: string- content:+ rel:type: string- noEscape:- type: boolean- property:+ href:type: string- required:- - name- - content- - noEscape- - property- link:+ pages:type: arrayitems:type: objectproperties:- rel:- type: string- type:- type: string- href:- type: string- title:- type: string- sizes:+ page:+ type: number+ active:+ type: boolean+ qs:type: string+ separator:+ type: booleanrequired:- - rel- - href- - type- - sizes- widgets:- type: object- properties:- footer:- type: array- items:- type: object- properties:- html:- type: string+ - page+ - active+ - qs+ 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+ rssFeedUrl:+ type: string+ template:+ type: object+ properties:+ name:+ type: string+ tag:+ type: boolean+ - $ref: '#/components/schemas/CommonProps'/api/tags:get:tags:@@ -10139,119 +10063,59 @@ paths:content:application/json:schema:- type: object- properties:- tags:- type: array- description: An array of tags with the most topics- items:- type: object- properties:- value:- type: string- description: The raw tag- score:- type: number- description: Number of topics tagged by this tag- valueEscaped:- type: string- description: This is the escaped tag value, equal to validator.escape(value)- color:- type: string- bgColor:- type: string- required:- - value- - score- - valueEscaped- - color- - bgColor- displayTagSearch:- type: boolean- nextStart:- type: number- breadcrumbs:- type: array- items:- type: object- properties:- text:- type: string- url:- type: string- required:- - text- title:- type: string- loggedIn:- type: boolean- relative_path:- type: string- template:- type: object+ allOf:+ - type: objectproperties:- name:- type: stringtags:+ type: array+ description: An array of tags with the most topics+ items:+ type: object+ properties:+ value:+ type: string+ description: The raw tag+ score:+ type: number+ description: Number of topics tagged by this tag+ valueEscaped:+ type: string+ description: This is the escaped tag value, equal to validator.escape(value)+ color:+ type: string+ bgColor:+ type: string+ required:+ - value+ - score+ - valueEscaped+ - color+ - bgColor+ displayTagSearch: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- required:- - name- - content- - noEscape- - property- link:- type: array- items:- type: object- properties:- rel:- type: string- type:- type: string- href:- type: string- title:- type: string- sizes:- type: string- required:- - rel- - href- - type- - sizes- widgets:- type: object- properties:- footer:+ nextStart:+ type: number+ breadcrumbs:type: arrayitems:type: objectproperties:- html:+ text:+ type: string+ url:type: string+ required:+ - text+ template:+ type: object+ properties:+ name:+ type: string+ tags:+ type: boolean+ title:+ type: string+ - $ref: '#/components/schemas/CommonProps'/api/categories:get:tags: