Should I use the REST API directly?