# Function: generateRestRoutesInformation()

> **generateRestRoutesInformation**(`baseRouteName`, `componentName`): `IRestRoute`\<`any`, `any`\>[]

The REST routes for server information.

## Parameters

### baseRouteName

`string`

Prefix to prepend to the paths.

### componentName

`string`

The name of the component to use in the routes stored in the ComponentFactory.

## Returns

`IRestRoute`\<`any`, `any`\>[]

The generated routes.
