List and retrieve diffs with detailed revision information

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

{
    "id": 1051836,
    "revision": {
        "id": 477243,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "605deddad76418c81983691828bd0ba2fc0f231d",
        "head_changeset": "777050baf1202941a4e1623028610b73dfced7fc",
        "phabricator_id": 252216,
        "phabricator_phid": "PHID-DREV-sfw6mmkfogarbdrgzdn6",
        "title": "Bug 1967808 - Add local address book creation to account hub. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1967808,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477243/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477243/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252216"
    },
    "phid": "PHID-DIFF-qg4ljck5fwkbvlohae6v",
    "review_task_id": "DTpIUkmRSKenXSUbyC0yUA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "777050baf1202941a4e1623028610b73dfced7fc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051836/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T14:16:04.665530Z"
}