Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 448

The question you're asking is designed to solicit opinions or best-practices on a particular topic, with the goal of reaching community consensus.

6 votes
1 answer
256 views

API Inconsistencies

In my opinion, one of the hallmarks of a good API is that it is self-consistent. It establishes easy-to-remember conventions and then follows them. As I'm trying to adopt the 2.0 API, I'm finding …
Dave DeLong's user avatar
  • 5,264
5 votes
1 answer
92 views

Enumerated types documentation in 1.1 API

I'm starting to implement requesting question and user activity in my framework, but the new 1.1 API documentation doesn't seem to indicate what the possible return values are for the fields any more. …
Dave DeLong's user avatar
  • 5,264
4 votes
2 answers
95 views

Documentation sorted by return type

Right now the documentation is pretty terribly organized. For example, consider the things under the "Users" heading: /users => returns Users /users/{ids} => returns Users /users/{ids}/answers => r …
Dave DeLong's user avatar
  • 5,264
2 votes
1 answer
91 views

Are these requests guaranteed the return the same results?

Going over the API, there seems to be some overlap when it comes to expressing a predicate in a URL. For example, let's say I want to fetch some questions from stackoverflow.com that have the tag "co …
Dave DeLong's user avatar
  • 5,264
2 votes

Retrieving comments received by a user

You can request a user's questions and answers, and include comments=true as part of the query. This will include all of the comments for the post in question. This query is also limitable via the s …
Dave DeLong's user avatar
  • 5,264
2 votes
1 answer
840 views

Any guarantees on JSON string encoding?

According to the JSON specification, JSON can be returned in one of five string encodings: UTF-8 (the default encoding) UTF-16 Little Endian UTF-16 Big Endian UTF-32 Little Endian UTF-32 Big Endian …
Dave DeLong's user avatar
  • 5,264
1 vote
1 answer
70 views

Is there a difference between "newest" and "creation"?

When I look at some API endpoints, say /questions/tagged/{tags} and /questions/{id}, I see that the former can be sorted by newest, and the latter can be sorted by creation, both ascending or descendi …
Dave DeLong's user avatar
  • 5,264
1 vote
1 answer
34 views

Timeline results contain redundant information?

Can I get a confirmation that the response /users/{id}/timeline contains redundant information, namely: If the action is: | Then the timeline_type is always: -------------------+------------------- …
Dave DeLong's user avatar
  • 5,264
1 vote

Documentation sorted by return type

OK, I've just discovered that at the bottom of each "type" page, there's a list with this information. For example: https://api.stackexchange.com/docs/types/user#methods This is insanely useful. Bu …
Dave DeLong's user avatar
  • 5,264
0 votes

Best way of structuring a library?

You could check out StackKit, which has objects all over the place and is currently being refactored to have even more. At a quick glance, we have: SKSite - an object representing any site that exp …
Dave DeLong's user avatar
  • 5,264
0 votes

Do tags have "Id" field?

I doubt there would be, since tags are uniqued by their name-color combination.
Dave DeLong's user avatar
  • 5,264