Skip to content

Interface: GroupUrlInput ​

Defined in: types.ts:165

Input shape for building a group root or group element url.

Properties ​

archive? ​

ts
archive?: "zip" | "tar" | null;

Defined in: types.ts:176

Archive format: builds the group's archive url instead, where nth and operations do not apply.


cdnBase ​

ts
cdnBase: string;

Defined in: types.ts:167

Scheme + host, e.g. https://ucarecdn.com (trailing slash tolerated).


filename? ​

ts
filename?: string | null;

Defined in: types.ts:180

Trailing filename for the element (default none).


group ​

ts
group: GroupId;

Defined in: types.ts:169

Group id to address.


hash? ​

ts
hash?: string;

Defined in: types.ts:184

Fragment to append, '#...' (default none).


nth? ​

ts
nth?: number | null;

Defined in: types.ts:171

Zero-based element index; omit for the group root url.


operations? ​

ts
operations?: readonly CdnOperation[];

Defined in: types.ts:178

Transformation directives for the element (group roots cannot carry any).


ts
search?: string;

Defined in: types.ts:182

Query string to append, '?...' (default none).