1

I'm trying to retrieve the latest questions posted in a particular tag.

What's the equivalent for:

http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15

I see that v1.1 API is now obsolete and I'm having a hard time figuring out what would be the equivalent in the latest API.

1 Answer 1

2

Use the /questions path and sort by: creation, desc.

For example:

    /2.1/questions?pagesize=15&order=desc&sort=creation&tagged=php&site=stackoverflow

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .