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

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -