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

learn more… | top users | synonyms

2
votes
1answer
21 views

Obtain JSON equivalent of a full Q&A HTML page?

I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange ...
2
votes
1answer
31 views

Why is the API giving a different response for preview true/false with POST requests?

Update This expression will evaluate to show the cause. The only requirement is an emacs with url. As you can see, the result from using curl and that from using the url package is different. ...
1
vote
0answers
17 views

Max score with tagged works incorrectly for /questions, correctly for /search

When I look for questions tagged java from the first week of September 2014 with a minimum score of 10 like this: ...
2
votes
0answers
13 views

/answers API request returns no tags if body_markdown is included

This API request to /answers has the filter set to return the tags field for the corresponding question. It works fine: api.stackexchange.com/docs/answers#filter=!9YdnSPElz But, when the filter is ...
5
votes
1answer
86 views

Marking inbox items as read in api v2.2

I'm aware of this question, but it applied to an older (readonly) api version. Given that API 2.2 is read/write, I figured this might be possible now. Is there any way for an application using the ...
1
vote
0answers
12 views

How do I sort the /2.2/notifications endpoint?

I do not find information on the notifications api page. I am looking at this: https://api.stackexchange.com/docs/notifications I would like to be able to sort by creations date and other fields. is ...
0
votes
0answers
21 views

Procedure for posting questions using the API, v2.2?

I want use one of the Stack Exchange V2.2 API (e.g. /questions/add) to post Stack Overflow questions from my website. I didn't find any app which is currently using the API for posting questions. As ...
0
votes
1answer
23 views

How can I filter events by event_type?

I am using the /events route in the API and it returns all events from Stack Overflow. But I want to filter based on event_type. Is there any way to do that?
1
vote
0answers
28 views

IGB Stack Flair - A dynamic flair for stackexchange.com sites

IGB Stack Flair - A dynamic flair for stackexchange.com sites About IGB Stack Flair page at sourceforge.net How to include it in your web page How to include it in your Wikipedia page (you ...
0
votes
0answers
34 views

How to generate an Access Token using .net?

I am trying to develop an .NET application to consume Stack Exchange APIs. I can consume GET methods. Now, I want to call Stack Exchange API /questions/add to add questions. This API needs an access ...
2
votes
1answer
13 views

Encoding type of display_name

I am using the v2.2 api. There is a small issue I have come across. For the display_name I do not understand the encoding. For example for this user, the name comes as Mike Sherrill 'Cat ...
1
vote
0answers
9 views

Why doesn't network_user include api_site_parameter?

See the network_user type docs... It really doesn't make any sense to not include this. The api_site_parameter, at least how I see it, is an unambiguous key to a given site. Using the site name ...
0
votes
1answer
26 views

StackExchange API's request data is blank in Drupal 7

I'm trying to implement this simple request in Drupal 7 on my local machine: $request = ...
2
votes
1answer
30 views

Does verifying OAuth2 `access_token` validity count towards API call quota?

Does this Stack Exchange API endpoint count towards quota usage? : http://api.stackexchange.com/docs/read-access-tokens (This is the most promising API call I found for verifying the validity ...
2
votes
0answers
24 views

Filter doesn't consistently return comment bodies

I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields: answer: answer_id body_markdown comments ...
0
votes
0answers
15 views

Site parameter doesn't work properly with inbox items? [duplicate]

I use /users/{id}/inbox/unread method to get unread items in a user's inbox. I expect that site parameter there will filter the response. But looks like I have to do it manually by looking at ...
3
votes
1answer
29 views

Possible to get a user's flag history?

Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag? I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
3
votes
0answers
56 views

Byte Order Mark suddenly appearing in query results

Query results seem to have started including BOMs sometime today. I had to add code to handle it. I don't see this documented anywhere.
1
vote
0answers
82 views

StackExchange API Java wrapper

Screenshot / Code Snippet StackExchangeApi api = new StackExchangeApi(key); api.authorize(authToken); StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW); ...
0
votes
0answers
21 views

Best practices for posting from an app?

I'm in the process of adding write features available with the 2.2 api to my app. I'm debating whether or not to add support for posting new questions. As the api docs state: Stack Exchange sites ...
1
vote
0answers
16 views

Is there an API for adding a user to a site?

With 2.2, I've begun implementing some write features in my app. I've started with voting. When you vote on a question on a site that isn't in a users associated accounts, you get the error "The ...
2
votes
0answers
52 views

Python library 2.2 API Wrapper?

Is there a Python library that encompasses the new functionality in the 2.2 API? I've seen this question and this question, and the comments indicating that libraries were being created and updated ...
1
vote
1answer
32 views

I could POST a question but it does not have a `question_id` and it does not show up in my account

I could successfully create a question for my StackApp and I got this response (NSDictionary output): { "has_more" = 0; items = ( { "creation_date" = ...
2
votes
0answers
28 views

Request: Mark inbox items as read, now that API 2.2 is here

Now we have write API, can we get a method for the inbox to mark inbox items as read? Previously I believe the reason for not having this was the risk of apps marking items as read without the user ...
1
vote
1answer
23 views

Use case for /render endpoints?

In the new v2.2 API there are /render endpoints, such as /questions/{id}/answers/render. What are these for? Testing applications without actually posting anything?
1
vote
1answer
68 views

Getting questions that have a specific tag or tags?

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags? EG: All Stack Overflow questions asked in the past 2 months tagged 'ruby'? All Stack Overflow questions ...
4
votes
1answer
25 views

Please add the `tagged` parameter to /answers, /users, etc

The /questions endpoint supports a tagged parameter which I find quite useful. However, it's the only route that appears to support this parameter. If, say, I want to get questions asked by a given ...