mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 04:19:37 +00:00
3.6 KiB
3.6 KiB
SearchResponseBody
success response
Example Usage
import { SearchResponseBody } from "@lukehagar/discoursejs/sdk/models/operations";
let value: SearchResponseBody = {
categories: [
"<value>",
],
groupedSearchResult: {
canCreateTopic: false,
categoryIds: [
"<value>",
],
error: "<value>",
groupIds: [
"<value>",
],
moreCategories: "<value>",
moreFullPageResults: "<value>",
morePosts: "<value>",
moreUsers: "<value>",
postIds: [
"<value>",
],
searchLogId: 298264,
tagIds: [
"<value>",
],
term: "<value>",
userIds: [
"<value>",
],
},
groups: [
"<value>",
],
posts: [
"<value>",
],
tags: [
"<value>",
],
users: [
"<value>",
],
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
categories |
any[] | ✔️ | N/A |
groupedSearchResult |
operations.GroupedSearchResult | ✔️ | N/A |
groups |
any[] | ✔️ | N/A |
posts |
any[] | ✔️ | N/A |
tags |
any[] | ✔️ | N/A |
users |
any[] | ✔️ | N/A |