List and retrieve diffs with detailed revision information

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

{
    "id": 1047912,
    "revision": {
        "id": 475428,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aafe6b2423de2863f79411b9c4f127d09af5e787",
        "head_changeset": "4b040a6ee6db4cb17bbe427904030ef79c3905e9",
        "phabricator_id": 249715,
        "phabricator_phid": "PHID-DREV-hlfs6q4zp64mff6en3gi",
        "title": "Bug 1964288 - Cannot drag tab to far right of tab bar r=dao,dwalker,jswinarton",
        "bugzilla_id": 1964288,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475428/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475428/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249715"
    },
    "phid": "PHID-DIFF-gmnewuxkbrtgd3xhvlq2",
    "review_task_id": "Qll6NtnaRF6hll4Kd3A7BQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "76ef2344b57d196b732f14f5b0d6180e5aa46f53",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047912/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T04:23:51.553990Z"
}