Public Service API
The Public Service API defines simple functions for discovering information about the server.
Important: By default, certain Spotfire Statistics Services capabilities are disabled. If you have functions that you created or used in a previous release, you might find that they no longer work as expected. Additionally, any expression that TERR determines to be potentially malicious is disabled. Below is a non-exhaustive example of some of the capabilities disabled by default in Spotfire Statistics Services.
- Sending TERR expressions that perform I/O to the file system or the internet.
- Spawning new OS processes by calling the system function.
- Calling into Java using the terrJava package, or using functions in the parallel package.
- Loading new packages, except for those included with TERR.
- Calling .C or .Fortran.
- Send expressions to the server using the Expression Service.
- Calling ExtendedServerInfo or sending other expressions that read from, or write to, your server.
- Sending potentially malicious expressions to the server using the URL API.
Examples
The following link shows how to get information about the server.
http://servername:8080/SplusServer/api/public/ServerVersion
The request is returned as follows.
<value>v8</value>
Use this version in the URL in subsequent requests to the Expression Service, the Administration Service, and the Function Service.
- authentication
Returns true if authentication is turned on for the server; otherwise it returns false. - JobStatus
Retrieves the job status. - ServerConfiguration
Retrieves the server's configuration information. - ServerVersion
Returns the current version on the server API.
Copyright © TIBCO Software Inc. All rights reserved.