#23: added date query to API posts resources