REST API extended.