Interface: BatchRequestPart
Defined in: packages/core/src/batch/batch-types.ts:16
Represents a single parsed sub-request from a batch body. Produced by parseBatchBody() for individual requests and changeset sub-parts.
Properties
body?
readonlyoptionalbody?:string
Defined in: packages/core/src/batch/batch-types.ts:27
Raw body string for POST/PATCH/PUT requests, undefined for GET/DELETE
contentId?
readonlyoptionalcontentId?:string
Defined in: packages/core/src/batch/batch-types.ts:19
Content-ID header value for referencing the result within a changeset
headers
readonlyheaders:Readonly<Record<string,string>>
Defined in: packages/core/src/batch/batch-types.ts:25
Parsed headers from the embedded HTTP request
kind
readonlykind:"request"
Defined in: packages/core/src/batch/batch-types.ts:17
method
readonlymethod:string
Defined in: packages/core/src/batch/batch-types.ts:21
HTTP method: GET, POST, PATCH, PUT, DELETE
url
readonlyurl:string
Defined in: packages/core/src/batch/batch-types.ts:23
The URL from the embedded HTTP request line