List and retrieve diffs with detailed revision information

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

{
    "id": 1077349,
    "revision": {
        "id": 482052,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "fce907859dea303c77e6ac30b0afc89c62b7f3e3",
        "head_changeset": "5c7c6b24596f81f5c98d218f33ef6b7e6c2ad9cb",
        "phabricator_id": 254336,
        "phabricator_phid": "PHID-DREV-je4mffgmk7x7w3coe6y6",
        "title": "Bug 1971035 - Opening Website header link should not re-encode the URL before opening it. r=#thunderbird-reviewers",
        "bugzilla_id": 1971035,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482052/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482052/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254336"
    },
    "phid": "PHID-DIFF-y6ehp2jl6yaakcpnq5mg",
    "review_task_id": "JcRM6cVvSFSB41A791rqAQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9c646e27d2c0a1dba243b1de5d0af16556d0b9e6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077349/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T12:35:37.707877Z"
}