Skip to content

Function: groupUrl() ​

ts
function groupUrl(cdnBase, group): string;

Defined in: group/group-urls.ts:15

Group root url /:uuid~N/ — lists the files. No -/ operations are allowed on group roots.

Parameters ​

ParameterType
cdnBasestring
groupGroupId

Returns ​

string

See ​

https://uploadcare.com/docs/file-groups/#group-cdn

Example ​

ts
groupUrl('https://ucarecdn.com', { uuid, count: 3 }) // → https://ucarecdn.com/:uuid~3/