List and retrieve diffs with detailed revision information

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

{
    "id": 1039656,
    "revision": {
        "id": 475843,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92ddaa0e20b2a487113f158effdd5ae1d88f7971",
        "head_changeset": "bcec4ee92248ecb359f5fee63f5e0b0b54acf3a1",
        "phabricator_id": 250418,
        "phabricator_phid": "PHID-DREV-wtdkgh5pz423acseesyo",
        "title": "Bug 1781893 - Fix intermittent a11y checks failure hit by browser_html_list_view.js on testDisabledDimmed. r?willdurand!",
        "bugzilla_id": 1781893,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475843/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475843/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250418"
    },
    "phid": "PHID-DIFF-enpux2tz6g6nrj5ooy5h",
    "review_task_id": "N9qBN1J9R0e4CT9xf7ocAQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bcec4ee92248ecb359f5fee63f5e0b0b54acf3a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039656/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T12:04:30.868976Z"
}