Questions tagged [api-v2.2]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
97 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 ...
Wikunia's user avatar
  • 143
4 votes
1 answer
1k 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 ...
Znurre's user avatar
  • 143
4 votes
1 answer
111 views

/questions returns wrong markdown when a suggested edit is improved

The /questions API method returns wrong markdown when the last revisions were made by a suggested edit improved in the review queue. This event leads to two revisions (one for the suggested edit and ...
Glorfindel's user avatar
  • 6,762
4 votes
1 answer
76 views

How to monitor (for new) accepted answers by certain tags?

In practice, I don't know the IDs of the questions, but I can search for answers by given tag(s). The problem is how to find (newly) accepted answers. The "activity time" does not work for this. For ...
Jason Li's user avatar
4 votes
1 answer
150 views

Comments have incorrect `can_flag` values for at least 2 different API routes

I am trying to see and show whether a comment on question/answer is flagged by the authenticated user. But whenever I use /questions/{ids}, can_flag is true irregardless of whether the user (me) can ...
AVK's user avatar
  • 279
4 votes
1 answer
64 views

Reputation changes from accepting answers to questions are not included in reputation results

When querying the /users/{ids}/reputation API route, the results don't include the +2 reputation changes from accepting answers. None of the reputation results from my own reputation history have a ...
Bill the Lizard's user avatar
4 votes
0 answers
244 views

Crew for Exchange 2.0 (Full iOS native client)

My all-new app Crew 2.0 is NOW AVAILABLE 🥳 Crew 2.0 was rebuilt entirely from the ground up, and today's update is a crazy one. A completely revamped user interface, powerful markdown rendering, new ...
manubrio's user avatar
  • 181
4 votes
0 answers
48 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 ...
Glorfindel's user avatar
  • 6,762
4 votes
0 answers
55 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-...
NikxDa's user avatar
  • 141
4 votes
0 answers
33 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, &...
foobarbecue's user avatar
4 votes
0 answers
356 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 ...
clickbait's user avatar
  • 385
4 votes
0 answers
112 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 ...
user avatar
4 votes
0 answers
46 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: ...
user avatar
4 votes
0 answers
206 views

IGB Stack Flair – A dynamic flair for Stack Exchange sites

A dynamic flair for Stack Exchange sites inspired by Stack Exchange's native User Flairs. With Advanced Features Including Stack Exchange sites with more than 101 reputation (compared to 200). ...
Gerold Broser's user avatar
4 votes
0 answers
118 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.
Dennis Williamson's user avatar
4 votes
0 answers
128 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 ...
Andy's user avatar
  • 417
4 votes
0 answers
119 views

Parameter `tagged` in `search/advanced` seems to use `AND` instead of `OR`

It seems that search/advanced has the same problem as in "The tagged parameter does not work with multiple tags" question. When I select c#; .net I only get results tagged both c# and .net: http://...
Andrey Shchekin's user avatar
3 votes
1 answer
1k views

400 - Bad Request - Invalid URL errors with HTML response

Since a few weeks, I'm getting 400 - Bad Request errors now and then, on pretty standard API calls like fetching post details. This is the response I get: <DOCTYPE HTML PUBLIC "-//W3C//DTD ...
Glorfindel's user avatar
  • 6,762
3 votes
1 answer
125 views

StackExchange API, OAuth for other sites than Stack Overflow

I'm implementing the OAuth system through StackExchange API, here is the guide. I've already integrated the OAuth system with stack overflow with the following parameters: Token URL: https://...
Daniel James Tronca's user avatar
3 votes
1 answer
74 views

503 errors on batch get questions endpoint

I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
Vladyslav Usenko's user avatar
3 votes
1 answer
2k views

Implicit OAuth flow puts the access token in the hash?

The implicit OAuth flow puts the access token in the hash. However, I would like to get that in the query (from example.com/hi#access_token=123456 to example.com/hi?access_token=123456) for it to work ...
user avatar
3 votes
1 answer
375 views

iOS Client for stackoverflow always throws redirect_uri not a valid uri

I tried to use the Stack Exchange API to authenticate the user. I have registered my app with redirect_uri as stackexchange.com/oauth/login_success. But it always throws "redirect_uri is not a valid ...
Kishorekumar E K's user avatar
3 votes
1 answer
56 views

Reputation_change has the historical total rather than the daily delta?

I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has: { on_date: 1447018487, ...
David Ebbo's user avatar
3 votes
1 answer
59 views

`body` of `inbox_item` returning only excerpt, not full body

I have run /inbox/unread function. It returns a list of inbox_items. The body of inbox_item gives excerpt, not the full body. This is with all the functions that return inbox_item. According to ...
amit jha's user avatar
  • 842
3 votes
1 answer
81 views

What does `total` in the /notifications route represent?

What does total in /notifications represent? I ran it. The result was items in Common Wrapper Object was array of 24 items where as total was 4.
amit jha's user avatar
  • 842
3 votes
1 answer
120 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
Jack Sprat's user avatar
3 votes
1 answer
63 views

Wrong results for fetch timeline from offset

To get the timeline for a question I am sending this request: https://api.stackexchange.com/2.2/questions/63299112/timeline?site=stackoverflow&fromdate=1597649222 I am getting empty results: {&...
Wajeed Shaikh's user avatar
3 votes
1 answer
266 views

PLACEHOLDER - How to get write_access to comment/answer on Stack Exchange

I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
Anshul Tyagi's user avatar
3 votes
1 answer
101 views

Paging fails at 10K items for /search on any site but Stack Overflow

There's a problem with requesting more than 10,000 items. With Stack Overflow it works just fine. But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,...
Y. Evers's user avatar
3 votes
1 answer
83 views

The /tags query is not giving me the correct results between two dates?

I'm trying to get the yearly total number of questions that have the tag browserify. I can see that there are questions tagged from this year like this one and that one. The site reports that there ...
Jeremy Larter's user avatar
3 votes
1 answer
194 views

Search for answers/comments under questions with certain tags using the Stack Overflow API?

The advanced search (/search/advanced) API can search for questions by tags. But /users/{ids}/answers API doesn't take tags. I'd like to monitor answers/comments for questions with certain tags. Is ...
Jason Li's user avatar
3 votes
1 answer
170 views

Difference between `/inbox/unread` & `/me/inbox/unread`

I ran /inbox/unread & /me/inbox/unread. What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
amit jha's user avatar
  • 842
3 votes
1 answer
114 views

top-answerers / top-askers documentation bug: number of results returned incorrect

The top-answerers-on-tags and top-askers-on-tags documentation claim: Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days. and Returns the top 30 askers ...
Martijn Pieters's user avatar
3 votes
1 answer
96 views

How to search answers like is:answer

How can I use the API to search for answers containing particular text or with particular properties? For example, this link allows me to search for is:answer foo, that is, answers containing foo. Can ...
elixenide's user avatar
  • 173
3 votes
1 answer
241 views

Unable to post a comment using the interactive API documentation

I'm trying to to integrate the Stack Exchange API in my application. I'm trying the authentication but when I got the token and used it it gave a write_access issue. That issue was resolved when I ...
msftsofbot's user avatar
3 votes
1 answer
100 views

Stack Exchange API - Get Watched Tags for a User

Is there a way to get a list of tags that the user has set up as "Watched Tags"? If not, is it on the roadmap?
Peter Bons's user avatar
3 votes
1 answer
968 views

Got a Bad Status Line

Since about 10 AM US-CDT on August 8, 2015, I've been getting ('http protocol error', 0, 'got a bad status line', None) on a /users/{ids}/associated query after several successful such queries ...
Dennis Williamson's user avatar
3 votes
1 answer
146 views

How to calculate users, who have posted (question/answer) using specific tag?

For example, if I want to know the number of users who asked and answered about PHP. Currently, I can just get the list of questions and its total number, but it's not enough, because one user could ...
Yury Andreykovich's user avatar
3 votes
1 answer
517 views

Why is the API giving a different response for preview true/false with POST requests?

Update This expression will evaluate to show the cause. The only requirement is an emacs with url. As you can see, the result from using curl and that from using the url package is different. ...
Sean Allred's user avatar
3 votes
0 answers
104 views

A simple app to add tags to questions given a search criterium

In the wake of the *-vba situation on Stack Overflow, one tag remains, that should be retagged to two others. See this MSO post for more details. To resolve this situation, this is a mini-app, that ...
Erik A's user avatar
  • 131
3 votes
0 answers
67 views

API 404's when I try to fetch related tags for the `bin` tag

If you query the API for tags related to [bin]: https://api.stackexchange.com/2.2/tags/bin/related?site=stackoverflow this simply returns: Invalid JSON returned and a 404. (live demo) But it ...
Christian Sauer's user avatar
3 votes
0 answers
57 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 ...
larsks's user avatar
  • 141
3 votes
0 answers
84 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 ...
a1626's user avatar
  • 161
3 votes
0 answers
45 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 ...
a1626's user avatar
  • 161
3 votes
0 answers
224 views

SEStandard - A .NET Standard 1.1 compliant Stack Exchange client library that supports API v2.2

Please note that SEStandard is still under development. It is currently at version 1.0.0-rc, and is a release candidate. While you can expect the API not to change, you might come across bugs. Please ...
ravindUwU's user avatar
  • 319
3 votes
0 answers
97 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() { ...
Rakete1111's user avatar
3 votes
0 answers
38 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....
Rakete1111's user avatar
3 votes
0 answers
54 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 :)
Rakete1111's user avatar
3 votes
0 answers
40 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 ...
Rakete1111's user avatar
3 votes
0 answers
109 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 ...
Arulkumar's user avatar
  • 578