List and retrieve diffs with detailed revision information

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

{
    "id": 1079747,
    "revision": {
        "id": 492453,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "41271264514e00492c1b10bd9b05c933049965aa",
        "phabricator_id": 256515,
        "phabricator_phid": "PHID-DREV-cz4fpliuq2g3vpjcx6zy",
        "title": "Bug 1973165 - Remove header download chunking. r=mkmelin,#thunderbird-back-end-reviewers",
        "bugzilla_id": 1973165,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492453/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492453/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256515"
    },
    "phid": "PHID-DIFF-t5zjzxctq6wk2b5sjmz2",
    "review_task_id": "b1EutHkFQt2V9y7JXzLgBQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "41271264514e00492c1b10bd9b05c933049965aa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079747/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T20:25:19.048884Z"
}