List and retrieve diffs with detailed revision information

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

{
    "id": 1052920,
    "revision": {
        "id": 477290,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a6da45c1502658b07d0bf6bd079725d1687670d7",
        "head_changeset": "0934c8bcaf841f13600cad990aedb38d78509ac7",
        "phabricator_id": 252379,
        "phabricator_phid": "PHID-DREV-qt3yagyu6ntxsezuqtzu",
        "title": "Bug 1970191 - Move `jj` repo initialization to be one of the first steps of `./mach vcs-setup --vcs=jj` r?ahal,sfink",
        "bugzilla_id": 1970191,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477290/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477290/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252379"
    },
    "phid": "PHID-DIFF-gffxe54i7mdxwjplgxzp",
    "review_task_id": "Btt9Wa7SScOSGXOwf63Njg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1bd1b610ac023f4514f134711ea5a3b351f5977c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052920/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T17:27:01.703137Z"
}