API Allow usage of assets with modified / created date specification

This is necessary if doing tests with files with specific modified dates. This usage could be extended further in future.