Assets API (HTTP) not working as expected
Hi all,
I am trying to use the AEM Assets HTTP API (Assets HTTP API ) but having some problems with it.
I'm testing some things using postman. When doing:
POST /api/assets/myFolder/myAsset.png -H"Content-Type: image/png" --data-binary "@myPicture.png"
I get a 201 response back and the asset is created BUT there is no thumbnail. Do I need to do anything extra for this? Can I check somewhere for errors (although the HTTP response is OK)
Second problem. When trying to update the metadata of the Asset:
PUT /api/assets/myfolder/myAsset.png -H"Content-Type: application/json" -d '{"class":"asset", "properties":{"dc:title":"My Asset"}}'
This also gives back an OK response but the property isn't updated.
Anyone here who has experience using this in AEM 6.3? Any suggestions?