List and retrieve diffs with detailed revision information

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

{
    "id": 1066717,
    "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-ahj7immng7w45dn6bwxj",
    "review_task_id": "Rngy_RYIR2uGPRq-bwwO2Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6e9923c52b4871f52d5357dc987ae2a7b6665111",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066717/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T17:18:28.465610Z"
}