List and retrieve diffs with detailed revision information

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

{
    "id": 1039146,
    "revision": {
        "id": 475573,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0115f29a56f86b50d3dde31f1821dfd291fd190a",
        "head_changeset": "5e945e0a750331756e54a35e01b0b450436238b8",
        "phabricator_id": 249982,
        "phabricator_phid": "PHID-DREV-x2zurm2njstvhwztmio7",
        "title": "Bug 1820252 - Rework the isNodeHidden function r=#translations-reviewers!",
        "bugzilla_id": 1820252,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475573/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475573/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249982"
    },
    "phid": "PHID-DIFF-reykjbixhfpipfuxwz5q",
    "review_task_id": "JlS1mHCDRdKzxjSUB14vbw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "31aa785a3b7e9823f0f05051f1a062b9b34e51c6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039146/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T22:32:49.691193Z"
}