Registers the directory path with the service mapping provided. If no service mapping is provided, the application name is used. If the rest application is already registered, it is refreshed.
RestInitApplication( dirPath [, serviceMapping [, default [, password ] ] ] )
Returns: void
Argument |
Description |
dirPath
string,
required
|
Path to the directory to be registered or reseted.
|
serviceMapping
string,
optional
|
Alternate string to be used for application name while calling the REST service.
|
default
boolean,
optional
|
set if the mapping is a default mapping or not
|
password
string,
optional
|
password for the web administrator, this is needed when you update/create a REST mapping.
|
Examples
There are currently no examples for this function.
See also