Questions tagged [revisions]

For questions about how the API returns revisions of posts.

Filter by
Sorted by
Tagged with
1 vote
0 answers
58 views

Revision diff view

When visiting an individual post revision page, this script adds buttons that allow switching to a view showing how the revision differed from the previous one, just like on a full post history page. ...
user3840170's user avatar
2 votes
1 answer
155 views

What does it mean when a revision number is missing?

I've noticed in the API docs for revisions that revision_number may be absent. Yet all examples, e.g. /posts/{ids}/revisions include a revision number for all responses. I have a colleague who swears ...
Jesse Scherer's user avatar
4 votes
0 answers
48 views

/revisions/{ids} returns wrong body

Since a couple of days, the /revisions/{ids} method returns a wrong value for the body field. An example is this Ask Different post. When viewing the (only) revision on the website, you see that the ...
Glorfindel's user avatar
  • 6,762
2 votes
1 answer
50 views

Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?

The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
Glorfindel's user avatar
  • 6,762
1 vote
0 answers
89 views

Add Timeline and Revisions Links (v2)

Screenshot About This is a simple Tampermonkey script which adds both timeline and revision links to questions and answers in many of the different question views. Within a question view, a ...
Jeff Mercado's user avatar
29 votes
0 answers
1k views

Belisarius - Detecting vandalism on Stack Overflow

Background: This bot has been developed in an attempt to help capture possible vandalism. This includes: Removing all code Replacing all content with nonsense/repeated words Adding solutions to ...
Bugs's user avatar
  • 451
6 votes
0 answers
97 views

Revisions API doesn't return all revisions if post has had multiple edits made in quick succession

I am pulling information from the posts API and then checking the revisions API for some of these posts. I am noticing that on posts which have had multiple revisions done in quick succession that the ...
Bugs's user avatar
  • 451
4 votes
0 answers
68 views

Clickable Links in Revision Comments

Description: This is a really simple userscript that turns URLs in revision history comments into clickable links: Features: Works in both revision list and single revision links. Download: ...
Jason C's user avatar
  • 591
8 votes
0 answers
129 views

Show revision diff color toggle

Sparked by this feature request on meta.SO, I created a quick user script that offers a toggle to show or hide diff colors. Look at the following screenshot to see it in action. The upper view is how ...
poke's user avatar
  • 707
5 votes
0 answers
53 views

Please provide a way to get Post Edits, filtered by user

I recently discovered from this question that the API does not support filtering revisions by user. I am interested in looking at a user's edit history programmatically (with their permission) and at ...
halfer's user avatar
  • 293
4 votes
1 answer
71 views

Can revisions be returned from the API, filtered by user?

I see that question or answer revisions can be returned from the API either by post ID or by GUID. I'd like to obtain this data filtered by user, e.g. "all revisions made by user X". However, I ...
halfer's user avatar
  • 293
2 votes
0 answers
24 views

/revisions/{ids} returns results where revision_number is always 1

As of now, Code Review Question 59285 has three revisions, excluding the original question. If I fetch those three revisions using the API, I see that all of them have revision_number set to 1. That'...
200_success's user avatar
5 votes
1 answer
44 views

/posts/{id}/revisions breaks for posts with [tag:*] content

Attempting to access (at least) the revisions route for a post with a revision involving the [tag:*] syntax causes an error: Example on Meta Stack Overflow (Post History) Example on Mathematica (Post ...
Tim Stone's user avatar
  • 4,686
2 votes
1 answer
26 views

Guid inconsistency in 2.0?

question timeline returns "revision_guid": "335659EE-8983-4BEC-BACC-CC95784A4465" revisions by guid return "revision_guid": "335659ee89834becbacccc95784a4465" Is there any particular reason for ...
bevacqua's user avatar
  • 213
5 votes
0 answers
55 views

OBSOLETE - revisions/{id} is returning an error for locked posts

The API is returning the following error message when I request the revision history for locked posts. Example URL: http://api.stackoverflow.com/1.1/revisions/194812 { "error": { "code": 500, ...
Bill the Lizard's user avatar
9 votes
1 answer
408 views

OBSOLETE - Add Timeline and Revisions Links

Obsolete: Script no longer works on any Stack Exchange site. Updated version found here. Screenshot About This is a simple Greasemonkey script which adds both timeline and revision links to ...
Jeff Mercado's user avatar
30 votes
1 answer
985 views

OBSOLETE - Add Timeline and R​‌​‌​‌e​‌visions links

Obsolete: The links are dead, but the forked script in the answer(s) may still work. Screenshot / Code Snippet About Add revision links, and timeline links on all questions post menus. Intended ...
YOU's user avatar
  • 5,022