• 49
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      Currently, it is possible to add Emojis in page titles & page header images in the UI. However, it is not possible to add an emoji to the title using an API call.

      Suggested Solution

      This is a suggestion raised to have the ability to create a page title with emoji with an API call.

      Workaround

      No current workaround

            [CONFCLOUD-75784] Ability to add Emoji to a Page title via REST API

            If you only change the property published, the emoji gets lost while editing the page.

            To solve this problem, add the following:

             

            POST

            /wiki/rest/api/content/{page-id}/property/emoji-title-draft 

            JSON-Body

            {    
               "key": "emoji-title-draft",    
               "value": "{emoji-id}",    
               "version": {
                        "number": 1    
               }
            } 

            Then it works fine!

            Nicole Könning added a comment - If you only change the property published, the emoji gets lost while editing the page. To solve this problem, add the following:   POST /wiki/ rest /api/content/{page-id}/property/emoji-title-draft JSON-Body {    "key" : "emoji-title-draft" ,    "value" : "{emoji-id}" ,    "version" : {         "number" : 1    } } Then it works fine!

            It's already possible via content properties rest api.

            The properties are called emoji-title-draft and emoji-title-published

            RESTs are:
            GET:

             

            /wiki/rest/api/content/{page-id}/property/

            POST/PUT:

             

             

            /wiki/rest/api/content/{page-id}/property/emoji-title-published

            JSON Body:

             

             

            {
                "key": "emoji-title-published",
                "value": "{emoji-id}",
                "version": {
                    "number": 2
                }
            }

            Should be possible for the cover picture too. 

            Perhaps sb. can point to or write some documentation?
            I havent found anything (and yes, I was looking for exactly this thing), I just stumbled across it at a later date, working with a content properties viewer/editor. 

             

            Matthias Born added a comment - It's already possible via content properties rest api. The properties are called emoji-title-draft and emoji-title-published RESTs are: GET:   /wiki/ rest /api/content/{page-id}/property/ POST/PUT:     /wiki/ rest /api/content/{page-id}/property/emoji-title-published JSON Body:     {     "key" : "emoji-title-published" ,     "value" : "{emoji-id}" ,     "version" : {         "number" : 2     } } Should be possible for the cover picture too.  Perhaps sb. can point to or write some documentation? I havent found anything (and yes, I was looking for exactly this thing), I just stumbled across it at a later date, working with a content properties viewer/editor.   

              Unassigned Unassigned
              e925f0070e90 Dhanush
              Votes:
              17 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: