This tag is for questions about the Stack Exchange API version 2.

learn more… | top users | synonyms (1)

2
votes
1answer
49 views

Maximum length of “about me” in the Stack Exchange API?

What is the Maximum length of "about me" in the Stack Exchange API? The one from the /me path. And in general, where are the length limits published? If anywhere?
2
votes
1answer
29 views

Is there a way to get the edit URL for a tag wiki from the API?

I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github). One thing I would like to do is add links for the various tag-related ...
2
votes
1answer
69 views

the stack exchange javascript library is 404

the library listed on the doc page for Authentication https://api.stackexchange.com/js/2.0/all.js ultimately redirects to https://api-v2cdn.sstatic.net/js/all.js which results in varying degrees ...
2
votes
1answer
17 views

Is the display name meant to be escaped HTML in the 2.0 version of the API?

The display_name field of a user is HTML escaped. See here for example. Is this expected behavior or a bug? The documentation doesn't mention it.
2
votes
1answer
35 views

How to track the open/closed status over the history of a question?

I'd like to find out the times in the history of a question when it was closed and reopened. How can I do that using API v2? The closest relevant call I have found is /questions/{ids}/timeline, ...
2
votes
2answers
64 views

How to set the width of an image in the body of a question?

I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or ...
2
votes
1answer
48 views

Stack Exchange API is returning non-existant/incorrect notices for questions

When you view this question you do not see any notices other than the protected notice at bottom. Also, you are able to edit the answers and question (provided you have the privilege). However, when ...
2
votes
1answer
45 views

Top questions by tag and period

I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example). How can I do this?
2
votes
1answer
25 views

In the API, User object, what are all these reputation properties?

I am going through the JSON that is resulting from calling the Stack Exchange User API. I see a bunch of reputation fields. private Number reputation; private Number reputation_change_day; private ...
2
votes
1answer
28 views

How can I get a list of favorite/ignored tags?

I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
2
votes
1answer
37 views

Can you identify a user from the access_token?

I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
2
votes
1answer
39 views

Is question_id unique across all stackexchange sites?

The standard structure of a question URL is: http://site.com/questions/question-id/title Example: http://stackoverflow.com/questions/457927/git-workflow-and-rebase-vs-merge-questions It is ...
2
votes
1answer
160 views

Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?

I found the Scribe oAuth api and I was wondering how a call would work with the Stack Exchange API, since that uses oAuth. I'm sorta green when it comes to oAuth but I'm planning on writing an ...
2
votes
1answer
47 views

how to get the number of profile views

according to the documentation, a User object has an attribute view_count, indicating the number of views of the user's profile. An example is also given there. However, when I sent a request ...
2
votes
1answer
33 views

Events: field request

The "Event" object doesn't have an easy way for getting at the object relating to the event. There's a link field, but I don't fancy having to parse the information out of that (although I could). ...
2
votes
1answer
31 views

Site categories in API?

Would it be possible to have a category field added to the site object. Eg Technology, Culture, etc. The sites seem to already have categories, as you can see on this page: ...
2
votes
1answer
41 views

HTTP 500 error when calling /apps/{accessTokens}/de-authenticate with an access_token argument in GET

For almost all API calls, I pass both my key and my access_token. This doesn't exactly make sense for the "de-authenticate" endpoint, as the access token is already in the URL. Passing one anyway ...
2
votes
1answer
80 views

API v2.0 Developing desktop app

