Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
10 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
12 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
13 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
19 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
18 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
51 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
73 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
19 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
47 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
21 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" = ...
1
vote
0answers
11 views

Mark inbox items as read. [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?