Durante la instalación (2.4 y más reciente). OCS le preguntará si desea instalar la API rest en su servidor. Responda sí o dejar la opción predeterminada.
Do you wish to setup Rest API server on this computer ([y]/n)?
Se realizará una verificación rápida de dependencias para evitar problemas al usar la API.
+----------------------------------------------------------+
| Checking for REST API Dependencies ... |
+----------------------------------------------------------+
Found that Módulo Perl Mojolicious::Lite is available.
Found that Módulo Perl Switch is available.
Found that Módulo Perl Plack::Handler is available.
El último paso será configurar el directorio donde se almacenará el código API.
ADVERTENCIA: Si configura un directorio fuera del @INC de perl, deberá agregar el directorio manualmente exportando las variables de ruta.
+----------------------------------------------------------+
| Configuring REST API Server files ... |
+----------------------------------------------------------+
Where do you want the API code to be store [/usr/local/share/perl/5.20.2]?
Copying files to /usr/local/share/perl/5.20.2
+----------------------------------------------------------+
| Configuring REST API Server configuration files ... |
+----------------------------------------------------------+
Ahora puede continuar con el paso de configuración posterior a la instalación.