List and retrieve diffs with detailed revision information

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

{
    "id": 1049746,
    "revision": {
        "id": 476856,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "273b7efffbe78e3353ffd01c48162a524b2747ba",
        "head_changeset": "1d3ffa5b04cb9315c3e388ed178baa1056c20fb0",
        "phabricator_id": 251802,
        "phabricator_phid": "PHID-DREV-pngrrsmybyd5d22avaq6",
        "title": "Bug 1969403 - Vendor application-services 663690e for Suggest geonames and weather changes.",
        "bugzilla_id": 1969403,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476856/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476856/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251802"
    },
    "phid": "PHID-DIFF-76zn6ndc2u2knnvwvuip",
    "review_task_id": "NCohNFCzRVm16g0D-5yqVw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1d3ffa5b04cb9315c3e388ed178baa1056c20fb0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049746/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:18:01.143922Z"
}