Skip to main content
replaced http://stackapps.com/ with https://stackapps.com/
Source Link

My question is similar to: Getting questions that have a specific tag or tags?Getting questions that have a specific tag or tags?

What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following:

Note link to doc: http://api.stackexchange.com/docs/featured-questions

But when I add more then one tag it appears to be using and instead of or. I was unable to find an or operator as ; appears to be and.

Example 1: Right now because there is a featured question tagged with this will return correctly:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics&site=stackoverflow

Example 2: But I would also like to see any featured questions within the tag. This currently returns nothing because I am using both the Google-Analytics tag and the oauth2 tag:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics;oauth2&site=stackoverflow

The /search path says:

tagged and nottagged are semi-colon delimited list of tags. At least 1 tag in tagged will be on each returned question if it is passed, making it the OR equivalent of the AND version of tagged on /questions.

If I understand that correctly, /search uses ; for or logic, but unfortunately doesn't let me search only on featured questions.

My question is similar to: Getting questions that have a specific tag or tags?

What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following:

Note link to doc: http://api.stackexchange.com/docs/featured-questions

But when I add more then one tag it appears to be using and instead of or. I was unable to find an or operator as ; appears to be and.

Example 1: Right now because there is a featured question tagged with this will return correctly:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics&site=stackoverflow

Example 2: But I would also like to see any featured questions within the tag. This currently returns nothing because I am using both the Google-Analytics tag and the oauth2 tag:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics;oauth2&site=stackoverflow

The /search path says:

tagged and nottagged are semi-colon delimited list of tags. At least 1 tag in tagged will be on each returned question if it is passed, making it the OR equivalent of the AND version of tagged on /questions.

If I understand that correctly, /search uses ; for or logic, but unfortunately doesn't let me search only on featured questions.

My question is similar to: Getting questions that have a specific tag or tags?

What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following:

Note link to doc: http://api.stackexchange.com/docs/featured-questions

But when I add more then one tag it appears to be using and instead of or. I was unable to find an or operator as ; appears to be and.

Example 1: Right now because there is a featured question tagged with this will return correctly:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics&site=stackoverflow

Example 2: But I would also like to see any featured questions within the tag. This currently returns nothing because I am using both the Google-Analytics tag and the oauth2 tag:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics;oauth2&site=stackoverflow

The /search path says:

tagged and nottagged are semi-colon delimited list of tags. At least 1 tag in tagged will be on each returned question if it is passed, making it the OR equivalent of the AND version of tagged on /questions.

If I understand that correctly, /search uses ; for or logic, but unfortunately doesn't let me search only on featured questions.

Using OR with featruedfeatured questions

myMy question is similar to: Getting questions that have a specific tag or tags?

What I am trying to do is get a list of Featured questions with inwithin a list of tags. I have tried using the following:

Note link to doc: http://api.stackexchange.com/docs/featured-questions

But when I add more then one tag it appears to be using and instead of or. I was unable to find an oror operator as ; appears to be and.

Example 1: Right now because there is a featured question tagged with Google-Analytics this will return correctly.:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics&site=stackoverflow

Example 2: But I would also like to see any featured questions with inwithin the Oauth2 tag. This currently returns nothing because I am using both the Google-AnalyticsGoogle-Analytics tag and the oauth2oauth2 tag.:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics;oauth2&site=stackoverflow

Search: http://api.stackexchange.com/docs/searchThe /search path says:

taggedtagged and nottaggednottagged are semi-colon delimited list of tags. At least 1 tag in tagged will be on each returned question if it is passed, making it the OR equivalent of the AND version of tagged on /questions.

If I am understand that correctly search, /search uses ; orfor or logic,but but unfortunately doesn't let me search only on featured questions.

Using OR with featrued questions

my question is similar to: Getting questions that have a specific tag or tags?

What I am trying to do is get a list of Featured questions with in a list of tags. I have tried using the following:

Note link to doc: http://api.stackexchange.com/docs/featured-questions

But when I add more then one tag it appears to be using and instead of or. I was unable to find an or operator as ; appears to be and.

Example 1: Right now because there is a featured question tagged with Google-Analytics this will return correctly. https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics&site=stackoverflow

Example 2: But I would also like to see any featured questions with in the Oauth2 tag. This currently returns nothing because I am using both the Google-Analytics tag and the oauth2 tag. https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics;oauth2&site=stackoverflow

Search: http://api.stackexchange.com/docs/search

tagged and nottagged are semi-colon delimited list of tags. At least 1 tag in tagged will be on each returned question if it is passed, making it the OR equivalent of the AND version of tagged on /questions.

If I am understand that correctly search uses ; or ,but unfortunately doesn't let me search only on featured questions.

Using OR with featured questions

My question is similar to: Getting questions that have a specific tag or tags?

What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following:

Note link to doc: http://api.stackexchange.com/docs/featured-questions

But when I add more then one tag it appears to be using and instead of or. I was unable to find an or operator as ; appears to be and.

Example 1: Right now because there is a featured question tagged with this will return correctly:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics&site=stackoverflow

Example 2: But I would also like to see any featured questions within the tag. This currently returns nothing because I am using both the Google-Analytics tag and the oauth2 tag:
https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics;oauth2&site=stackoverflow

The /search path says:

tagged and nottagged are semi-colon delimited list of tags. At least 1 tag in tagged will be on each returned question if it is passed, making it the OR equivalent of the AND version of tagged on /questions.

If I understand that correctly, /search uses ; for or logic, but unfortunately doesn't let me search only on featured questions.

Source Link
DaImTo
  • 153
  • 5

Using OR with featrued questions

my question is similar to: Getting questions that have a specific tag or tags?

What I am trying to do is get a list of Featured questions with in a list of tags. I have tried using the following:

Note link to doc: http://api.stackexchange.com/docs/featured-questions

But when I add more then one tag it appears to be using and instead of or. I was unable to find an or operator as ; appears to be and.

Example 1: Right now because there is a featured question tagged with Google-Analytics this will return correctly. https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics&site=stackoverflow

Example 2: But I would also like to see any featured questions with in the Oauth2 tag. This currently returns nothing because I am using both the Google-Analytics tag and the oauth2 tag. https://api.stackexchange.com/2.2/questions/featured?order=desc&sort=activity&tagged=google-analytics;oauth2&site=stackoverflow

Search: http://api.stackexchange.com/docs/search

tagged and nottagged are semi-colon delimited list of tags. At least 1 tag in tagged will be on each returned question if it is passed, making it the OR equivalent of the AND version of tagged on /questions.

If I am understand that correctly search uses ; or ,but unfortunately doesn't let me search only on featured questions.