Questions tagged [revisions]
For questions about how the API returns revisions of posts.
17 questions
2
votes
0
answers
138
views
Enhanced revision 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. ...
2
votes
1
answer
194
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 ...
4
votes
0
answers
49
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 ...
2
votes
1
answer
55
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 ...
1
vote
0
answers
95
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 ...
30
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 ...
6
votes
0
answers
102
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 ...
4
votes
0
answers
72
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:
...
8
votes
0
answers
131
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 ...
5
votes
0
answers
56
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 ...
4
votes
1
answer
75
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 ...
2
votes
0
answers
27
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'...
5
votes
1
answer
47
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 ...
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 ...
5
votes
0
answers
57
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,
...
9
votes
1
answer
421
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 ...
30
votes
1
answer
996
views
OBSOLETE - Add Timeline and Revisions 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 ...