RouteOptions
Defined in: packages/core/src/api.ts:23
Extra settings for one request.
Properties
Section titled “Properties”files?
Section titled “files?”
optionalfiles?:RESTFileAttachment[]
Defined in: packages/core/src/api.ts:31
Files to upload; the body is sent as multipart.
query?
Section titled “query?”
optionalquery?:Record<string,string|number|boolean|undefined>
Defined in: packages/core/src/api.ts:25
Appended to the URL: { limit: 50 }. Undefined values are left out.
reason?
Section titled “reason?”
optionalreason?:string
Defined in: packages/core/src/api.ts:27
The audit-log reason, sent as X-Audit-Log-Reason.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/core/src/api.ts:29
Cancels the request, and any wait for a rate limit.