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. Commented May 21, 2010 at 21:38

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.