Detect if page been created by new or old editor through the REST API

We want to handle pages in our app differently depending on if they’ve been created with the old or new Confluence editor. We would need to get this information through the Confluence REST API. Does anyone know if this is possible?

You can use the API /wiki/rest/api/content/{content-id}? If the value is ‘v2’, it’s the new editor. If it’s not present or ‘v1’, then it’s the old editor.