List and retrieve diffs with detailed revision information

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

{
    "id": 1102582,
    "revision": {
        "id": 493102,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "517f341f67c5d78dbc4ee9947e07107b087b8624",
        "head_changeset": "983740e31cbee16801ac1299d92952a1411a09ac",
        "phabricator_id": 256755,
        "phabricator_phid": "PHID-DREV-7c7re3oajyv34hferkaw",
        "title": "Bug 1974340 - Handle swapping SH entries within the same active entry list. r?#dom-core,jjaschke,smaug",
        "bugzilla_id": 1974340,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493102/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493102/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256755"
    },
    "phid": "PHID-DIFF-nd7rs5zgpuninil3jjaq",
    "review_task_id": "KcwZQ8ELQEWYCcaBoCCgTQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "27ea58da42c75e13d3e2e8520729452074bb54e6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102582/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T15:40:18.742655Z"
}