cancel
Showing results for 
Search instead for 
Did you mean: 

Webi documents RESTful API & Webi Processing Servers

0 Kudos

When I use Webi documents RESTful API to open about 6000 webi reports (in a loop) to find specific objects in the webi reports data provider. I observed that all the Webi processing server connections were max out ( Maximum Connections of 200 each ). My questions are:

1. Is this the expected behaviour?

2. If yes how can one force api to immediately close open webi connections.

Accepted Solutions (1)

Accepted Solutions (1)

daniel_paulsen
Active Contributor
0 Kudos

Hi Sam,

1. yes this is expected.  If you open 200 on a server, you've reached the configured max connections

2. To close a document, you can set its state to "Unused"

     PUT  .../raylight/v1/documents/<docID>

body:

     <document>

          <state>Unused</state>

     </document>

Check out the "Document Lifecycle URLs" section in the documentation,

Dan

Answers (0)