Ask Your Question
0

How do I get all questions by using the API

asked 2015-09-15 05:17:09 -0600

ManuelEscriche gravatar image

When using the API, specifically /api/v1/questions/, I don't get all questions despite passing as param scope = all. the count value shows 33 items, but the output request provides only 30 questions.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-22 22:41:05 -0600

Evgeny gravatar image

There may be a case for increasing the number of questions to load at once, but loading all at once will not make sense because the number of questions on the site can be very large.

edit flag offensive delete link more

Comments

Well, the amount of questions depend of the query. Anyway, al least there should be a mechanism to get all items for the query submitted. Thanks!

ManuelEscriche gravatar imageManuelEscriche ( 2015-09-23 00:52:32 -0600 )edit

Pagination of responses is unavoidable, only what can be argued for is the maximum number of values per page/per API call. 30 may be too low.

Evgeny gravatar imageEvgeny ( 2015-09-23 01:00:13 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-09-15 05:17:09 -0600

Seen: 2,733 times

Last updated: Sep 22 '15