If I am developing a client side application, what kind of domain should I provide to 0Auth callback? Can it be a custom application-centric scheme (like myapp://oauthcallback/)?
2
votes
1answer
164 views

StackExchange API Java SDK

This project aims to provide a Java wrapper to the Stack Exchange API. SDK supports Stack Exchange API V2.2 Getting Started There are two interfaces to the library. Query Interface Facade ...
2
votes
1answer
53 views

Getting global information (Stack Exchange) about a list of users

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID. It's possible by querying /users/{ids} but it returns ...
2
votes
1answer
60 views

Advanced search API not returning data for “phonegap” tag

I am trying to gather results from the API for the tag phonegap but the API is not returning any data. I am using /search/advanced and get nothing back for November: { "items": [], ...
2
votes
1answer
50 views

Creating a home brew Push Server for Stack Exchange

I'm looking to create a home brew push notification server for Stack Exchange. This is mainly due to the fact that Toast Notifications within Windows Store applications are done using Windows ...
2
votes
1answer
29 views

/answers endpoint is error-500-ing against many sites

Just calling the "/answers" endpoint, no specific arguments, and I'm getting 500 errors: http://api.stackexchange.com/2.0/answers?order=desc&sort=activity&site=gaming ...
2
votes
1answer
48 views

Mistake in API 2.0 Documentation - Wrong item type for Careers Message

On https://api.stackexchange.com/docs/types/inbox-item the Careers Message example shows the wrong item type.
2
votes
1answer
30 views

/users/{id}/tags/{tags}/top-answers returning answers by other users

According to the description, /users/{id}/tags/{tags}/top-answers should return answers by the user on that particular tag. Returns the top 30 answers a user has posted in response to questions ...
2
votes
1answer
30 views

Answer vote counts are not correct

I was trying to figure out the total number of answers I have that have been downvoted, and at first everything seemed awesome since the total was zero. However, I knew this wasn't correct. For ...
2
votes
1answer
63 views

Update the default filter editor to use the API key

When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of: ... "quota_remaining": 9424, ...
2
votes
1answer
13 views

type related_site not listed in 'by type' tab list

The type "related_site" is not listed in the 'by type' tab in documentation.
2
votes
1answer
25 views

Can I get more results/options from /users/{ids}/top-answer-tags?

/users/{ids}/top-answer-tags returns the top 30 tags for a given user. It's also the only endpoint that returns the user's tag scores along with the rest of the tag info. I'd like to use this data ...
2
votes
1answer
37 views

User to de-authorise app?

The API makes use of OAuth to allow queries such as /inbox/unread. In the documentation however, I cannot seem to find a way for the user to control actively the authentication: Is there a place for ...
2
votes
1answer
62 views

TLS security warnings from api.stackexchange.com

Each time an API request is made over HTTPS, Firefox generates the following message in the error console: Curious, I looked up RFC 5746 and the document covers the following: Transport Layer ...
2
votes
1answer
18 views

No views_per_day in /info route?

I'm not particularly crying over it, just curious why the views_per_day field was dropped?
2
votes
2answers
79 views

Once authorized, is there a way to auto-login with a browser?

Assuming I've created an app that authenticates the user against api-v2, is there a method to get a token or cookie that I can pass to a browser instance set to load a stack exchange site that will ...
2
votes
1answer
96 views

Am I out of luck if my http client doesn't support gzip decoding?

I'm playing with the oauth2 support in v2-beta with an http client that doesn't support gzip decoding. (My client is http spec compliant but can't deal with the non-compliance of the api on this ...
2
votes
0answers
85 views

Application Key and AccessToken are not working for Stack Exchange API?

I am having issue while using access_token in my request. I have followed following Doc and used explicit OAuth 2.0 flow for access_token generation. ...
2
votes
1answer
49 views

/suggested-edits “Try it”: Link for “suggested_edit_id” is broken

When using the "Try it" feature on /suggested-edits, the link for the suggested_edit_id points towards stackexchange.com and not towards the respective site. For example, retrieve data using the ...
2
votes
0answers
135 views

ExchangeLinq: LINQ Query Provider for Stack Exchange API v2.0

ExchangeLinq is a LINQ Query Provider for the Stack Exchange API. It only supports API v2.0. It is currently in alpha state and is being developed for Exchange It, a Stack Exchange client for Windows ...
2
votes
0answers
15 views

Request to support “tagged” on more endpoints

(I realize this is likely to be status-deferred for now, but I'm quite likely to forget if I don't ask it now :) The /questions endpoint supports a "tagged" parameter which I find quite useful. ...
2
votes
1answer
896 views

OAuth redirect not completing

This is the URL that I'm entering (in Safari, cleared website data and cache; my app, uses own Cookie jar; and incognito chrome) ...
2
votes
1answer
26 views

Is data retrieved from /events dependent on the access token used to retrieve it?

This may seem like a bit of an unusual question at first but I'll try to explain where it's coming from. My PHP wrapper (Stack.PHP) offers a caching class that follows the guidelines in the API docs ...
2
votes
1answer
32 views

There is a small discrepancy in the docs for users-id-associated

The main doc page, https://api.stackexchange.com/docs, shows /users/{id}/associated while the method page, https://api.stackexchange.com/docs/associated-users, uses /users/{ids}/associated. It's ...
2
votes
1answer
23 views

integer and decimal are used to describe fields in return types but not in method parameters

Integer and Decimal designations are useful in creating an accurate model of API methods and types. These specific 'number' subtypes are used when describing types but the method parameter lists all ...
2
votes
0answers
26 views

How can I get the “follower” count for a given tag on a site?

One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
2
votes
0answers
33 views

Fairly subtle filter bug between 8 am and 10 pm UTC Dec. 29th

This is a public service announcement about a bug that most people probably didn't notice, but might be biting you pretty hard about now. Between 8 AM and 10 PM UTC December 29th, filters generated ...
2
votes
0answers
29 views

Secure OAuth pages contain insecure content.

I noticed that some of the OAuth pages use insecure content (http:// content on an https:// page): I'm not sure how easy this is to fix but it could potentially scare off some users who don't ...
1
vote
1answer
74 views

Sorting the event stream

It seems like the data returned from the /events endpoint is flawed by being returned in descending order. For example: { "items": [ { "event_type": "comment_posted", "event_id": ...
1
vote
1answer
80 views

Key doesn't match a known application

I'm running into a really weird issue and I would appreciate any guidance on what I'm doing wrong. So I recently applied for an API key here on Stack Exchange and it went through fine. So let's say ...
1
vote
1answer
44 views

Is there a way (or app) to get realtime updates of new questions with a given tag?

According to StackExchange API not realtime?, the API does not return results in realtime, but has 1 minute delay for the same query. Is there a system or an app that delivers new questions in ...
1
vote
2answers
40 views

How about a regex filter in the tags API?

The tags API has a "filter" parameter but it only matches the exact substring in the parameter in the tags. On Travel we have one kind of tags, IATA airport codes (SYD for Sydney, SFO for San ...
1
vote
1answer
34 views

How to get the question title for reputation history entries?

I'm trying to implement a simple rep list, much like as seen on Stack Exchange sites. What I would like is to get three things: the rep change amount, type of change, and question title. However, ...