# How to get a previous version/revision of a post through the API

**URL:** <https://meta.discourse.org/t/how-to-get-a-previous-version-revision-of-a-post-through-the-api/58164>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [March 1, 2017, 12:53pm UTC](https://meta.discourse.org/t/how-to-get-a-previous-version-revision-of-a-post-through-the-api/58164 "2017-03-01T12:53:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [March 1, 2017, 12:53pm UTC](https://meta.discourse.org/t/how-to-get-a-previous-version-revision-of-a-post-through-the-api/58164/1 "2017-03-01T12:53:08Z")

</div>

Looking at the API, I don’t find any way to get a previous version/revision of a post. Am I missing something?

Also, I would like to get the diff between 2 versions. Is this computed client-side only or store in the DB?

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-a-previous-version-revision-of-a-post-through-the-api/58164)._
