Skip to content
module@warp-drive/utilities

Interface CreateRecordUrlOptions ​

Defined in: index.ts:288

buildBaseURL options for a createRecord request.

Properties ​

host? ​

ts
optional host?: string;

Defined in: index.ts:309

Overrides the globally configured host for this call only.


identifier ​

ts
identifier: object;

Defined in: index.ts:296

The type of the record being created.

type ​

ts
type: string;

The resource type.


namespace? ​

ts
optional namespace?: string;

Defined in: index.ts:313

Overrides the globally configured namespace for this call only.


op ​

ts
op: "createRecord";

Defined in: index.ts:292

The request operation this URL is for.


resourcePath? ​

ts
optional resourcePath?: string;

Defined in: index.ts:305

The path segment for the resource, defaults to identifier.type if not provided.

Released under the MIT License.