Tag Info

Hot answers tagged

4

There are two, rather divergent, answers to this question. First and foremost, its not in the API because nobody (us included, woops!) thought of it before the API interface was frozen... so it didn't get implemented, even as a trial feature. Perhaps we'll revisit it for a subsequent version. Alright, onto the real meat of the issue. Headers ...


3

Perhaps I can offer an opinion on cacheability of the API. Please don't downvote before reading through. Caching is hard Caching and cache invalidation is hard. Often, if not always, you need to intimately know the data to be able to cache it effectively. In order to enable a generic Etag caching ability the server will need to execute the request and ...


3

The comments are more or less correct; caching applies to the /events endpoint just like every other method. This is by design for now. We have looked at differing caching policies for /events and /inbox/* routes, as the minute lag on those methods is a bit heavy handed; though we still need to protect ourselves from abusive requests.


2

I have been working on another API recently so I may be a bit dull but my first impression is that the path of least resistance is to pull your question(s) with answers and comments disregarding activity/creation filter (use max page size) compare last activity date of the question. this will include new answers and edits on both the question and answers ...


1

Activity is defined as, "whatever the site considers Activity." Yeah... More usefully, the current list is: edits (on the post themselves, and on an answer a question owns) opening a bounty a new answer initial creation Basically, if it "bumps" a question its activity.



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