All Questions
88 questions
5
votes
1
answer
119
views
Access token keeps being invalidated
For Stack Overflow Extras (SOX), a few users and myself have seen our access tokens being invalidated very often without any apparent reason.
We aren't requesting new tokens (which would invalidate ...
4
votes
1
answer
185
views
“Try It” URL has wrong URI
On API doc pages, the “link” link at the top-right of the “Try It” sections presents a URL with the wrong domain name:
For example, on docs/similar, the URL displayed will be:
https://api....
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 ...
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
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&...
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"...
-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 ...
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.
5
votes
1
answer
199
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 ...
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 ...
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,
...
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?
3
votes
1
answer
154
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
60
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 ...
2
votes
1
answer
85
views
How to find questions that were posted or edited recently?
The api function documented at http://api.stackexchange.com/docs/questions lets me list questions on a site. How do I sort this so that I see questions that are recently posted, edited, including ...
3
votes
0
answers
170
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
...
5
votes
1
answer
92
views
How can I access a user's ID on another site (eg. SU) if I have their ID from another site (eg. SO)?
If I have the ID of a user from any site, how can I get that's user's ID for a site I specify?
Eg. If someone's ID was 10349 on Super User, how could I get 10349's id on Stack Overflow?
I know I'd ...
0
votes
1
answer
99
views
How to get the "People reached" stat of a user, using the API? [duplicate]
I checked the user ids and advanced search API docs, but I could not get this stat. Does Stack Exchange provide this info in the API?
/2.2/users/{ID}?order=desc&sort=reputation&site=...
3
votes
1
answer
124
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 ...
2
votes
1
answer
81
views
Obtain JSON equivalent of a full Q&A HTML page?
I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange Q&...
1
vote
1
answer
134
views
Getting questions that have a specific tag or tags?
In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags?
EG:
All Stack Overflow questions asked in the past 2 months tagged 'ruby'?
All Stack Overflow questions ...
2
votes
0
answers
34
views
How do I sort the /2.2/notifications endpoint?
I do not find information on the notifications api page. I am looking at this: https://api.stackexchange.com/docs/notifications I would like to be able to sort by creations date and other fields. is ...
1
vote
0
answers
58
views
Procedure for posting questions using the API, v2.2?
I want use one of the Stack Exchange V2.2 API (e.g. /questions/add) to post Stack Overflow questions from my website. I didn't find any app which is currently using the API for posting questions.
As ...
2
votes
1
answer
316
views
Does verifying OAuth2 `access_token` validity count towards API call quota?
Does this Stack Exchange API endpoint count towards quota usage? :
http://api.stackexchange.com/docs/read-access-tokens
(This is the most promising API call I found for verifying the validity of ...
5
votes
1
answer
73
views
Possible to get a user's flag history?
Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag?
I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
2
votes
0
answers
32
views
Is there an API for adding a user to a site?
With 2.2, I've begun implementing some write features in my app. I've started with voting. When you vote on a question on a site that isn't in a users associated accounts, you get the error "The ...
1
vote
1
answer
55
views
I could POST a question but it does not have a `question_id` and it does not show up in my account
I could successfully create a question for my StackApp and I got this response (NSDictionary output):
{
"has_more" = 0;
items = (
{
"creation_date" = ...
2
votes
1
answer
29
views
Use case for /render endpoints?
In the new v2.2 API there are /render endpoints, such as /questions/{id}/answers/render. What are these for? Testing applications without actually posting anything?