json - Create an asset in Pimcore through web service -


i new pimcore, going api see if meet requirements. add assets pimcore through it's web service api. have found should possible (link), don't see how since not documented. possible provide me example on how upload image asset pimcore through web service api?

thanks!

here's example url:

http://website-domain.dev/webservice/rest/asset?apikey=your_api_key

and there's example post data:

{"data":"<<base 64 encoded file>>","parentid":1,"type":"image","filename":"image.jpg","path":"\/","mimetype":"image\/jpeg","userowner":"2","properties":null,"metadata":[]} 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -