1

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
0

1 Answer 1

4

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.

1
  • 2
    @systempuntoout - fromdate and todate restrict the returned objects by creation date. The docs are wrong for the moment, nice catch. May 21, 2010 at 21:38

You must log in to answer this question.

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