List and retrieve diffs with detailed revision information

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

{
    "id": 1076710,
    "revision": {
        "id": 486772,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "47d2305074e7678d1e69fc853de92c511f1fd6e5",
        "head_changeset": "67d5a034b306f5c7b2058de95146fffc07cc0e26",
        "phabricator_id": 254501,
        "phabricator_phid": "PHID-DREV-lggli4anevmpbzybvqko",
        "title": "Bug 1896280 - Limit maximal height of expanded attachment list in message browser. r=#thunderbird-reviewers",
        "bugzilla_id": 1896280,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486772/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486772/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254501"
    },
    "phid": "PHID-DIFF-4rvz2zczbqgckrrdt6wu",
    "review_task_id": "FDZE17zkTiC0-r5HYiNXoQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "d541c6f494d80d0ab2dc04ef1d78fd9beb29b418",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076710/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T14:18:52.438924Z"
}