hoshii / Exports / Endpoints

Endpoints

Table of contents

Type Aliases

Variables

Functions

Type Aliases

HTTPMethod

Ƭ HTTPMethod: typeof HTTPMethods[number]

Defined in

lib/rest/Endpoints.ts:3open in new window

Variables

HTTPMethods

Const HTTPMethods: readonly ["GET", "POST", "PUT", "PATCH", "DELETE"]

Defined in

lib/rest/Endpoints.ts:1open in new window

Functions

Channel

Channel(channelID): string

Parameters

NameType
channelIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:6open in new window


ChannelDoc

ChannelDoc(channelID, docID): string

Parameters

NameType
channelIDstring
docIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:8open in new window


ChannelDocs

ChannelDocs(channelID): string

Parameters

NameType
channelIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:7open in new window


ChannelEvent

ChannelEvent(channelID, eventID): string

Parameters

NameType
channelIDstring
eventIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:12open in new window


ChannelEventRSVP

ChannelEventRSVP(channelID, eventID, memberID): string

Parameters

NameType
channelIDstring
eventIDnumber
memberIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:14open in new window


ChannelEventRSVPS

ChannelEventRSVPS(channelID, eventID): string

Parameters

NameType
channelIDstring
eventIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:19open in new window


ChannelEvents

ChannelEvents(channelID): string

Parameters

NameType
channelIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:10open in new window


ChannelMessage

ChannelMessage(channelID, messageID): string

Parameters

NameType
channelIDstring
messageIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:23open in new window


ChannelMessageContentEmote

ChannelMessageContentEmote(channelID, contentID, emoteID): string

Parameters

NameType
channelIDstring
contentIDstring
emoteIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:25open in new window


ChannelMessages

ChannelMessages(channelID): string

Parameters

NameType
channelIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:21open in new window


Channels

Channels(): string

Returns

string

Defined in

lib/rest/Endpoints.ts:5open in new window


ForumTopic

ForumTopic(channelID, topicID): string

Parameters

NameType
channelIDstring
topicIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:33open in new window


ForumTopicComment

ForumTopicComment(channelID, topicID, commentID): string

Parameters

NameType
channelIDstring
topicIDnumber
commentIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:46open in new window


ForumTopicCommentEmote

ForumTopicCommentEmote(channelID, topicID, commentID, emoteID): string

Parameters

NameType
channelIDstring
topicIDnumber
commentIDnumber
emoteIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:51open in new window


ForumTopicComments

ForumTopicComments(channelID, topicID): string

Parameters

NameType
channelIDstring
topicIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:44open in new window


ForumTopicEmote

ForumTopicEmote(channelID, topicID, emoteID): string

Parameters

NameType
channelIDstring
topicIDnumber
emoteIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:39open in new window


ForumTopicLock

ForumTopicLock(channelID, topicID): string

Parameters

NameType
channelIDstring
topicIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:37open in new window


ForumTopicPin

ForumTopicPin(channelID, topicID): string

Parameters

NameType
channelIDstring
topicIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:35open in new window


ForumTopics

ForumTopics(channelID): string

Parameters

NameType
channelIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:31open in new window


ListItem

ListItem(channelID, itemID): string

Parameters

NameType
channelIDstring
itemIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:98open in new window


ListItemComplete

ListItemComplete(channelID, itemID): string

Parameters

NameType
channelIDstring
itemIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:100open in new window


ListItems

ListItems(channelID): string

Parameters

NameType
channelIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:97open in new window


Server

Server(serverID): string

Parameters

NameType
serverIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:59open in new window


ServerBan

ServerBan(serverID, memberID): string

Parameters

NameType
serverIDstring
memberIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:60open in new window


ServerBans

ServerBans(serverID): string

Parameters

NameType
serverIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:62open in new window


ServerGroup

ServerGroup(groupID): string

Parameters

NameType
groupIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:67open in new window


ServerGroupMember

ServerGroupMember(groupID, memberID): string

Parameters

NameType
groupIDstring
memberIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:63open in new window


ServerGroupMembers

ServerGroupMembers(groupID): string

Parameters

NameType
groupIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:65open in new window


ServerMember

ServerMember(serverID, memberID): string

Parameters

NameType
serverIDstring
memberIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:68open in new window


ServerMemberNickname

ServerMemberNickname(serverID, memberID): string

Parameters

NameType
serverIDstring
memberIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:72open in new window


ServerMemberRole

ServerMemberRole(serverID, memberID, roleID): string

Parameters

NameType
serverIDstring
memberIDstring
roleIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:74open in new window


ServerMemberRoleXP

ServerMemberRoleXP(serverID, roleID): string

Parameters

NameType
serverIDstring
roleIDnumber

Returns

string

Defined in

lib/rest/Endpoints.ts:81open in new window


ServerMemberRoles

ServerMemberRoles(serverID, memberID): string

Parameters

NameType
serverIDstring
memberIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:79open in new window


ServerMemberSocials

ServerMemberSocials(serverID, memberID, type): string

Parameters

NameType
serverIDstring
memberIDstring
typestring

Returns

string

Defined in

lib/rest/Endpoints.ts:83open in new window


ServerMemberXP

ServerMemberXP(serverID, memberID): string

Parameters

NameType
serverIDstring
memberIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:88open in new window


ServerMembers

ServerMembers(serverID): string

Parameters

NameType
serverIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:70open in new window


ServerWebhook

ServerWebhook(serverID, webhookID): string

Parameters

NameType
serverIDstring
webhookIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:92open in new window


ServerWebhooks

ServerWebhooks(serverID): string

Parameters

NameType
serverIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:90open in new window


User

User(userID): string

Parameters

NameType
userIDstring

Returns

string

Defined in

lib/rest/Endpoints.ts:95open in new window

Last Updated:
Contributors: Reinhardt