Diff Context Resource¶
Provides context information for a specific diff view.
The output of this is more or less internal to the Review Board web UI. This will return the various pieces of information required to render a diff view for a given diff revision/interdiff. This is used to re-render the diff viewer without a reload when navigating between revisions.
|Parent Resource||Review Request Resource|
|Anonymous Access||Yes, if anonymous site access is enabled|
Returns the context info for a particular revision or interdiff.
The output of this is more or less internal to the Review Board web UI. The result will be an object with several fields for the files in the diff, pagination information, and other data which is used to render the diff viewer page.
Note that in versions 2.0.0 through 2.0.6, the
parameter was named
interdiff_revision. Because of the internal
nature of this API, this was changed without adding backwards
compatibility for 2.0.7.
|interdiff-revisionInteger||A tip revision for showing interdiffs. If this is provided, the
|pageInteger||The page number for paginated diffs.|
|revisionInteger||Which revision of the diff to show.|