AEM - Random CURL Commands

1) Update properties of an OSGI service

curl -v -u admin:admin -X POST 
     --data "apply=true&di3dUploadRenderUrl=ABC&di3dDownloadUrl=DEF&propertylist=di3dUploadRenderUrl%2Cdi3dDownloadUrl" 
     http://localhost:4502/system/console/configMgr/apps.assets.di3d.impl.DI3DCloudRenderingServiceImpl

2) Update an asset metadata property...

curl -v -u admin:admin -F"eaem:sdl_status"="NOT_PUBLISHED" http://localhost:4502/content/dam/eaem/room-ok-g00-red.jpg/jcr%3Acontent/metadata

3) Update multi valued asset metadata property...

curl -v -u admin:admin -F"dp:sdl_page"="home-page" 
                       -F"dp:sdl_page"="landing-page"  
                       http://localhost:4502/content/dam/eaem/images/mickey.jpg/jcr%3Acontent/metadata

4) 

No comments:

Post a Comment