Skip to main content

All Questions

Filter by
Sorted by
Tagged with
4 votes
1 answer
1k views

Unable to make API calls using access_token for private Stack Overflow Teams site

I am attempting to create an application utilizing the API to query data from our private Stack Overflow Teams site. I've read through the documentation at https://api.stackexchange.com/docs/teams ...
3 votes
1 answer
120 views

top-answerers / top-askers documentation bug: number of results returned incorrect

The top-answerers-on-tags and top-askers-on-tags documentation claim: Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days. and Returns the top 30 askers ...
0 votes
0 answers
31 views

Strange pagination behaviour of /search/excerpts [duplicate]

In an attempt to (automatically) restore broken images* which have originally been included as HTTP links, I've tried to use /search/excerpts to look for candidate posts; specifically, I'm setting the ...
3 votes
1 answer
104 views

Paging fails at 10K items for /search on any site but Stack Overflow

There's a problem with requesting more than 10,000 items. With Stack Overflow it works just fine. But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,...
4 votes
1 answer
113 views

/questions returns wrong markdown when a suggested edit is improved

The /questions API method returns wrong markdown when the last revisions were made by a suggested edit improved in the review queue. This event leads to two revisions (one for the suggested edit and ...
4 votes
0 answers
57 views

OAuth Dialog has all content positioned off-screen

When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-...
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
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 ...
2 votes
1 answer
397 views

Can I fetch Stack Overflow users by location in Stack Exchange API

I read the documentation and I know that I can get users' locations but I have not seen anywhere about querying by location. Does that mean that it is not possible? If it is possible, how? As an ...
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.
9 votes
0 answers
334 views

CheckYerFlags: Notifying when a user reaches a certain flag amount

About CheckYerFlags This bots notifies users when they reach an amount of certain flags (so called flag ranks), for example 1,111 or 33,333 in a chat room and also provides them a command to get the ...
2 votes
0 answers
35 views

.wrapper not sorted correctly in filter edit popup

When editing the filter, e.g. on this API documentation page, all types are sorted alphabetically except for .wrapper which is always shown below answer, instead of above it (or at the end): ...
17 votes
1 answer
255 views

List of Votes by Authenticated users

In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question. ...
12 votes
2 answers
6k views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
4 votes
1 answer
154 views

Comments have incorrect `can_flag` values for at least 2 different API routes

I am trying to see and show whether a comment on question/answer is flagged by the authenticated user. But whenever I use /questions/{ids}, can_flag is true irregardless of whether the user (me) can ...
2 votes
1 answer
69 views

What are the top level question & answer localized flag_option titles?

For the SE API, the endpoints dealing with flags (e.g. /questions/{id}/flags/options) return the flag_option type. However, the option_id values are explicitly stated as being unstable, but it's ...
2 votes
1 answer
109 views

Can the API Edit a Question, changing only one field?

The documentation for the edit question method (/questions/{id}/edit) is somewhat vague. Are all of the parameters required? For example, if the only field I want to change in the question is tags, ...
4 votes
1 answer
52 views

Can we find the time of a vote using the API?

I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and ...
6 votes
0 answers
72 views

Docs say the API returns a user's age, but it doesn't (anymore)

The doc page says that the user object returns an age property (for those users that specified an age). But the API  no  longer  does.   (Plus spot checks of users that had age in ...
5 votes
1 answer
130 views

Typos on api.stackexchange.com/docs/js-lib

Under the Authentication section on https://api.stackexchange.com/docs/js-lib, there are a few typos (emphasis mine): scope (optional) – an array of scopes to request during authentication, valid ...
3 votes
1 answer
1k views

Got a Bad Status Line

Since about 10 AM US-CDT on August 8, 2015, I've been getting ('http protocol error', 0, 'got a bad status line', None) on a /users/{ids}/associated query after several successful such queries ...
4 votes
1 answer
410 views

My filter is not returning any results. How to create a minimal filter?

I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this. I'll use this call as an example since it successfully ...
3 votes
0 answers
90 views

/synonyms sorting is majorly broken

I'm requesting /tags/synonyms data in descending order by creation date, but the order is jumbled up: The first date is 2017-08-22 where as the second one is 2018-03-16. The same can be observed for ...
3 votes
0 answers
46 views

Search incomplete synonym name

Is there is way to search synonym when user is inputting the name. Something like how things work in SO's tag search page. j2se is a synonym of java tag, but it appears in search when searching for ...
2 votes
1 answer
58 views

Exclude records where field is present (ie., return only open questions)

How do I exclude records based on the presence of a certain field (like the equivalent of SQL's [fieldname] Is Null)? Example: Results for Closed questions include field closed_date=1234567890. ...
3 votes
0 answers
226 views

SEStandard - A .NET Standard 1.1 compliant Stack Exchange client library that supports API v2.2

Please note that SEStandard is still under development. It is currently at version 1.0.0-rc, and is a release candidate. While you can expect the API not to change, you might come across bugs. Please ...
20 votes
3 answers
159 views

Documentation or API method for `option_id` information, for the `/flags/options` API calls?

The Stack Exchange API has a couple of calls that return a list of flag_option objects. These objects contain a couple of properties that can be used to identify the flag you need. For example, when ...
6 votes
1 answer
571 views

Got 502 response after very few calls

This looks like a duplicate of Throttle violation after 300 calls but this one is reported as fixed in 2012. Today I made ~450 requests with an app key (no oauth token) and suddenly got a 502 ...
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&...
1 vote
0 answers
84 views

Stack Exchange Javascript SDK implicit OAuth2 bugs in `SE.authenticate`

I've tried to set up an implicit authorization workflow with JavaScript SDK version 2.0: <script type='text/javascript' src='https://api.stackexchange.com/js/2.0/all.js'></script> I was ...
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, &...
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 ...
2 votes
0 answers
224 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
2 votes
0 answers
116 views

JavaScript API Library for StackExchange API?

I'm developing an application that integrates with the Stack Exchange Network for posting questions and importing whole discussions. Therefore I'm looking for a JavaScript library for the Stack ...
4 votes
0 answers
362 views

RepAdvisor - A Basic Tool For Farming Reputation

Almost all of us Stack Overflow users want to earn more reputation. However, we don't have all the time in the world to answer questions. RepAdvisor is a bookmarklet that predicts how much reputation ...
3 votes
0 answers
102 views

stackcpp - An asynchronous C++11 library for the StackExchange API

stackcpp is an asynchronous C++11 library for the StackExchange API! Code Snippet Here's a small example of the API in action: #include <iostream> #include "stackcpp/client.h" int main() { ...
6 votes
0 answers
158 views

Reputation-based filter for search results

This userscript filters search results on Stack Exchange sites by reputation of the asker. To use it, add a search parameter such as is:25 where 25 is the minimum reputation required. Since the search ...
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/...
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
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....
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 ...
6 votes
0 answers
102 views

Revisions API doesn't return all revisions if post has had multiple edits made in quick succession

I am pulling information from the posts API and then checking the revisions API for some of these posts. I am noticing that on posts which have had multiple revisions done in quick succession that the ...
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 :)
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 ...
1 vote
1 answer
693 views

No 'Access-Control-Allow-Origin' for oauth/access_token

Following the Stack Apps documentation Authentication (explicit) section I crafted this AJAX call $.ajax({ url:"https://stackexchange.com/oauth/access_token", type:"...
0 votes
1 answer
156 views

What token parameters to use for OAuth2 Authorizaton?

I'm trying to connect a piece of desktop software to the Stack Exchange web service through OAuth2. I've read the docs but the problem is that what it talks about is subtly different to what ...
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 ...
2 votes
0 answers
31 views

New line missing between 'notice' and 'related_site' member types

At the bottom of http://api.stackexchange.com/docs?tab=type#docs under the Member Types section, notice and related_site are on the same line. A <br> is missing between the items.
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
234 views

Stack Overflow as Web Component

Background This project was developed to address the following issues: Simplify the process of using Stack Exchange API in a websites, for starter we simplify the process of displaying the most ...

1 2
3
4 5
7