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 |
You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.
4
votes
503 errors on batch get questions endpoint
So, you are making up to 150 requests in a 30 second period (10 "parallel requests", with a 2 second pause in between). And failing at 80 to 100+ seconds of operation and 400 to 500 total requests?
…
3
votes
Accepted
Is there any way or script to sort questions/posts/answers with custom criteria?
You can filter (not sort) questions (and to some extent answers) by using the /search/advanced route of the API.
The q parameter allows most of the Advanced Search Options.
For example, this will fe …
3
votes
What happened to the links to a Stack App mentioned in the documentation about write access?
This is a documentation bug in my opinion. The "via Example App" was never included, nor should it be.
A user is fully responsible for his or her content, it doesn't, and shouldn't, matter how that …
1
vote
Accepted
How to register a Stack App with explicit OAuth 2.0 flow to a third party site?
Note that a URI is not a domain, but this seems to be a common mistake when setting up OAuth2.
Also reference:
`redirect_uri` is not under the registered domain for this application
What exactly …
3
votes
Accepted
Suggested edit not returned by API
It's probably because the referenced post has been deleted.
The API excludes (most) deleted data (usually).
2
votes
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending...
I think creation_date is a default/universal sorting, unless activity_date is available. (But you know what they say happens when you "ASSUME".)‡
Evidence for:
Seems like it would be requir …
1
vote
How to get access token from the hash?
Refer to the API Authentication docs; there are a great many things wrong with the URL in the question (at least 5).
For starters, it's to the wrong path. stackoverflow.com/oauth/authorize gives helpf …
1
vote
Accepted
How to search ALL sites with the advanced API?
No, there is no easy way to do this via the API.
Related feature requests:
Provide a method to search for sites winch merely wanted a search for site name/description. It was declined.
Search acro …
2
votes
Accepted
`redirect_uri` is not under the registered domain for this application
I don't know about that Ruby/Gem, but your app registration is not correct.
You need to configure your app for explicit OAuth2, per this other answer, except enter localhost instead of example.com. …
2
votes
Accepted
OAuth redirect_uri to https://stackexchange.com/oauth/login_success?xxx strips part of the q...
I don't think that's a bug, for implicit OAuth. Anyway, if I understand RFC 6749 correctly, that is not how you are supposed to do such extra checks.
Use the state parameter. And this works.
For exa …
1
vote
Is there a SQL-like query for the API?
No there is no "Query API", especially not for SQL-like syntax.
It sure would be sweet to have an always current version of SEDE† (even if limited to, say, a hundred rows), but this is very unlikely …
3
votes
Find out whether a user has association bonus
Yes, you can find out if the user has received the association bonus using the API. It's a bit clunky though.
However, as we discovered, "association bonus rights" are rather meaningless at the mome …
1
vote
Is it possible to create a private Q&A site using the Stack Exchange API?
Teams do have API support, although it is read-only at the moment. …
1
vote
Accepted
Can I make a Private Application?
Not only is that possible, but we do it all the time.
No one can see the apps you register at stackapps.com/apps/oauth/register except you (and the SE devs).
If you don't need OAuth, then you can …
2
votes
Accepted
I have created a lot of access_token with no_expiry scope while experimenting. How do I dele...
This is what the /apps/{accessTokens}/de-authenticate route does.
Passing valid access_tokens to this method causes the application that created them to be de-authorized by the user associated wit …