Wouldn't it be useful for tools like Theme Kit if this endpoint:
-included a field like 'md5sum' for each asset? Then a command like 'theme download' could skip downloading identical files without the need for something like the old theme.lock file.
Is this the right place for suggestions, or is there somewhere more appropriate?
Not a bad idea! I've passed this feature request to our product teams.
Out of curiosity, is the main motivation purely to cut down the size of theme downloads to only what is needed? Or do you see other benefits to this?
Thanks @Busfox, it's not just for the size, more for the time. Downloading a theme of hundreds of files/assets can take quite some time due to the API's call limit. In our process we perform theme downloads frequently to avoid missing changes made to the live theme either from merchants changing theme settings, or apps modifying arbitrary theme files. Downloading every file each time we do this is a bit of a time sink!
|an hour ago|