Package com.smartsheet.api
Interface ImageUrlResources
-
public interface ImageUrlResources
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageUrlMap
getImageUrls(java.util.List<ImageUrl> requestUrls)
Gets URLS that can be used to retrieve the specified cell images.
-
-
-
Method Detail
-
getImageUrls
ImageUrlMap getImageUrls(java.util.List<ImageUrl> requestUrls) throws SmartsheetException
Gets URLS that can be used to retrieve the specified cell images.
It mirrors to the following Smartsheet REST API method: POST /imageurls
- Parameters:
requestUrls
- array of requested Images and sizes.- Returns:
- the ImageUrlMap object (note that if there is no such resource, this method will throw ResourceNotFoundException rather than returning null).
- 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
-
-