Questions tagged [api-v2.2]
For questions relating to version 2.2 of the Stack Exchange API.
189
questions
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 ...
2
votes
1
answer
89
views
Please provide an API "flair"-data call (`/associated` route is inadequate)
So today I decided to continue refining my JavaScript skills (different post over on Code Review SE if you'd like to review the results) and utilized the Stack Exchange API (v2.2) to write a "user ...
1
vote
1
answer
172
views
How do I find all questions/answers per a tag using .Net?
I want to get the list of questions based on tag name using .Net. can any one please let me know how to achieve this using .Net with API Version 2.2?
2
votes
1
answer
77
views
What happened to the links to a Stack App mentioned in the documentation about write access?
The documentation about write access states:
The application responsible for creating content via the API may be indicated with a link to an app's Stack Apps post. The exact manner of display is ...
-1
votes
1
answer
1k
views
Why and how to make use of API key and credentials Stack Overflow API? [duplicate]
I am in need of using the Stack Overflow API for my website. I've gone through the documentation and I got the API key and client credentials. But my question is, I am able to send my question through ...
52
votes
0
answers
3k
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 ...
2
votes
1
answer
56
views
Timeline activities appear to be missing (because creation_date has wrong and useless values)
When I'm looking at my Stack Overflow timeline according to the API, It's missing a lot of events.
According to the API, the last thing I did was posting this answer, five days ago, and you can see ...
5
votes
1
answer
437
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
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 ...
2
votes
1
answer
65
views
Suggested edit not returned by API
This suggested edit: https://dba.stackexchange.com/suggested-edits/20375 is not returned by the /suggested-edits/{ids} API call:
https://api.stackexchange.com/2.2/suggested-edits/20375?site=dba ...
2
votes
0
answers
42
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
0
answers
103
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
1
answer
50
views
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?
The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
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 ...
1
vote
0
answers
66
views
The authentication doc gives a wrong domain for authentication
The authentication doc page now lists URL's like:
https://stackoverflow.com/oauth
https://stackoverflow.com/oauth/access_token
etc.
While these seem to work, the correct domain is stackexchange.com, ...
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
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 ...
0
votes
1
answer
135
views
How to search ALL sites with the advanced API?
I can make a request to Stack Overflow as follows, which searches with keywords in titles:
/2.2/search/advanced?title=vlookup%20index%20match&site=stackoverflow
My question is ...
1
vote
1
answer
129
views
Why am I getting an "Access token sent over non-HTTPS request, it has been invalidated" message?
I've been using the Stack Overflow for Teams API for a while now, but since yesterday it stopped working for one of the Teams; that Team also wasn't listed in the Applications (https://stackoverflow....
1
vote
1
answer
208
views
OAuth redirect_uri to https://stackexchange.com/oauth/login_success?xxx strips part of the query string
I have a browser extension that uses OAuth2 to retrieve an access token. As recommended by https://api.stackexchange.com/docs/authentication, I use https://stackoverflow.com/oauth/login_success as the ...
2
votes
1
answer
100
views
The new implicit authentication dialog doesn't handle comma-delimited scopes
The authentication docs state that the scopes parameter of the URL to which a user should be directed to, for implicit authentication, should be a list of scopes that are delimited by either commas or ...
1
vote
1
answer
85
views
Why doesn't the API return a 'locked date' for this locked answer?
This answer has been locked, yet when I ask the API about this post it fails to return a locked_date:
It's a rather old lock, but I can't see anything suspicious in the timeline or the Post History.
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 ...
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 ...
0
votes
0
answers
30
views
Strange pagination behaviour of /search/excerpts [duplicate]
In an attempt to (automatically) restore broken images* which have originally been included as HTTP links, I've tried to use /search/excerpts to look for candidate posts; specifically, I'm setting the ...
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,...
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
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-...
2
votes
1
answer
373
views
Can I fetch Stack Overflow users by location in Stack Exchange API
I read the documentation and I know that I can get users' locations but I have not seen anywhere about querying by location. Does that mean that it is not possible? If it is possible, how?
As an ...
9
votes
0
answers
330
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 ...
2
votes
0
answers
33
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):
...
17
votes
1
answer
249
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.
...
12
votes
2
answers
6k
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 ...
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 ...
2
votes
1
answer
66
views
What are the top level question & answer localized flag_option titles?
For the SE API, the endpoints dealing with flags (e.g. /questions/{id}/flags/options) return the flag_option type. However, the option_id values are explicitly stated as being unstable, but it's ...
4
votes
1
answer
51
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 ...
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
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 ...
2
votes
1
answer
53
views
Exclude records where field is present (ie., return only open questions)
How do I exclude records based on the presence of a certain field (like the equivalent of SQL's [fieldname] Is Null)?
Example:
Results for Closed questions include field closed_date=1234567890.
...
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 ...
20
votes
3
answers
147
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 ...
6
votes
1
answer
513
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 ...
1
vote
0
answers
33
views
Could you please return tags pertaining to the question when the api's "answers on user" endpoint is called?
When I call "answers on users", I see that I can select a filter named "tags".
https://api.stackexchange.com/docs/answers-on-users#page=1&pagesize=5&order=desc&sort=votes&ids=303685&...
1
vote
0
answers
79
views
Stack Exchange Javascript SDK implicit OAuth2 bugs in `SE.authenticate`
I've tried to set up an implicit authorization workflow with JavaScript SDK version 2.0:
<script type='text/javascript' src='https://api.stackexchange.com/js/2.0/all.js'></script>
I was ...
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,
&...
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 ...
2
votes
0
answers
218
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
0
answers
113
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 ...
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 ...