[email protected] Posted July 18, 2014 Share Posted July 18, 2014 I wonder how can I check the image metadata via webservice api. What I need is to find out while syncing data if some image needs to be updated or not. When you POST image via api there is some xml returned eg <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <image> <id><![CDATA[2232]]></id> <id_product><![CDATA[246]]></id_product> <position><![CDATA[13]]></position> <cover><![CDATA[0]]></cover> <legend><language id="7" xlink:href="***/api/languages/7"><![CDATA[]]></language></legend> </image> </prestashop> But still there is not enough info... Also I was trying to compare sha1sum returned by HEAD request and it seems that the image is being modified after upload so for now I don't see possibility to compare if there is new image or not. Maybe someone have some experiences in this area? Link to comment Share on other sites More sharing options...
Recommended Posts