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

**URL:** <https://community.developer.atlassian.com/t/detect-if-page-been-created-by-new-or-old-editor-through-the-rest-api/33873>\
**Category:** Confluence Cloud\
**Created:** [November 27, 2019, 4:03pm UTC](https://community.developer.atlassian.com/t/detect-if-page-been-created-by-new-or-old-editor-through-the-rest-api/33873 "2019-11-27T16:03:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![aagrawal2](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/aagrawal2/32/40775_2.png) [@aagrawal2](https://community.developer.atlassian.com/u/aagrawal2)\
**Post date:** [November 28, 2019, 11:18pm UTC](https://community.developer.atlassian.com/t/detect-if-page-been-created-by-new-or-old-editor-through-the-rest-api/33873/2 "2019-11-28T23:18:57Z")

</div>

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

Cheers.

---

_[View the full topic](https://community.developer.atlassian.com/t/detect-if-page-been-created-by-new-or-old-editor-through-the-rest-api/33873)._
