Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

On methods that return a single item by id like the following:

/badges/{id}
/answers/{id}
/questions/{id}
/comments/{id}
/users/{id}

is it correct to have these parameters on Documentation?

  • sort
  • order
  • min
  • max
  • fromdate
  • todate
  • page
  • pagesize
share|improve this question

1 Answer 1

up vote 4 down vote accepted

Yes, it is correct to have those parameters, because those are not only for single item.

They planned (may be already or partially work) to accept vectorized request like

/questions/1;2;3 

above will return 3 items, and /answers , /comments , /users supposed to be same.

share|improve this answer
2  
+1 for vectorize request but, how fromdate/toDate could be useful? –  systempuntoout May 21 '10 at 13:28
2  
@systempuntoout - fromdate and todate restrict the returned objects by creation date. The docs are wrong for the moment, nice catch. –  Kevin Montrose May 21 '10 at 21:38

You must log in to answer this question.

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