Package com.smartsheet.api
Interface ServerInfoResources
-
public interface ServerInfoResources
This interface provides methods to server information resources.Thread Safety: Implementation of this interface must be thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerInfo
getServerInfo()
Gets application constants.
-
-
-
Method Detail
-
getServerInfo
ServerInfo getServerInfo() throws SmartsheetException
Gets application constants.
It mirrors to the following Smartsheet REST API method: GET /serverinfo
- Returns:
- the server information
- Throws:
java.lang.IllegalArgumentException
- if any argument is null or empty stringInvalidRequestException
- if there is any problem with the REST API requestAuthorizationException
- if there is any problem with the REST API authorization (access token)ResourceNotFoundException
- if the resource cannot be foundServiceUnavailableException
- if the REST API service is not available (possibly due to rate limiting)SmartsheetException
- if there is any other error during the operation
-
-