List and retrieve diffs with detailed revision information

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

{
    "id": 1054970,
    "revision": {
        "id": 477849,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed8d6eab9b7653dad72f571d1fd1fc084a087a33",
        "head_changeset": "e658f1b7e47e95b3d247704eecb62ba1baae8e36",
        "phabricator_id": 253002,
        "phabricator_phid": "PHID-DREV-qgquzewkply64dwuy62y",
        "title": "Bug 1971085 - Automate generation of android system headers r=ahochheiden",
        "bugzilla_id": 1971085,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477849/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477849/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253002"
    },
    "phid": "PHID-DIFF-pobr33yl6fbqwedav64c",
    "review_task_id": "du8mp0D0TwOOlmsF4WePdg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e658f1b7e47e95b3d247704eecb62ba1baae8e36",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054970/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T11:00:46.239433Z"
}