Setting Timeouts for File Service Operations
A call to a File service API can include a server timeout interval, specified in the
timeout parameter of the request URI. If the server timeout interval elapses before the service has finished processing the request, the service returns an error.
The maximum timeout interval for File service operations is 30 seconds. The File service automatically reduces any timeouts larger than 30 seconds to the 30-second maximum.
The following example REST URI sets the timeout interval for the List Shares operation to 20 seconds: