Content Management API POST /contenttypes ENUM NOT working.

Vote:
 

I am trying to add a dropdown property with the following enum. It doesn't seem to be capturing the enum and creating the dropdown values for the property.Any help kindly appriciated

Using POST /contenttypes
"Color": {

            "type": "string",

            "format": "selectOne",

            "displayName": "Color",

            "description": "",

            "localized": false,

            "required": false,

            "group": "Information",

            "sortOrder": 60,

            "editorSettings": {},

            "enum": {

                "values": [

                    {

                        "value": "Blue",

                        "displayName": "blue"

                    },

                    {

                        "value": "Orange",

                        "displayName": "orange"

                    },

                    {

                        "value": "Green",

                        "displayName": "green"

                    },

                    {

                        "value": "Red",

                        "displayName": "red"

                    },

                    {

                        "value": "Purple",

                        "displayName": "purple"

                    },

                    {

                        "value": "Dark Blue",

                        "displayName": "dark-blue"

                    }

                ]

            }

        },

#325960
Edited, Jul 24, 2024 16:42
Vote:
 

Their is a bug in the API which has been escalated to engineers 

#325998
Edited, Jul 25, 2024 11:33
Vote:
 

thanks, Miniesh!

#326003
Jul 25, 2024 14:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.