Tag Info

Hot answers tagged

3

You already know the site, it has to be built in to every /questions query. But, if you are querying separate sites with concurrent AJAX queries, merely encapsulate the site name in your AJAX callback. See this Stack Overflow question for an example of doing that in javascript. Alternatively, you can parse the link property of the question response to ...


2

You can get at this information, but it's messy. Using the /posts/{id}/revisions route you can query for the list of all revision events for a particular question, which includes close/reopen events. These have revision_type = "vote_based" which you can filter the results by, but so do delete/undelete and protect/unprotect events, meaning you ultimately ...


2

This is a classic "procedural" (or "row based" or "sequential") versus "set based" issue. See Understanding “Set based” and “Procedural” approaches in SQL or any one of thousands of similar articles. The API uses SQL to get its results and the idea of requiring an arbitrary order to results is anathema in SQL -- a sign of possible deficiencies in "set ...


1

Until the feature request is approved, you can get this number in one of 3 ways: You can get slightly stale data with this SEDE query. Note that it uses your Stack Exchange account number (4337810 for the OP) -- which you can get by clicking on the "Accounts" listing of any profile page. Or, You can make a boatload of API calls to get the current ...


1

There is currently no method to filter events by event_type. For now, just load all the events and filter through the event_type values afterwards. Since the /events route only covers the last 15 minutes, it will only take 2 to 10 pages to get all the unfiltered results on Stack Overflow (the busiest site). However, your options increase depending on ...


1

Just for posterity: Version 2.1 (released 2012-09-04) supported posting comments. Version 2.2 (released 2014-02-10) supports posting questions, answers, and comments. More reading material on write access here.



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