All Questions
316 questions
2
votes
1
answer
156
views
Can you identify a user from the access_token?
I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
22
votes
1
answer
468
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&...
1
vote
1
answer
79
views
How to sort /questions/featured by bounty_closes_date
The API documentation describes tthe usage of /questions/featured. Unfortunately there does not seem to be a way to sort the result by bounty_closes_date, which is IMO the sort option making most ...
8
votes
1
answer
142
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
0
answers
55
views
'answer' type has "unchanged in unsafe filters" listed for the wrong field
http://api.stackexchange.com/docs/types/answer says the can_flag field is unchanged in unsafe filters. It's probably meant for the field above it: body_markdown.
6
votes
2
answers
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 ...
3
votes
0
answers
85
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 ...
22
votes
0
answers
882
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 / ...
2
votes
0
answers
23
views
'search_excerpt' type issues
On the search_excerpt page:
community_owned_date should be marked as may be absent
locked_date should be marked as may be absent
search/excerpts should be listed in the Methods That Return This Type ...
3
votes
0
answers
46
views
Types missing from the "Member Types" section
The following types are not listed on http://api.stackexchange.com/docs?tab=category#docs under the Member Types section:
network_post
closed_details
original_question
Note that it's a nonexhaustive ...
8
votes
1
answer
138
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=...
6
votes
1
answer
195
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 ...
4
votes
0
answers
122
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://...
2
votes
1
answer
206
views
Keep getting 500 "Internal error" in requests with an access token
I'm trying to fetch some data from the Stack Exchange API
I have a valid access_token and registered key but I keep getting internal error as a result.
Here is the request URL:
https://api....
2
votes
0
answers
49
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
1
answer
137
views
bad_parameter when using key with todate?
I'm having trouble using my API key with the todate parameter. My query works fine with todate:
$ curl -s "https://api.stackexchange.com/2.2/search/advanced?todate=2015-07-21&site=stackoverflow&...
7
votes
1
answer
683
views
Application Key and AccessToken are not working for Stack Exchange API? [duplicate]
I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation.
And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
2
votes
1
answer
82
views
Notice field on questions may be absent?
The notice type, that is a field of a question, appears to be optional, yet it is not marked as "may be absent"?
For example, when I request questions with a filter that has the notice field checked, ...
6
votes
1
answer
148
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 ...
8
votes
1
answer
139
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 ...
3
votes
1
answer
391
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 ...
-5
votes
1
answer
645
views
What is the root cause for too many request issue?
I am getting the following error when importing questions under a particular tag name:
{"error_id":502,"error_message":"too many requests from this IP, more
requests available in 56100
seconds"...
2
votes
1
answer
114
views
Can I change my profile picture using the API version 2?
I was considering making an app that lets the user design a profile picture and then activate it on the user's Stack Exchange account. Could a feature to change the profile picture be added to the ...
8
votes
1
answer
235
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
1
answer
729
views
StackExchange API Java wrapper
Screenshot / Code Snippet
StackExchangeApi api = new StackExchangeApi(key);
api.authorize(authToken);
StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW);
Response&...
-3
votes
1
answer
90
views
Why API Version 2.2 returns null always while getting questions list?
The below 2 codes returns null always. How to get the list of questions using API Version 2.2?
Question thisPost = context.Official
.StackApps
.Questions.ById(1)
.WithComments(true)
.First();
var ...
0
votes
0
answers
71
views
OAuth domain with a custom port in a dev environment? [duplicate]
I have an app for which the OAuth domain is example.com
However, the domain for dev environment is example.com:8000
When trying to authorize the website, Stack Exchange replies with an error ...
-2
votes
1
answer
65
views
Are the inbox routes (`inbox_item`) missing some item types?
Should there be more options for item_type in the "inbox" routes (they return inbox_item)?
Shouldn't they return answer and edit suggested like the site's global inbox does? As shown in this ...
1
vote
1
answer
87
views
Is my script's API usage okay?
I've written a short Python script to help people review C and C++ questions on Code Review. It uses the API version 2.2.
I've already asked there for a review of that Python code, but I would ...
5
votes
0
answers
735
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 ...
1
vote
1
answer
89
views
Absence of `order` and `sort` in rest calls?
Will absence of order and sort give the same result as order=desc and sort=activity always in every call (it is default in every call)?
1
vote
1
answer
95
views
Why is the `site` parameter required in `/me` call?
I want to query information about the logged-in user using me, and this site parameter is creating some small problems.
I am developing a visual studio extension where upon logging in a user will get ...
1
vote
1
answer
50
views
`types=main_site` in `/me/associated` gives `meta_site` accounts also
When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
2
votes
1
answer
68
views
`fromdate` and `todate` parameter in `/me` call
What if we don't give the fromdate and/or todate parameters in a /me call?
Will it give result of user of all times? It's not mentioned explicitly in documentation.
2
votes
0
answers
58
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 ...
32
votes
1
answer
11k
views
Looking for a beginner's tutorial to using the API
I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation.
I want some fundamental ...
6
votes
0
answers
86
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, ...
5
votes
1
answer
198
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 ...
6
votes
0
answers
77
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/[email protected]",
"favicon_url": "http://cdn.sstatic.net/stackoverflow/img/...
15
votes
0
answers
444
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 ...
3
votes
1
answer
88
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 ...
6
votes
0
answers
112
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 ...
2
votes
1
answer
60
views
Advanced search doesn't return expected results when using min & max (dates) together?
I want to use the Advanced Search API to get the same results as the Stack Overflow site search.
With it, I can see new questions on 11/10/2015.
When I tried to craft a query using the Advanced ...
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
0
answers
108
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({
...
5
votes
1
answer
92
views
Enumerated types documentation in 1.1 API
I'm starting to implement requesting question and user activity in my framework, but the new 1.1 API documentation doesn't seem to indicate what the possible return values are for the fields any more.
...
4
votes
1
answer
66
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
1
answer
78
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 ...
3
votes
1
answer
201
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 ...
1
vote
1
answer
43
views
The API /tag stats are notably different from the site totals
Why this discrepancy?
--Sep 10 2015 11:26:09 GMT+0530 (IST)--
At that time, the API shows 42010 tags.
But the same thing computed on the Stack Overflow tags page is 44496.
Is it because of caching?