/
docs
/
packages
/
rest
/
main
/
APIRequest%3AInterface
Search...
K
rest
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
CDN
DiscordAPIError
HTTPError
RateLimitError
REST
Functions
calculateUserDefaultAvatarIndex
makeURLSearchParams
parseResponse
Enums
RequestMethod
RESTEvents
Interfaces
APIRequest
BaseImageURLOptions
DiscordErrorData
ImageURLOptions
InvalidRequestWarningData
MakeURLOptions
OAuthErrorData
RateLimitData
RawFile
RequestBody
RequestData
RequestHeaders
ResponseLike
RestEvents
RestEventsMap
RESTOptions
Types
GetRateLimitOffsetFunction
HandlerRequestData
ImageExtension
ImageSize
RateLimitQueueFilter
RouteLike
StickerExtension
Variables
ALLOWED_EXTENSIONS
ALLOWED_SIZES
ALLOWED_STICKER_EXTENSIONS
BurstHandlerMajorIdKey
DefaultRestOptions
DefaultUserAgent
DefaultUserAgentAppendix
OverwrittenMimeTypes
version
APIRequest
export interface
APIRequest
export interface
APIRequest
Summary
No summary provided.
Properties
data
:
HandlerRequestData
The data that was used to form the body of this request
method
:
string
The HTTP method used in this request
options
:
RequestInit
Additional HTTP options for this request
path
:
RouteLike
The full path used to make the request
retries
:
number
The number of times this request has been attempted
route
:
string
The API route identifying the ratelimit for this request