Solved

Limit on adding instance API call

  • 27 July 2023
  • 3 replies
  • 36 views

Hi,

Currently we have a limit on the POST models/instances where we only allow to post 1000 instances at a time.

This operation is currently limited to 1000 nodes and/or edges at a time.

Normally between the instances there are dependencies so it is not very easy to split the request to multiple calls. 

Do you think it is possible to lift that limit to a big number, f.ex. 10000?

 

Regards,

Xiaofeng

icon

Best answer by Jason Dressel 1 August 2023, 00:55

View original

3 replies

Userlevel 4
Badge

@Xiaofeng Wang 
Are you listing/querying or creating instances?  Can you kindly share an representative example?

-Jason

I was creating the instances. Probably it is only edges has dependency. So the nodes need to be created first and then the edges? I have more than 2000 instances(including nodes and edges) for a model and would like to find out what is the best way to create them in FDM. Probably first nodes and then edges? Looks like for direction relations there is no dependency so we can insert those instances in any order.

Regards,

Xiaofeng

Userlevel 4
Badge

@Xiaofeng Wang ,
Yes, I would typically create Nodes first.  Any direct relations to other nodes can be parameterized to be auto created for you so that when you create those nodes, you should have consistency.  Then I create edges.  For me, this generally makes the most sense.  We can have a quick call to review your use case if you’d like.

-Jason

 

Reply