Questions tagged [api-v2.2]
For questions relating to version 2.2 of the Stack Exchange API.
189
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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,
&...
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 ...
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 ...
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:
...
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).
...
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.
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 ...
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://...
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 ...
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://...
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 ...
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 ...
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 ...
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,
...
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 ...
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.
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 ...
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:
{&...
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 ...
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,...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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() {
...
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....
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 :)
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 ...
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 ...