Page MenuHomePhabricator

API to access single older revision of a post
Open, MediumPublic

Description

This is related to T103030: Expose Flow history in API, but not quite the same thing.

To be determined if this should be an option to ApiFlowViewPost (probably) or a separate API.

This functionality is available in the internal API from at least one path already, single-view. See https://www.mediawiki.org/w/index.php?title=Topic:Sjbg86fqz4m00em9&topic_showPostId=sjbg86libif817up#flow-post-sjbg86libif817up , https://www.mediawiki.org/w/index.php?title=Topic:Sjbg86fqz4m00em9&topic_postId=sjbg86libif817upseq732h45hsh44qj&topic_revId=sjbg86libif817up&action=single-view , and https://www.mediawiki.org/w/index.php?title=Topic:Sjbg86fqz4m00em9&topic_postId=sjbg86libif817upseq732h45hsh44qj&topic_revId=sjhhx9elln2stjky&action=single-view .

Although that page is pretty minimal, it looks like it's all there internally (see renderSingleViewApi, RevisionViewFormatter, and RevisionFormatter).

Related Objects

Event Timeline

Mattflaschen-WMF raised the priority of this task from to Needs Triage.
Mattflaschen-WMF updated the task description. (Show Details)
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Mattflaschen-WMF renamed this task from API to access older revisions of posts to API to access single older revision of a post.Jun 19 2015, 5:00 AM
Mattflaschen-WMF updated the task description. (Show Details)
Mattflaschen-WMF set Security to None.
Catrope triaged this task as Medium priority.Jul 1 2015, 11:18 PM
Restricted Application added a subscriber: pywikibot-bugs-list. · View Herald Transcript