Usage of users/{id}/questions/unanswered

Discussion

Gets the questions asked by the users in id which the site consideres unanswered, while still having at least one answer posted.

These rules are subject to change, but currently any question without at least one upvoted or accepted answer is considered unanswered.

To get the set of questions that a user probably considers unanswered, the returned questions should be unioned with those returned by /users/{id}/questions/no-answers. These methods are distinct so that truly unanswered (that is, zero posted answers) questions can be easily separated from mearly poorly or inadequately answered ones.

This method is new to version 1.1


Parameters

  • id – A single primary key identifier or a vectorized, semicolon-delimited list of identifiers.
    • This is a vectorized parameter, multiple ids can be sent a single request if delimited with a semi-colon
    • string
  • answers – When "true", the answers to a question will be returned
    • boolean
  • body – When "true", a post's body will be included in the response.
    • boolean
  • comments – When "true", any comments on a post will be included in the response.
    • boolean
  • fromdate – Unix timestamp of the minimum creation date on a returned item.
    • unix epoch date, range [0, 253,402,300,799]
  • max – Maximum of the range to include in the response according to the current sort.
    • integer or unix epoch date
  • min – Minimum of the range to include in the response according to the current sort.
    • integer or unix epoch date
  • order – How the current sort should be ordered.
    • one of desc (default), or asc
  • page – The pagination offset for the current collection. Affected by the specified pagesize.
    • 32-bit signed integer
  • pagesize – The number of collection results to display during pagination. Should be between 0 and 100 inclusive.
    • 32-bit signed integer
  • sort – How a collection should be sorted.
    • one of activity (default), views, creation, or votes
  • todate – Unix timestamp of the maximum creation date on a returned item.
    • unix epoch date, range [0, 253,402,300,799]

Try it