CodeIgniter Forums
What will happen If i limit Restful api - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: What will happen If i limit Restful api (/showthread.php?tid=69071)

Pages: 1 2


What will happen If i limit Restful api - omid_student - 10-03-2017

We can limit request in Restful api example for 200 connection
But i could understood that after 200 connection,what will happen if my app connection be above 200 connection?


RE: What will happen If i limit Restful api - InsiteFX - 10-04-2017

Then it should throw an error. Also after a certain amount of time it should reset.

SEE:

A simple RESTful API implementation using PHP and CodeIgniter


RE: What will happen If i limit Restful api - omid_student - 10-04-2017

(10-04-2017, 02:05 AM)InsiteFX Wrote: Then it should throw an error. Also after a certain amount of time it should reset.

SEE:

A simple RESTful API implementation using PHP and CodeIgniter

Ohom
Why restful api have limitation?


RE: What will happen If i limit Restful api - InsiteFX - 10-04-2017

I would recommend doing a Google search on Restful advantages and disadvantages.

There are to many to state and go through here.


RE: What will happen If i limit Restful api - superior - 10-05-2017

On projects i'm using the solutiuon below, it allows you to response in varius types and you control on how or what you are sending. Also limit requests available and API keys.

CodeIgniter 3.x - RESTful-server
Content-types response
Multi language support


RE: What will happen If i limit Restful api - jessicab - 10-11-2017

I can't seem to find this information anywhere, but it seems that it imposes a limit of 25 records to be returned from a list view results call to the REST API.


RE: What will happen If i limit Restful api - omid_student - 01-28-2018

(10-05-2017, 10:58 PM)superior Wrote: On projects i'm using the solutiuon below, it allows you to response in varius types and you control on how or what you are sending. Also limit requests available and API keys.

CodeIgniter 3.x - RESTful-server
Content-types response
Multi language support

I'm sorry
What is this code?
$this->methods['user_post']['limit'] = 100; // 100 requests per hour per user/key
$this->methods['user_delete']['limit'] = 50; // 50 requests per hour per user/key

Is it limitation for each user or each key or each ip?


RE: What will happen If i limit Restful api - InsiteFX - 01-29-2018

Specify the method used to limit the API calls.


RE: What will happen If i limit Restful api - omid_student - 02-18-2018

Hey guys
What are they fields for restful table key?
user_id
key
level
ignore_limits
is_private_key
ip_addresses
date_created


RE: What will happen If i limit Restful api - InsiteFX - 02-18-2018

It looks to me to be an Auth Table for users.