Revision History
SnipShare tracks the full history of every paste. Each time a file is changed, a new version is recorded so you can review what changed and compare versions.
View revisions
Section titled “View revisions”On a paste view, open Revisions (or go to yoursite.com/paste/{hash}/revisions/). The revision panel lists, per version:
| Column | Meaning |
|---|---|
| Version | The paste version number for this revision |
| File | The filename the revision belongs to |
| Author | Who made the change |
| Date | When the change was recorded |
| Note | An optional change note |
| Actions | A Diff link to compare versions |
Compare two versions (diff)
Section titled “Compare two versions (diff)”Click Diff on a revision, or open a diff URL directly:
yoursite.com/paste/{hash}/diff/{from}...{to}where {from} and {to} are version numbers. The diff view shows a line-by-line comparison between the two versions.
Through the REST API
Section titled “Through the REST API”GET /pastes/{id}/revisions— list a paste’s revisions.GET /pastes/{id}/revisions/{revision_id}— a single revision.GET /pastes/{id}/diff— a diff between versions.
See the REST API reference.

