Questions tagged [api-v2.2]
For questions relating to version 2.2 of the Stack Exchange API.
187
questions
69
votes
0answers
4k views
Natty - Bringing 10k moderation to All
Background and History
The New Answers to Old Questions tool helps us to find all the answers added to questions which are more than 30 days old. However the issue with the tool is that it is not ...
45
votes
0answers
2k views
Heat Detector - analysing comments to find heat
General
Heat detector is a StackApp whose goal is to catch offensive, rude, snarky comments, and comments that leads to abusive content (offensive, spam posts, or previous offensive comments). It is ...
42
votes
0answers
1k views
Guttenberg - A bot searching for plagiarism on Stack Overflow
What is Guttenberg?
Guttenberg is a bot that searches for plagiarism or duplicated answers on Stack Overflow. It's currently running in SOBotics under the user Guttenberg.
Implementation
Every 60 ...
26
votes
1answer
341 views
Provide a way to retrieve questions and answers that have been deleted
Could you please provide a way to retrieve deleted questions/answers?
Your database contains that data, until you hard delete it, so it would be useful for us to have the chance to play with it.
I'm ...
25
votes
0answers
855 views
Belisarius - Detecting vandalism on Stack Overflow
Background:
This bot has been developed in an attempt to help capture possible vandalism. This includes:
The removal of all code
Replacing all content with nonsense
Replacing all content with ...
22
votes
0answers
794 views
Burnaki: tracking progress and helping burnination efforts on Stack Exchange
Burnaki
The purpose of this project is to monitor burnination efforts on the Stack Exchange network. The goals are threefold:
tracking the progress by watching for close votes / reopen votes / ...
21
votes
1answer
399 views
Stack Exchange thinks that Shog is a elected moderator
I was browsing the API for the list of elected moderators, The API URL is
http://api.stackexchange.com/docs/elected-moderators#pagesize=100&order=desc&sort=reputation&site=stackoverflow&...
20
votes
3answers
114 views
Documentation or API method for `option_id` information, for the `/flags/options` API calls?
The Stack Exchange API has a couple of calls that return a list of flag_option objects.
These objects contain a couple of properties that can be used to identify the flag you need.
For example, when ...
16
votes
1answer
210 views
List of Votes by Authenticated users
In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question.
...
16
votes
0answers
386 views
Review Audit Detector
Motivated by the question Would a userscript to determine whether a review is an audit be illegal, I wrote a userscript for this purpose. The algorithm is as follows:
If the post score shown in ...
11
votes
2answers
3k views
Can the redirect_uri contain port number?
Is it possible to have the redirect_uri contain a specific port?
For example: example.com:8080
Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
11
votes
1answer
168 views
Marking inbox items as read in api v2.2
I'm aware of this question, but it applied to an older (readonly) api version.
Given that API 2.2 is read/write, I figured this might be possible now.
Is there any way for an application using the ...
10
votes
1answer
140 views
Please provide a way to download SEDE data via an API
Following on from this answer, I have a data extraction requirement that is not presently catered for in the API, so I've raised a feature request for that.
It has also been suggested that it would ...
10
votes
0answers
117 views
Tell us that POST is required to write
While troubleshooting /posts/{id}/comments/add in order to answer Why am I getting a 404 when trying to post a comment?, it was noticed that the API path in question only responded to POST requests. ...
9
votes
1answer
119 views
Why is comment_count=1 (incorrectly) when this particular filter is used?
We're seeing that, when a particular filter we've created is used, the API will return "comment_count": 1 for questions with no comments.
For a search for questions with no answers, ordered by ...
9
votes
1answer
114 views
Please add the `tagged` parameter to /answers, /users, etc
The /questions endpoint supports a tagged parameter which I find quite useful. However, it's the only route that appears to support this parameter.
If, say, I want to get questions asked by a given ...
8
votes
1answer
185 views
Why is /questions API returning deleted questions?
In last few days I have noticed that questions API returns questions that where deleted hours before the API call.
This is a short example, if more logs are need to pin point the problem, please ...
8
votes
1answer
113 views
Bug with `badges/name` endpoint
Last night I had a programme running and it errored on the first call to the badges/name endpoint on the API, exact API endpoint call:
https://api.stackexchange.com/2.2/badges/name?order=asc&sort=...
8
votes
1answer
101 views
Typos in API documentation
From the /posts documentation:
Most applications should use the question or answer specific methods, but /posts is available for those rare cases where any activity is of intereset.
intereset => ...
8
votes
0answers
129 views
Incomplete information in API documentation
I am struggling a little bit with the Stack Exchange API since there seems to be no formal specification for the individual endpoints of the API.
Example:
Endpoint: https://api.stackexchange.com/2.2/...
7
votes
0answers
152 views
NAABot - Bot which finds and flags problematic answers on Stack Overflow
Description
The aim of this project is to write a simple bot which will monitor all new answers posted on Stack Overflow and flag the ones which are not answers in accordance to the guidelines ...
7
votes
0answers
286 views
CheckYerFlags: Notifying when a user reaches a certain flag amount
About CheckYerFlags
This bots notifies users when they reach an amount of certain flags (so called flag ranks), for example 1,111 or 33,333 in a chat room and also provides them a command to get the ...
6
votes
1answer
116 views
Why has my daily quota increased from 10k to 2 billion?
I'm using the Stack Exchange API with an access token and API key, and I was just checking my remaining quota. According to the documentation, this should be a number (somewhat) lower than 10,000, ...
6
votes
1answer
106 views
API throws improper error when “date” parameters are the same
When using the Stack Exchange /questions API using the same date for fromdate and todate I get a 500 internal server error.
Using different dates appears to work OK but specifying the same value ...
6
votes
1answer
246 views
After successfully retrieving 180 pages, the API gracelessly, semi-silently, fails
I'm trying to synchronize tags using the Stack Exchange API and this works for about 180 pages, but around 180 pages it always ends with an exception that seems to indicate that there is no HTTP ...
6
votes
1answer
167 views
JavaScript SDK-based workflow never pushes message back from OAuth login_success page on Stack Exchange side
I'm using the JavaScript SDK by Stack Exchange provided with the latest API, and despite following the official instructions & examples it doesn't work - it seems there is a bug which breaks the ...
6
votes
1answer
62 views
API returns implausibly low questions per minute rate for Stack Overflow
Yesterday, I tried using the /info method of the API to predict the time left until 10M questions on Stack Overflow. In the process, I found that the returned "questions per minute" value was always 2....
6
votes
1answer
673 views
StackExchange API Java wrapper
Screenshot / Code Snippet
StackExchangeApi api = new StackExchangeApi(key);
api.authorize(authToken);
StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW);
Response&...
6
votes
0answers
126 views
Reputation-based filter for search results
This userscript filters search results on Stack Exchange sites by reputation of the asker. To use it, add a search parameter such as is:25 where 25 is the minimum reputation required. Since the search ...
6
votes
0answers
81 views
Revisions API doesn't return all revisions if post has had multiple edits made in quick succession
I am pulling information from the posts API and then checking the revisions API for some of these posts. I am noticing that on posts which have had multiple revisions done in quick succession that the ...
6
votes
0answers
61 views
Badge numbers are wildly erroneous for meta accounts returned by the /associated query
There is a serious problem with badge counts on meta sites as returned by
the /users/{ids}/associated route.
Consider this user (chosen for high volume of meta activity).
On Meta Stack Overflow, ...
6
votes
0answers
60 views
Use HTTPS urls for site logos returned by the API
Currently, the API returns resources like this:
"high_resolution_icon_url": "http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon@2.png",
"favicon_url": "http://cdn.sstatic.net/stackoverflow/img/...
6
votes
0answers
373 views
Resurfacing bug: “could not parse proxy url” error message
According to this question, the "could not parse proxy url" bug was solved more than 2 years ago.
However, when using the client-side OAuth flow, the aforementioned error message appears when ...
6
votes
0answers
84 views
The “advanced search” path returns very wrong results for the `q` parameter
I'm trying to search for a string. It's a hardware identifier 10ec:8168 and should be unique to that make/model of chip. Any questions that mention is should be relevant.
But compare the site search ...
5
votes
1answer
57 views
Does a closed and/or deleted Stack Apps post still provide access to the API?
Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API.
What happens if the question is closed because of ...
5
votes
1answer
57 views
Possible to get a user's flag history?
Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag?
I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
5
votes
1answer
89 views
How can I access a user's ID on another site (eg. SU) if I have their ID from another site (eg. SO)?
If I have the ID of a user from any site, how can I get that's user's ID for a site I specify?
Eg. If someone's ID was 10349 on Super User, how could I get 10349's id on Stack Overflow?
I know I'd ...
5
votes
1answer
503 views
Unable to make API calls using access_token for private Stack Overflow Teams site
I am attempting to create an application utilizing the API to query data from our private Stack Overflow Teams site.
I've read through the documentation at https://api.stackexchange.com/docs/teams ...
5
votes
1answer
188 views
Got 502 response after very few calls
This looks like a duplicate of Throttle violation after 300 calls but this one is reported as fixed in 2012.
Today I made ~450 requests with an app key (no oauth token) and suddenly got a 502 ...
5
votes
1answer
85 views
Access token keeps being invalidated
For Stack Overflow Extras (SOX), a few users and myself have seen our access tokens being invalidated very often without any apparent reason.
We aren't requesting new tokens (which would invalidate ...
5
votes
1answer
120 views
Field “comment_count” is not always returned by API
I am making a request with a custom filter that includes the "comment_count" field of the question type. My custom filter is !RtdMEtslKF6Z()NqpDUFZ58R6twu-.4V48gn0furqA*7_BL1.
However, when I'm ...
5
votes
1answer
71 views
Is there a way to specify how long I want an access token to be valid for?
I am following the explicit authentication path. I am not passing no_expiry as part of the scope.
After the final POST step, I receive back an expires value of 86399 (just shy of a full day).
It ...
5
votes
2answers
1k views
StackExchange API Java SDK
This project aims to provide a Java wrapper to the Stack Exchange API.
SDK supports Stack Exchange API V2.2
Getting Started
There are two interfaces to the library.
Query Interface
Facade ...
5
votes
0answers
452 views
StackAPI - A(nother) Python wrapper
This is a(nother) Python wrapper for the Stack Exchange API. I wrote this to assist with a couple of my projects that needed to do a lot of API interactions. After using it and polishing it up for as ...
5
votes
0answers
37 views
Please provide a way to get Post Edits, filtered by user
I recently discovered from this question that the API does not support filtering revisions by user. I am interested in looking at a user's edit history programmatically (with their permission) and at ...
5
votes
0answers
105 views
Filter doesn't consistently return comment bodies
I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields:
answer:
answer_id
body_markdown
comments
...
4
votes
1answer
283 views
How to increase app request quota from 300 to 10,000?
In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((:
Pass this as key when making requests against the Stack Exchange ...
4
votes
1answer
46 views
Can we find the time of a vote using the API?
I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and ...
4
votes
1answer
90 views
The answer object returns an empty array for tags
Since version 2.1, the answer object has a field called tags. However, sometimes, an empty array or even nothing is returned in this field:
Example with the filter !-*f(6t0Vk01e.
Am I doing ...
4
votes
1answer
86 views
Search function in the API doesn't work as expected
This looks like an error in the search part of the API.
This search URL:
/2.2/search?tagged=javascript&intitle=get%20column%20array&site=stackoverflow
doesn't return any answers.
I'm ...