Tasks in API

Tasks in API

How do I mark a task as resolved rather then closed using the API?  Closed seems to be the only option in the examples.  _closed closes a task and can be used in a pinch, but I would rather set the task to resolved.