Create Folder Rest API does not set title for the new folder
Hello,
I am using the Rest API to interact with our AEM as a Cloud Service environment. When I attempt to use the create folder api, I cant get it to set the Title correctly.
For instance, I used the following request:
POST https://author-xxxxxx-xxxxxxxx.adobeaemcloud.com/content/dam/myfolder
Request Body (Content Type = application/json):
{
"class": "assetFolder",
"properties": {
"title": "My Folder"
}
}
This creates the folder with the correct name, but does not set the title. I tried using jcr:title instead of title in the request, still does not set the title. I even tried dc:title...nothing seems to work.
I even tried to use the API that ends with a wildcard (and uses a multi-part form body), but that one is even worse because it sets the title correctly, but does not use the name request parameter to create folder name (instead using the title request parameter while replacing spaces with underscores).
Has anyone been able to get this to work correctly?
Thanks,
Phil