Hot answers tagged

4

You are using the "Javascript SDK" and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states: This file is provided to API clients to automate various tasks, initially focused on login. In fact the SDK really only does one thing. It helps you get an access_token if you need to authenticate. It ...


4

Just set pagesize in the URL, like: https://api.stackexchange.com/2.2/tags?pagesize=10&order=desc&sort=popular&site=stackoverflow


3

The payload seems to be limited to 3000 characters by the Stack Exchange engine itself: However, the actual field returned by the API may be longer, as the user's 3000, markdown characters are expanded into HTML. As stated in "Can we have maximum length of string in API help pages?", the API itself enforces no length limits on the data and... we're not ...


3

Update: Evidence now suggests that the API quota rolls over at a unique time for each app. 24 hours after that app-key, plus IP, combination made its first API call. See this chat message. The quota does reset every 24 hours, but the time seems to wander is custom for every app-instance. Some years ago, I seem to remember it resetting around midnight UTC,...


2

So, you are making up to 150 requests in a 30 second period (10 "parallel requests", with a 2 second pause in between). And failing at 80 to 100+ seconds of operation and 400 to 500 total requests? This other failure mode (NOT a 503) trips after about 32-ish seconds and 180 (sequential) requests. It was previously reported that making about 2 calls per ...


2

Yes, explicitly working around the quota system would be considered abuse. Simply shipping an application that makes requests against both V1.x and V2.0 isn't, though I wouldn't encourage it (outside of the narrow case of moving an existing V1.x app onto V2.0 over multiple releases). Also, remember that V1.x's days are numbered. Once we're confident in 2....


2

The ip, and user/app-pair quotas are separate in V1.x and V2.0. The "30 simultaneous requests" throttle is not, as it's a DOS counter measure.


Only top voted, non community-wiki answers of a minimum length are eligible