All Questions
316 questions
18
votes
1
answer
278
views
Accessing Authenticated User's Close/Delete History
I'm working on the PHP chatroom's cv-pls backlog UI. Many users and myself would like the ability to track which questions we have already handled though close/delete votes. To be able to do that I ...
3
votes
0
answers
70
views
How do I access the greatest hits (questions) via API v2.2.?
The greatest hits (questions) of any stack exchange site (say stack overflow) can be found by visiting the below URL:
https://stackoverflow.com/questions/greatest-hits
I would want to access these ...
9
votes
1
answer
1k
views
How to see which users upvoted a question?
I assume this information is tracked, since StackOverflow shows me the questions I have upvoted (when going to their question page, I can undo the upvote). I couldn't find any api call that gives this ...
5
votes
0
answers
124
views
"What is meta" should be rephrased
Stackapps.com/help/whats-meta tells that there is "Meta Stack Apps". However there isn't.
Stack Apps is its own meta and meta is used to ask meta questions here.
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 ...
3
votes
1
answer
78
views
How many ids is 'too many'?
This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere.
Now, I could run binary search and find out, but 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, ...
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
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 ...
3
votes
1
answer
178
views
Getting Question data using stack.PHP fails after a certain number of requests
I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer.
I am running into an issue where I'm sending too many requests and ...
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 ...
3
votes
0
answers
56
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 :)
6
votes
0
answers
434
views
Resurfacing bug: "could not parse proxy url" error message
According to this question, the "could not parse proxy url" bug was solved more than 2 years ago.
However, when using the client-side OAuth flow, the aforementioned error message appears when ...
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 ...
5
votes
1
answer
70
views
API returns implausibly low questions per minute rate for Stack Overflow
Yesterday, I tried using the /info method of the API to predict the time left until 10M questions on Stack Overflow. In the process, I found that the returned "questions per minute" value was always 2....
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 ...
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 ...
5
votes
1
answer
78
views
Please make the site search on the API alphabetical
When I search, I want the sites to be alphabetical:
Please can they be?
3
votes
1
answer
208
views
OBSOLETE - /search method, returning the body of the questions
Probably this is a documentation fault.
For the search method, the parameter list doesn't say anything about an optional body, but looking at the Returns description shows:
"body": {
"...
3
votes
1
answer
100
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 ...
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 ...
8
votes
0
answers
165
views
Incomplete information in API documentation
I am struggling a little bit with the Stack Exchange API since there seems to be no formal specification for the individual endpoints of the API.
Example:
Endpoint: https://api.stackexchange.com/2.2/...
4
votes
0
answers
35
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,
&...
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&...
-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 ...
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 ...
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 ...
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)?
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 ...
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.
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 ...
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 ...
4
votes
1
answer
106
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 ...
3
votes
1
answer
83
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
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 ...
3
votes
1
answer
658
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. ...
10
votes
0
answers
280
views
Tell us that POST is required to write
While troubleshooting /posts/{id}/comments/add in order to answer Why am I getting a 404 when trying to post a comment?, it was noticed that the API path in question only responded to POST requests. ...
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
75
views
Which reputation events are private?
I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history)
and Stack Overflow's description of how reputation is calculated.
But, I can't find ...
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 ...
4
votes
2
answers
108
views
Possible bug in the help page?
There are some weird dot things in this help page:
api.stackoverflow.com/0.8/help/method?method=users/{id}/badges
{Dead link to missing image: http://files.quickmediasolutions.com/stackbug.png}
...
3
votes
0
answers
43
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 ...
4
votes
1
answer
110
views
Is there an RSS feed or question that has API changes?
Is there someplace that we can find notifications of API changes? I noticed today that a new property has been added to user along with a couple new method (and maybe other changes).
Is there an ...
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=...
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.
3
votes
1
answer
93
views
Why is "body" missing from certain inbox items?
I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method.
When item_type is set to "careers_invitations", the body attribute appears to be ...
3
votes
0
answers
81
views
SE API V1.1 documentation, date errata
The Stack Exchange API, version 1.1, documentation is ever so slightly confusing wherever Unix timestamps are mentioned (perhaps any ranges, I haven't dug too deeply)
For instance:
todate – Unix ...
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
40
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....
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 ...