interface InternalRequest

extends

RequestData
external
interface InternalRequest extends RequestData

Internal request options

optionalexternal
appendToFormData? : boolean

Whether to append JSON data to form data instead of payload_json when sending files

Inherited from: RequestData

optionalexternal
auth? : AuthData | boolean | undefined = true

Alternate authorization data to use for this request only, or false to disable the Authorization header

Inherited from: RequestData

optionalexternal
body? : BodyInit | unknown

The body to send to this request. If providing as BodyInit, set passThroughBody: true

Inherited from: RequestData

optionalexternal
dispatcher? : Agent

The Agent to use for the request.

Inherited from: RequestData

optionalexternal
files? : RawFile[] | undefined

Files to be attached to this request

Inherited from: RequestData

external
fullRoute : RouteLike

optionalexternal
headers? : Record<string, string>

Additional headers to add to this request

Inherited from: RequestData

external
method : RequestMethod

optionalexternal
passThroughBody? : boolean

Whether to pass-through the body property directly to fetch(). This only applies when files is NOT present

Inherited from: RequestData

optionalexternal
query? : URLSearchParams

Query string parameters to append to the called endpoint

Inherited from: RequestData

optionalexternal
reason? : string | undefined

Reason to show in the audit logs

Inherited from: RequestData

optionalexternal
signal? : AbortSignal | undefined

The signal to abort the queue entry or the REST call, where applicable

Inherited from: RequestData

optionalexternal
versioned? : boolean = true

If this request should be versioned

Inherited from: RequestData