Interface: PrivateRequestInput
Everything a private-API request is built from, the session included.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
domain? | readonly | string | - |
encoding? | readonly | BodyEncoding | - |
endpoint | readonly | string | - |
headers? | readonly | Record<string, string> | - |
method | readonly | HttpMethod | - |
now? | readonly | number | - |
payload? | readonly | Record<string, unknown> | - |
query? | readonly | Record<string, string> | - |
rawBody? | readonly | Uint8Array<ArrayBufferLike> | Raw bytes to send as the body verbatim (for binary uploads). When set it bypasses signing/form encoding, and the caller supplies the Content-Type via headers. |
rawUrl? | readonly | string | A fully-formed URL, used as-is instead of building one under /api/v1. |
session | readonly | SessionData | - |
withDefaultData? | readonly | boolean | - |
withSignature? | readonly | boolean | - |