7

You can create and edit filters from the documentation page of the API endpoint. So you start at the Index of all endpoints. There you'll find /users/{id}/answers. On the right at the top of the parameter block you'll find the filter dialog: When you click the [edit] link the filter dialog opens: Where you can expand any the [types] provided by this ...


5

This is a bug. The timeline path seems to have several problems. More on these below. The earlier date query returns the result you expect, but look at it in the document explorer: Notice that the entry is a comment and that it has an Owning post. Now if we look at the whole timeline (filtering out some user cruft), we see: Just two revision entries for ...


4

The user_id is the per-site user id (in the above case, for Stack Overflow). The account_id is the global Stack Exchange account id (i.e. the id of your Stack Exchange account). The account_id is probably the best key if you're looking for a global identifier, since the individual per-site user ids will be different on each site the account is associated ...


3

Assuming you're talking about these numbers for a particular user, you can use the /users/{id}/associated route with the given user's network ID to get these values for each of the sites the user is a member of. You can selectively filter through the results to pick out the sites that you're interested in.


2

Update: As of api-v2.2, it's also possible to write questions and answers via the API. There are at least a few examples in use, of API 2.1 apps, that write comments. See: The Quick Media Solutions app The StackX Android app The SX.el Emacs app Re: Am I correct in thinking that only comments can be written and not questions? Yes, that's correct. ...


2

This was fixed in the latest deploy. Sorry about the wait, a fix was actually staged a few days ago but deploying it was delayed by our yearly company get together.


2

This was fixed in the latest deploy. Root cause: I had let a copy of our JSON serializer (currently ServiceStack.Text) get out of date.


2

This was fixed in the latest deploy. The bug was basically selecting the wrong date to display (in this case, an associated post), and the right date for filtering and what not. Since not all badges are associated with a post, not all displayed dates were set and when they were set they were off by some (basically random) amount.


2

This would be a two-step process if the /posts/{ids} path returned title, but it doesn't. Since the /answers/{ids} path, does return title (with an optional filter setting), then it should be easy-ish for /posts/{ids} to do so as well. Perhaps this would be a good feature request? Anyway, as it stands now, you must do this in pages and in 3 steps per page....


1

never mind, I found the answer, https://stackapps.com/apps/oauth/


1

The documentation says about private_info: access full history of a user's private actions on the site. What this means right now (API 2.1) is that that scope is needed to use the /reputation-history/ paths: Discussion (of /users/{id}/reputation-history/full) Returns a user's full reputation history, including private events. This method requires an ...


1

The code in question was not generated by Stack Exchange. It was generated by a user. So, yes, quite often, the HTML (and all other code samples generated by users) will be malformed. However, in this case, note that <li> tags are not required to have closing tags. I agree that it is bad form to leave them off, though.


1

Use the /questions path and sort by: creation, desc. For example:     /2.1/questions?pagesize=15&order=desc&sort=creation&tagged=php&site=stackoverflow


1

Fixing WebBrowser Control I also had the issue of the WebBrowser control handing when trying to login. Although requesting a token in IE (11) works, I found that IE itself also hangs when I put it in IE 7 emulation mode. This suggested to me that my previous attempt to make the WebBrowser control use a newer version had failed. I found this article, Web ...


Only top voted, non community-wiki answers of a minimum length are eligible