{"id":157,"date":"2019-07-02T09:09:04","date_gmt":"2019-07-02T08:09:04","guid":{"rendered":"https:\/\/banfi.co.uk\/blog\/?p=157"},"modified":"2019-07-02T09:09:04","modified_gmt":"2019-07-02T08:09:04","slug":"snipe-it-api-throttling","status":"publish","type":"post","link":"https:\/\/banfi.co.uk\/blog\/2019\/07\/snipe-it-api-throttling\/","title":{"rendered":"Snipe-IT API Throttling"},"content":{"rendered":"<p>Snipe-IT v4.7.x introduced API Throttling settings in the \/app\/Http\/Kernel.php file.<\/p>\n<p><a href=\"https:\/\/snipe-it.readme.io\/reference#api-throttling\">https:\/\/snipe-it.readme.io\/reference#api-throttling<\/a><\/p>\n<p>The default rate limit is 60 requests per minute, however with my LogMeIn One2Many task I was sending around 300 API requests a minute making my task fail.<\/p>\n<p>This change will also need to be made each time you upgrade your Snipe-IT version until they move this Variable to the .env file<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Snipe-IT v4.7.x introduced API Throttling settings in the \/app\/Http\/Kernel.php file. https:\/\/snipe-it.readme.io\/reference#api-throttling The default rate limit is 60 requests per minute, however with my LogMeIn One2Many task I was sending around 300 API requests a minute making my task fail. This change will also need to be made each time you upgrade your Snipe-IT version until &hellip; <a href=\"https:\/\/banfi.co.uk\/blog\/2019\/07\/snipe-it-api-throttling\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Snipe-IT API Throttling<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-157","post","type-post","status-publish","format-standard","hentry","category-snipeit"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=157"}],"version-history":[{"count":2,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/157\/revisions"}],"predecessor-version":[{"id":160,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/157\/revisions\/160"}],"wp:attachment":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}