List and retrieve diffs with detailed revision information

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

{
    "id": 1054029,
    "revision": {
        "id": 477661,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "6ba90464d03d44f80f984ac2a9f1738f79419def",
        "head_changeset": "b56c83a74eae7ea0f753681b504355c9f3b91cff",
        "phabricator_id": 252792,
        "phabricator_phid": "PHID-DREV-brivzswamcs46rxi7vnh",
        "title": "Bug 1970756 - Update header file guards to match the code style conventions. r=#thunderbird-reviewers",
        "bugzilla_id": 1970756,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477661/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477661/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252792"
    },
    "phid": "PHID-DIFF-pvs54e3n3i7j6y2bqgb5",
    "review_task_id": "B0cFlSPLR-qRU3mYN-LCcQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b56c83a74eae7ea0f753681b504355c9f3b91cff",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054029/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T00:28:35.471288Z"
}