Parameters for creating a resource.

Remarks

This interface defines the parameters required for creating a resource.

interface CreateParameters {
    body?: Record<string, any>;
    headers?: OutgoingHttpHeaders;
    query?: Record<string, any>;
    signal?: AbortSignal;
    url: string;
}

Hierarchy (view full)

Properties

body?: Record<string, any>

Optional body content for the request.

headers?: OutgoingHttpHeaders

Optional headers for the request.

query?: Record<string, any>

Optional query parameters for the request.

signal?: AbortSignal

Optional abort signal for the request.

url: string

The URL of the resource to create.