Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
This tag is for questions about the Stack Exchange API version 2. First released Feb 2012.
1
vote
Accepted
Do my users need to be logged in, for quota?
Your app can just give them the link, and they don't need to be logged in.
The quota is a function of your API key (mainly).
Register your app and use a key and that will give you a 10K quota.
See …
3
votes
Why is "body" missing from certain inbox items?
The documentation was updated sometime in the last 2 years and the API docs (version 2.2) now state that the property may be absent:
1
vote
Accepted
Authentication uses # instead of `?`?
Refer to the generic URI syntax, it is perfectly valid to have a fragment (The optional part of a URL that starts with an octothorpe #) without a preceding query (The optional part of a URL that start …
2
votes
Get favorited tags of user
UPDATE:
The feature appears to be present in the, so far, undocumented API version 2.3. See captncraig's answer on this page.
After all these years, it looks like this might never get implemented. …
11
votes
Accepted
Unable to get access token
Refer to the Stack Exchange API, Authentication docs. It looks like you are trying to authenticate using either a server you do not control, or a local server that is not on the public internet.
Cru …
3
votes
Accepted
Descriptions of tag-based badges are incorrect
This seems to have been silently/magically fixed in the last 7 months (Date of Nicos Karalis' comment).
Descriptions seem correct now. I had verified that they weren't correct when I upvoted this q …
1
vote
The `top_questions` field shows outdated information?
Although this can be annoying or confusing, there is no bug.
Take a look at your Stack Exchange accounts page. Currently it shows:
(Click for larger image)
10 questions, here on Stack Apps, and 1 …
4
votes
Accepted
Get the Authenticated User's email?
The API does not provide any method to determine a user's email address and it is unlikely to do so in the future.
This would be a risk to both the user's privacy and his/her trust in Stack Exchange. …
2
votes
Accepted
Add the 'people reached' count to the API?
Until the feature request is approved (unlikely, and a similar request has no developer love either), you can get this number in one of 3 ways:
You can get slightly stale data with this SEDE query ( …
3
votes
Accepted
What is the difference between accepted and is_accepted?
If the answer is the accepted answer, is_accepted is true and anyone can see it.
accepted is set to true only if the currently authenticated user is the one who has accepted the answer.
For instan …
3
votes
Accepted
How to get up_vote_count and down_vote_count for a user?
You need to use a filter that returns those properties. The default filter does not.
Also, the API is at version 2.2. You should use that unless you've a very good reason not to.
So try, for example …
2
votes
Getting display name of the site on which question is located
You already know the site, it has to be built in to every /questions query. But, if you are querying separate sites with concurrent AJAX queries, merely encapsulate the site name in your AJAX callbac …
1
vote
API returns the last activity date even if asked not to
Confirmed.
The path seems to use a default sort key on last_activity_date and that corrupts the filter somehow. (I checked for caching by waiting more than 1 minute and by varying the question ids.)
…
10
votes
Accepted
List of Votes by Authenticated users
No. Currently the users type does not return any private_info and neither does the user_timeline type return any voting information.
No other API method allows for detecting a user's vote history ex …
3
votes
What is "accept_rate" in the Stack Exchange API?
accept_rate is the internally tracked value of the user's Accept Rate. This is roughly a measure of how many of the user's questions have answers and where one of the answers was accepted by the user …