Hacker News new | past | comments | ask | show | jobs | submit login

What is `!-*f(6s6U8Q9b` here:

  const questionCriteria = {
    filter: '!-*f(6s6U8Q9b' // body_markdown and link
  }
I thought maybe it is a hard-coded CSS element name in StackOverflow answers, judging by the context, but it's not that. Could you shed some light on this?

Found in the How2 source file `how2/lib/how2.js`. Thanks.*




It's a filter for the Stack Overflow API, you can test it out:

* https://api.stackexchange.com/2.2/questions/16476924?order=d...

* https://api.stackexchange.com/2.2/questions/16476924?order=d...

I think this should contain a list of what's in the filter: https://api.stackexchange.com/2.3/filters/!-*f(6s6U8Q9b


Terrific, thank you.


It’s an encoded bitmask indicating which fields to include from the API. The specific layout is an opaque implementation detail; the value is typically generated by the api playground Ui


I see, thank you.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: