Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [api-v2.2]

For questions relating to version 2.2 of the Stack Exchange API.

52
votes
0answers
3k 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 ...
40
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 ...
37
votes
0answers
925 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 ...
21
votes
0answers
674 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 ...
20
votes
0answers
694 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 / ...
16
votes
0answers
359 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 ...
10
votes
0answers
102 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. ...
8
votes
0answers
85 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 ...
8
votes
0answers
116 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
230 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
0answers
47 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 => ...
6
votes
0answers
115 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
73 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
58 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
56 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
351 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
76 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
0answers
31 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 ...
4
votes
0answers
24 views

/revisions/{ids} returns wrong body

Since a couple of days, the /revisions/{ids} method returns a wrong value for the body field. An example is this Ask Different post. When viewing the (only) revision on the website, you see that the ...
4
votes
0answers
78 views

Early warning for new questions with problematic tags or titles

Leaves a temporary comment on new Stack Exchange questions with problematic tags or titles. Some of the issues detected by the bot: a non-descriptive title a vague tag used as the only tag all tags ...
4
votes
0answers
30 views

API returns delete vote count for questions, but not for answers

The questions method of the API returns the number of delete votes among other kinds of votes: sample query. But the answers method does not have a delete_vote_count field available in the filter: ...
4
votes
0answers
81 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
0answers
89 views

Byte Order Mark suddenly appearing in query results

Query results seem to have started including BOMs sometime today. I had to add code to handle it. I don't see this documented anywhere.
4
votes
0answers
105 views

Python library 2.2 API Wrapper?

Is there a Python library that encompasses the new functionality in the 2.2 API? I've seen this question and this question, and the comments indicating that libraries were being created and updated ...
3
votes
0answers
27 views

Tags are not returned when querying /users/{ids}/answers

I'm querying the API for answers-by-user, and I want the tags belonging to the parent questions. I seem to be seeing intermittent results: sometimes the tags attribute of the response includes the ...
3
votes
0answers
34 views

OAuth Dialog has all content positioned off-screen

When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-...
3
votes
0answers
53 views

/synonyms sorting is majorly broken

I'm requesting /tags/synonyms data in descending order by creation date, but the order is jumbled up: The first date is 2017-08-22 where as the second one is 2018-03-16. The same can be observed for ...
3
votes
0answers
35 views

Search incomplete synonym name

Is there is way to search synonym when user is inputting the name. Something like how things work in SO's tag search page. j2se is a synonym of java tag, but it appears in search when searching for ...
3
votes
0answers
244 views

RepAdvisor - A Basic Tool For Farming Reputation

Almost all of us Stack Overflow users want to earn more reputation. However, we don't have all the time in the world to answer questions. RepAdvisor is a bookmarklet that predicts how much reputation ...
3
votes
0answers
69 views

stackcpp - An asynchronous C++11 library for the StackExchange API

stackcpp is an asynchronous C++11 library for the StackExchange API! Code Snippet Here's a small example of the API in action: #include <iostream> #include "stackcpp/client.h" int main() { ...
3
votes
0answers
36 views

Authorization dialog shows wrong API version

If you go on this doc page and click on Get Token, you'll see this: Minor bug, but still, I thought it would be nice to fix this inconsistency :)
3
votes
0answers
29 views

The tags array is missing from answer results

I'm probably missing something very obvious but it seems like /users/{ids}/answers forgets to include the tags badge in the resulting answer object: tags (2.1) an array of strings Nowhere does ...
3
votes
0answers
66 views

Only Stack Overflow has documentation, but the API erroneously lists documentation privileges for all sites

Privileges related to Stack Overflow Documentation are displaying in every other site's API data. Using Meta Stack Exchange, for example, /2.2/privileges?site=meta returns the following documentation ...
3
votes
0answers
59 views

Java Wrapper for the 2.2 API

I've been looking for a Java based API/wrapper/DAO for the new SE API 2.2. but could not find any (May very well be a limitation of my search skills, though.) I found references to attempts at ...
3
votes
0answers
161 views

Stack Overflow as Web Component

Background This project was developed to address the following issues: Simplify the process of using Stack Exchange API in a websites, for starter we simplify the process of displaying the most ...
3
votes
0answers
306 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 ...
3
votes
0answers
89 views

error description: could not parse proxy url

I have seen the answers to the existing two questions on this topic but it has not helped. And the problem still persists so I am re-posting this question. Here is my code $(function(){ SE.init({ ...
3
votes
0answers
142 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
2
votes
0answers
26 views

Linked questions API call fails for frequently asked questions on Stack Overflow

The Linked Questions API fails for some of the Frequently Asked Questions on Stack Overflow, maybe because of the sheer amount of linked questions they have. As an example, take What is a ...
2
votes
0answers
38 views

“Javascript” typo on documentation pages

On page Usage of /sites, it should be JavaScript, not Javascript, in the right sidebar: This obviously also applies to (most/all) API documentation pages, since they share the sidebar.
2
votes
0answers
23 views

.wrapper not sorted correctly in filter edit popup

When editing the filter, e.g. on this API documentation page, all types are sorted alphabetically except for .wrapper which is always shown below answer, instead of above it (or at the end): ...
2
votes
0answers
28 views

Is it a bug that the /sites route always returns zero for total?

I want to know how many Stack Exchange sites there are. Querying http://api.stackexchange.com/2.2/sites, using a filter that makes total appear, I find that the value is always zero. For example, &...
2
votes
0answers
81 views

JavaScript API Library for StackExchange API?

I'm developing an application that integrates with the Stack Exchange Network for posting questions and importing whole discussions. Therefore I'm looking for a JavaScript library for the Stack ...
2
votes
0answers
28 views

“users” link lands on the answer page

On the /users/moderators documentation site, the following link is wrong: This method returns a list of users. The users link mistakenly points to the answers object instead of to the users object....
2
votes
0answers
78 views

API to Emulate Notifications

Is there a API End Point that will emulate Test Notifications? When I say Notifications, I Mean both Inbox and Achievements. Right now i am using below for the data Unread Notification : https://...
2
votes
0answers
165 views

The Authentication Problem of WebAuthenticationBroke Classr in .NET 4.6

I have a problem when you test the Stack Exchange Authentication API to WebAuthenticationBroker. If you proceed with authentication, such as screenshots it will continue to appear only in progress. . ...
2
votes
0answers
46 views

Add privilege_type to the privilege API results

The /me/privileges, /users/{id}/privileges and /privileges APIs are currently returning the fields of reputation, description and short_description. Sample result as: { "reputation": 1, "...
2
votes
0answers
43 views

How to get more details flags from questions?

Short question: How to get the flags that led up to a question being closed? When we are going to flag a question, we have to look at /questions/{id}/flags/options first, and I can see The option ...
2
votes
0answers
174 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
2
votes
0answers
49 views

/me/inbox is not returning most recent items

Looks like /me/inbox is either a bit behind or it's not supposed to be realtime. Explanation: for a comment that I received 4 hours ago It's not returned in the API: https://api.stackexchange.com/...