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

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution:

Shouldn't there be a separate call for featured questions?Shouldn't there be a separate call for featured questions?

Featured questions APIFeatured questions API

The solution seems to be "call the questions endpoint, with sort=featured"

This doesn't appear to be supported by API 2.0, however:

https://api.stackexchange.com/2.0/questions?order=asc&sort=featured&site=stackoverflow

 {"error_id":400,"error_name":"bad_parameter","error_message":"sort"}

Has this been removed, or superseded by some other API call? (Or am I just doing something wrong?)

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution:

Shouldn't there be a separate call for featured questions?

Featured questions API

The solution seems to be "call the questions endpoint, with sort=featured"

This doesn't appear to be supported by API 2.0, however:

https://api.stackexchange.com/2.0/questions?order=asc&sort=featured&site=stackoverflow

 {"error_id":400,"error_name":"bad_parameter","error_message":"sort"}

Has this been removed, or superseded by some other API call? (Or am I just doing something wrong?)

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution:

Shouldn't there be a separate call for featured questions?

Featured questions API

The solution seems to be "call the questions endpoint, with sort=featured"

This doesn't appear to be supported by API 2.0, however:

https://api.stackexchange.com/2.0/questions?order=asc&sort=featured&site=stackoverflow

 {"error_id":400,"error_name":"bad_parameter","error_message":"sort"}

Has this been removed, or superseded by some other API call? (Or am I just doing something wrong?)

edited tags
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62
Source Link
agent86
  • 3.3k
  • 1
  • 16
  • 24

In API 2.0, what happened to questions sorted by "featured?"

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution:

Shouldn't there be a separate call for featured questions?

Featured questions API

The solution seems to be "call the questions endpoint, with sort=featured"

This doesn't appear to be supported by API 2.0, however:

https://api.stackexchange.com/2.0/questions?order=asc&sort=featured&site=stackoverflow

 {"error_id":400,"error_name":"bad_parameter","error_message":"sort"}

Has this been removed, or superseded by some other API call? (Or am I just doing something wrong?)