Create imagecropper content via content management api
Hi Peeps.
We are migrating content from an old site (7.15.4) into heartcore.
The current content structure is a bit convoluted so we've opted to bake our own migration engine where we push content into heartcore via the API.
This looks like the correct format for a cropped media but I don't think that you need to add the crops in the body, as I believe that they should be created automatically once the media file is uploaded to the backoffice.
Create imagecropper content via content management api
Hi Peeps.
We are migrating content from an old site (7.15.4) into heartcore. The current content structure is a bit convoluted so we've opted to bake our own migration engine where we push content into heartcore via the API.
We've hit a wall with imagecropper content.
We've tried to send it over as the following json
But It does not seem to work. Any ideas? Perhaps even an example on how you've done it.
Kind regards Kristian
Hi there.
This looks like the correct format for a cropped media but I don't think that you need to add the crops in the body, as I believe that they should be created automatically once the media file is uploaded to the backoffice.
You can check out our docs here - https://our.umbraco.com/documentation/Umbraco-Heartcore/API-Documentation/Content-Management/content/#create-content-with-files and you're always welcome to reach out to our support.
It'll definitely be easier to help you if they're able to see what you're working with etc. :)
We got it working with the following:
With a PUT request at: https://api.umbraco.io/content/GUID_ID
Awesome to hear that :)
is working on a reply...