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 |
Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.
3
votes
1
answer
51
views
The /users/{id}/timeline route is reporting incorrect totals
It seems that the /users/{id}/timeline route is returning an incorrect total. For example, the following URL is reporting a total of 1607 items:
http://api.stackapps.com/1.1/users/7789/timeline
…
4
votes
2
answers
307
views
When does a rate-limit day start and end?
After reading the docs/faqs, I couldn't help but wonder...
What exactly is a day?
When does it start?
When does it end?
What timezone are you using?
In other words, when my app runs out of reques …
2
votes
Is there an api to post questions without using the websites interface?
I already tried this. Complete exasperation with sending POST requests to StackOverflow - Meta Stack Exchange.
So it's v2.0 or nothing.
2
votes
3
answers
316
views
Can there be a way to find a user given his email hash?
Given a user's email, it would be great if we could hash it and search for that user with it.
The reason for this is suppose:
Someone has a website
On that website, they invite SO users to enter th …
2
votes
0
answers
63
views
Would it be possible (in a future API release) to combine queries?
For example, to display a user's profile, the following routes are hit (keep in mind that these requests are all made to display one page):
http://api.{SITE}.com/1.1/users/{ID}
http://api. … sort=votes&pagesize=5
http://api.{SITE}.com/1.1/users/{ID}/answers?sort=votes&pagesize=5
http://api.{SITE}.com/1.1/users/{ID}/badges
http://api. …
13
votes
Accepted
Get questions content from StackOverflow API
First of all, version 1.1 of the API has been deprecated for quite some time now. Users are strongly encouraged to move their applications over to version 2.1. … Version 2.0 of the API introduced the concept of filters, which (in your case) requires that you manually specify that you would like to fetch the post body. …
4
votes
Accepted
How to access my App info
You can find the page listing all of your v2.0 and v2.1 keys here:
https://stackapps.com/apps/oauth
3
votes
What is the correct way to get the stackoverflow.com URL for an answer via the API?
As of version 2.0 of the API, answers can return a link field in the response, which can be returned in the response by creating a filter that includes it: …
3
votes
Accepted
How to register application for API implicit authentication?
This will provide you with an API key and application ID.
If you want the application to use the implicit OAuth flow, then make sure the "Enable Client Side OAuth Flow" checkbox is checked: …
1
vote
Accepted
How many simultaneous queries may I make of the same Stack Exchange API?
"I'm also interested in looking how any Stack Exchange API frameworks might have already implemented methods to query all pages in such "friendly" ways." … I wrote a PHP wrapper for the API that does this in a rather unique way. …
2
votes
Answers without owners
You can find more information on this page in the API docs:
This affects "shallow user" fields most frequently.
For example, this question's owner has been deleted (a very rare occurrence). … An API query for that question returns no user accordingly. …
3
votes
Prefered way to retrieve all search results
A possible solution to this finally hit me out of the blue like a ton of bricks:
Instead of retrieving successive pages by page number, why not retrieve them by date range? Here is a quick rundown of …
4
votes
Accepted
Has anyone *implemented* the Stack Exchange API on top of a public database dump?
Its behavior is designed to match the actual API route as much as possible.
That being said, it serves mostly as a demonstration that such a thing is possible. … (Not only that, but it actually uses the real API to keep the information up to date.) …
2
votes
Using the API directly from JavaScript
You can do this by making a JSONP request. This works by returning the results of a query in a <script> tag that invokes a callback.
You can find more information about it here.
1
vote
Accepted
Sort options explained
Here is a summary:
activity - sort by recent activity (edits, answers, etc.) - when using order=desc the first questions will be the ones with the most recent activity.
votes - sort by vote count - …