List and retrieve diffs with detailed revision information

GET /v1/diff/1048674/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1048674,
    "revision": {
        "id": 476455,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fc29b20e4a319f6f225a21a240d9be1abb81371a",
        "head_changeset": "db531c05ece584486eb1fbcc169e022e6e086a85",
        "phabricator_id": 251391,
        "phabricator_phid": "PHID-DREV-o4rbcu2okwtyfxr2lagw",
        "title": "Bug 1953570 - Ensure that any orthogonal flows that may have been dependent on the viewport size will reflow when the viewport is resized. r=#layout",
        "bugzilla_id": 1953570,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476455/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476455/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251391"
    },
    "phid": "PHID-DIFF-7iysjxswdy3r6bivfppb",
    "review_task_id": "aWDLL2okRFGf-iwRyA0NDw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "86232a1898be7ecef39370d69da2d527cc47e8ec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048674/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T20:23:13.402132Z"
}