Threads
Get Get Threads
gethttps://cache.showwcase.com/threads
info
Please note: At least one of the following fields must be provided: username, userId, parentId.
Query
Field | Type | Description |
---|---|---|
username | string | The username of the user. |
userId | number | The user id. |
parentId | string | The parent thread id. |
skip Default value: 0 | number | Pagination offset. |
limit Default value: 15 | number | Pagination limit. (Max value 100) |
Get Get Scheduled Threads
gethttps://cache.showwcase.com/threads/scheduled
Headers
Field | Description |
---|---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
Query
Field | Type | Description |
---|---|---|
skip Default value: 0 | number | Pagination offset. |
limit Default value: 15 | number | Pagination limit. (Max value 100) |
Post Post a Thread
posthttps://cache.showwcase.com/threads
Headers
Field | Description |
---|---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
caution
At least one of the following fields must be provided: message, gif, code, images, videoUrl, gif.
Body
Field | Type | Description |
---|---|---|
title | string | The title of the thread. |
message | string | The message of the thread. |
gif | string | The gif url. |
code | string | Code block of the thread. |
codeLanguage | string | The code language. |
scheduledAt | string | The scheduled date and time of the thread. |
images | array | Array of the image urls. |
videoUrl | string | The video url. |
linkPreviewUrl | string | The link preview url. |
parentId | number | The parent thread id. |
communityId | number | The community id. |
Get Get Thread
gethttps://cache.showwcase.com/threads/:threadId
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Post Boost Thread
posthttps://cache.showwcase.com/threads/:threadId/boost
Headers
Field | Description |
---|---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Post Unboost Thread
posthttps://cache.showwcase.com/threads/:threadId/unboost
Headers
Field | Description |
---|---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Get Get Thread Boosts
gethttps://cache.showwcase.com/threads/:threadId/boosts
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Query
Field | Type | Description |
---|---|---|
skip Default value: 0 | number | Pagination offset. |
limit Default value: 15 | number | Pagination limit. (Max value 100) |
Post Pin Thread
posthttps://cache.showwcase.com/threads/:threadId/pin
Headers
Field | Description |
---|---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Body
Field | Type | Description |
---|---|---|
communityId | number | The community id. |
Post Unpin Thread
posthttps://cache.showwcase.com/threads/:threadId/unpin
Headers
Field | Description |
---|---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Body
Field | Type | Description |
---|---|---|
communityId | number | The community id. |
Get Get Thread Upvotes
gethttps://cache.showwcase.com/threads/:threadId/votes
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Query
Field | Type | Description |
---|---|---|
skip Default value: 0 | number | Pagination offset. |
limit Default value: 15 | number | Pagination limit. (Max value 100) |
Post Vote Thread Poll
posthttps://cache.showwcase.com/threads/:threadId/poll/vote
Headers
Field | Description |
---|---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Body
Field | Type | Description |
---|---|---|
pollId | number | Unique poll id. |
optionId | number | Unique option id. |
Get Get Thread Poll Voters
gethttps://cache.showwcase.com/threads/:threadId/poll/voters
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Query
Field | Type | Description |
---|---|---|
pollId | number | Unique poll id. |
optionId | number | Unique option id. |
skip Default value: 0 | number | Pagination offset. |
limit Default value: 15 | number | Pagination limit. (Max value 100) |
Get Get Thread Graph
gethttps://cache.showwcase.com/threads/:threadId/graph
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |
Delete Delete Thread
deletehttps://cache.showwcase.com/threads/:threadId
Headers
Field | Description |
---|---|
Authorization | An access token that represents the user who wants to take an action. Read more about access tokens here. |
Parameters
Field | Type | Description |
---|---|---|
threadId | number | Unique thread id. |