List and retrieve diffs with detailed revision information

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

{
    "id": 1040441,
    "revision": {
        "id": 475947,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3f0ea1adf7f36a31f830d998e1eb3fb756b3a71b",
        "head_changeset": "0e432f51ff0866df8f2eccf180a6d33621950fd5",
        "phabricator_id": 250544,
        "phabricator_phid": "PHID-DREV-fpzggy7lmjnl64op3whg",
        "title": "Bug 1967859 - Open Private Browsing Learn More link in the existing tab when Homepage as a New Tab is enabled",
        "bugzilla_id": 1967859,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475947/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475947/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250544"
    },
    "phid": "PHID-DIFF-su7uafa5dcch6kcmvg7i",
    "review_task_id": "Eatb1jrwQB6EnoKTpZmEPw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0e432f51ff0866df8f2eccf180a6d33621950fd5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040441/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T00:04:16.636720Z"
}