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

Пришёл сюда, чтобы найти «первую» ревизию поста. Моё решение взято отсюда: discourse/app/serializers/post_revision_serializer.rb at a0bbc346cb5d5b89d1a3efdfa89869349a8b067f · discourse/discourse · GitHub

 PostRevision.where(post_id: 46747).order(:number).to_a

Это вернёт все сырые ревизии поста, включая первую.