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

learn more… | top users | synonyms

5
votes
0answers
41 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
11 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
22 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
26 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
25 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
16 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
25 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
22 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
28 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
53 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
77 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 ...
1
vote
0answers
48 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
19 views

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

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
22 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?