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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -