fix url resolution filefield for API

6 jobs for master in 20 minutes and 38 seconds (queued for 28 seconds)