Interface UrlOptions

Options for URL parameter replacement

interface UrlOptions {
    baseURL?: string;
    escape?: boolean;
    noRewrite?: boolean;
    ocsVersion?: number;
}

Properties

baseURL?: string

URL to use as a base (defaults to current instance)

Default

''
escape?: boolean

Set to false if parameters should not be URL encoded

Default

true
noRewrite?: boolean

True if you want to force index.php being added

Default

false
ocsVersion?: number

OCS version to use

Default

2