4 ms·
The 'discussion' attribute contains info about the discussion that the comment belongs to. In this case the parent discussion is [dead] so the value of 'discuss
by andres 15y ago
The 'discussion' attribute contains info about the discussion that the comment belongs to. In this case the parent discussion is [dead] so the value of 'discussion' is null. Unfortunately, we don't have access to submission titles for [dead] submissions.
- thaumaturgy 15y agoIs there a way to exclude values from search results in the ThriftDB API? i.e., say I want to, [filter][domain]=nytimes.com&[filter][username]!=ausername ...is there a way to do that? I tried the "exclude" operator after [username] and get an "internal server error" every time.
- andres 15y ago&filter[fields][domain]=nytimes.com&filter[queries][]=-username:ausername
- thaumaturgy 15y agoGreat! Thanks.
- thaumaturgy 15y agoArgh. And also, is there any way to query ThriftDB for HN date ranges?
- andres 15y agoYou can use strings to represent relative times: &filter[fields][create_ts]=[NOW-5HOURS%20TO%20NOW] or exact timestamps: &filter[fields][create_ts]=[2011-06-01T05:00:00.00Z%20TO%202011-06-02T07:00:00.00Z] or both: &filter[fields][create_ts]=[2011-06-01T05:00:00.00Z%20TO%20NOW]
- thaumaturgy 15y agoSweet! That's perfect. Thank you.