Create page with REST API with old editor (not the new one)?

Hauke Hörhold
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 6, 2022

Hi, how could I create a page using REST API that uses the old editor?

I thought maybe like triggering the new one, but with v1 instead, like:

"body": {
"storage": {
"value": "` + content + `",
"representation": "storage"
},
"metadata": {
"properties": {
"editor": {
"value": "v1"
}
}
}
}

But that doesn't work.

Are there any methods to use the old editor?

1 answer

1 accepted

1 vote
Answer accepted
Hauke Hörhold
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 6, 2022

Oh... I think it's working when using

"metadata": {
                                "properties": {
                                    "editor": {
                                        "value": "v1"
                                    },
                                    "content-appearance-draft": {
                                        "value": "full-width"
                                    },
                                    "content-appearance-published": {
                                        "value": "full-width"
                                    }
                                }
                            }

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events