Questions tagged [api-v2.2]

For questions relating to version 2.2 of the Stack Exchange API.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 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 ...
Glorfindel's user avatar
  • 6,762
2 votes
1 answer
373 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 ...
Blasanka's user avatar
  • 121
3 votes
1 answer
100 views

Stack Exchange API - Get Watched Tags for a User

Is there a way to get a list of tags that the user has set up as "Watched Tags"? If not, is it on the roadmap?
Peter Bons's user avatar
2 votes
0 answers
33 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): ...
Glorfindel's user avatar
  • 6,762
9 votes
1 answer
134 views

Typos in API documentation

From the /posts documentation: Most applications should use the question or answer specific methods, but /posts is available for those rare cases where any activity is of intereset. intereset => ...
Glorfindel's user avatar
  • 6,762
2 votes
1 answer
66 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 ...
Makyen's user avatar
  • 1,615
4 votes
1 answer
51 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 ...
ᔕᖺᘎᕊ's user avatar
  • 4,365
3 votes
1 answer
101 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,...
Y. Evers's user avatar
3 votes
0 answers
84 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 ...
a1626's user avatar
  • 161
3 votes
0 answers
45 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 ...
a1626's user avatar
  • 161
2 votes
1 answer
53 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. ...
ashleedawg's user avatar
9 votes
0 answers
330 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 ...
Filnor's user avatar
  • 401
3 votes
0 answers
224 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 ...
ravindUwU's user avatar
  • 319
2 votes
1 answer
100 views

The new implicit authentication dialog doesn't handle comma-delimited scopes

The authentication docs state that the scopes parameter of the URL to which a user should be directed to, for implicit authentication, should be a list of scopes that are delimited by either commas or ...
ravindUwU's user avatar
  • 319
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&...
Water Cooler v2's user avatar
1 vote
0 answers
79 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 ...
Anton Tarasenko's user avatar
4 votes
0 answers
33 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, &...
foobarbecue's user avatar
2 votes
0 answers
113 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 ...
RAGE Developer's user avatar
4 votes
0 answers
356 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 ...
clickbait's user avatar
  • 385
3 votes
0 answers
97 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() { ...
Rakete1111's user avatar
6 votes
0 answers
155 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 ...
user avatar
2 votes
1 answer
58 views

What does "in practice" mean here?

From /answers/{id}/delete: In practice, this method will never return an object. For me, "in practice" means that the method will maybe return an object. But why? That's not good from an ...
Rakete1111's user avatar
3 votes
0 answers
38 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....
Rakete1111's user avatar
6 votes
0 answers
98 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 ...
Bugs's user avatar
  • 451
3 votes
0 answers
54 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 :)
Rakete1111's user avatar
3 votes
0 answers
40 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 ...
Rakete1111's user avatar
1 vote
1 answer
666 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:"...
ajthinking's user avatar
0 votes
1 answer
138 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 ...
Mark Ireland's user avatar
4 votes
1 answer
176 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....
Brandon Kelly's user avatar
3 votes
1 answer
2k views

Implicit OAuth flow puts the access token in the hash?

The implicit OAuth flow puts the access token in the hash. However, I would like to get that in the query (from example.com/hi#access_token=123456 to example.com/hi?access_token=123456) for it to work ...
user avatar
20 votes
3 answers
147 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 ...
Cerbrus's user avatar
  • 331
3 votes
0 answers
109 views

Only Stack Overflow has documentation, but the API erroneously lists documentation privileges for all sites

Privileges related to Stack Overflow Documentation are displaying in every other site's API data. Using Meta Stack Exchange, for example, /2.2/privileges?site=meta returns the following documentation ...
Arulkumar's user avatar
  • 578
6 votes
1 answer
513 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 ...
vap78's user avatar
  • 113
1 vote
1 answer
76 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 ...
kriegaex's user avatar
  • 121
7 votes
1 answer
131 views

The answer object returns an empty array for tags

Since version 2.1, the answer object has a field called tags. However, sometimes, an empty array or even nothing is returned in this field: Example with the filter !-*f(6t0Vk01e. Am I doing ...
FelixSFD's user avatar
  • 625
3 votes
0 answers
84 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 ...
Lefty G Balogh's user avatar
45 votes
0 answers
2k views

Guttenberg - A bot searching for plagiarism on Stack Overflow

What is Guttenberg? Guttenberg is a bot that searches for plagiarism or duplicated answers on Stack Overflow. It's currently running in SOBotics under the user Guttenberg. Implementation Every 60 ...
FelixSFD's user avatar
  • 625
3 votes
0 answers
232 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 ...
WeldPad's user avatar
  • 31
6 votes
1 answer
185 views

JavaScript SDK-based workflow never pushes message back from OAuth login_success page on Stack Exchange side

I'm using the JavaScript SDK by Stack Exchange provided with the latest API, and despite following the official instructions & examples it doesn't work - it seems there is a bug which breaks the ...
Mikhail Vink's user avatar
5 votes
1 answer
110 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 ...
ᔕᖺᘎᕊ's user avatar
  • 4,365
22 votes
1 answer
456 views

Stack Exchange thinks that Shog is a elected moderator

I was browsing the API for the list of elected moderators, The API URL is http://api.stackexchange.com/docs/elected-moderators#pagesize=100&order=desc&sort=reputation&site=stackoverflow&...
Bhargav Rao's user avatar
  • 1,357
4 votes
1 answer
150 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 ...
AVK's user avatar
  • 279
2 votes
1 answer
193 views

Keep getting 500 "Internal error" in requests with an access token

I'm trying to fetch some data from the Stack Exchange API I have a valid access_token and registered key but I keep getting internal error as a result. Here is the request URL: https://api....
Marco Pierucci's user avatar
8 votes
1 answer
133 views

Bug with `badges/name` endpoint

Last night I had a programme running and it errored on the first call to the badges/name endpoint on the API, exact API endpoint call: https://api.stackexchange.com/2.2/badges/name?order=asc&sort=...
Der Kommissar's user avatar
2 votes
0 answers
103 views

API to Emulate Notifications

Is there a API End Point that will emulate Test Notifications? When I say Notifications, I Mean both Inbox and Achievements. Right now i am using below for the data Unread Notification : https://...
AVK's user avatar
  • 279
75 votes
0 answers
6k views

Natty - Bringing 10k moderation to All

Background and History The New Answers to Old Questions tool helps us to find all the answers added to questions which are more than 30 days old. However the issue with the tool is that it is not ...
Bhargav Rao's user avatar
  • 1,357
2 votes
1 answer
136 views

bad_parameter when using key with todate?

I'm having trouble using my API key with the todate parameter. My query works fine with todate: $ curl -s "https://api.stackexchange.com/2.2/search/advanced?todate=2015-07-21&site=stackoverflow&...
bmaupin's user avatar
  • 123
22 votes
0 answers
870 views

Burnaki: tracking progress and helping burnination efforts on Stack Exchange

Burnaki The purpose of this project is to monitor burnination efforts on the Stack Exchange network. The goals are threefold: tracking the progress by watching for close votes / reopen votes / ...
Tunaki's user avatar
  • 733
6 votes
1 answer
142 views

Field "comment_count" is not always returned by API

I am making a request with a custom filter that includes the "comment_count" field of the question type. My custom filter is !RtdMEtslKF6Z()NqpDUFZ58R6twu-.4V48gn0furqA*7_BL1. However, when I'm ...
Tunaki's user avatar
  • 733
3 votes
1 answer
375 views

iOS Client for stackoverflow always throws redirect_uri not a valid uri

I tried to use the Stack Exchange API to authenticate the user. I have registered my app with redirect_uri as stackexchange.com/oauth/login_success. But it always throws "redirect_uri is not a valid ...
Kishorekumar E K's user avatar