Increase timeout for REST API call

cancel
Showing results for 
Search instead for 
Did you mean: 
sistemi
Active Member II

Increase timeout for REST API call

Hi everybody, I am developing a piece of software that interacts with Alfresco using donwload REST API ( https://api-explorer.alfresco.com/api-explorer/#/downloads/createDownload ). I noticed that if I use that API to download more than 700 documents, I receive an error after 30 seconds of waiting. No problems with the download of less than 700 documents.

I suspect that is a timeout problem: is there a way to increase the timeout for a REST API call? I am using Alfresco Community Edition 201707 GA. 

1 Reply
angelborroy
Alfresco Employee

Re: Increase timeout for REST API call

You can set the timeout in your client code. How are you requesting the remote API?

Hyland Developer Evangelist