rest api methods options