3 ms·
What is `!-*f(6s6U8Q9b` here: const questionCriteria = { filter: '!-*f(6s6U8Q9b' // body_markdown and link } I thought maybe it is a hard-coded CSS el
by dotancohen 4y ago
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.*
- JeremyBanks 4y agoIt’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
- dotancohen 4y agoI see, thank you.
- fbuilesv 4y agoIt's a filter for the Stack Overflow API, you can test it out: * https://api.stackexchange.com/2.2/questions/16476924?order=desc&sort=activity&site=stackoverflow https://api.stackexchange.com/2.2/questions/16476924?order=d... * https://api.stackexchange.com/2.2/questions/16476924?order=desc&sort=activity&site=stackoverflow&filter=!9YdnSJ*_T 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 https://api.stackexchange.com/2.3/filters/!-*f(6s6U8Q9b
- dotancohen 4y agoTerrific, thank you.