List and retrieve diffs with detailed revision information

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

{
    "id": 1077389,
    "revision": {
        "id": 490046,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0de09c55810e4f67c0714f475394c45f137e75a6",
        "head_changeset": "6de384d74eddc956138589a1e7e8ab430d429737",
        "phabricator_id": 255966,
        "phabricator_phid": "PHID-DREV-yke4rowqldmju3k2siac",
        "title": "Bug 1975444 - Navigation API: Only clean up API Method Tracker once. r=farre!",
        "bugzilla_id": 1975444,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490046/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490046/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255966"
    },
    "phid": "PHID-DIFF-cwx3n5cv3fvbwjrgd3iu",
    "review_task_id": "G3XdsLAbTuKmcCKtZdfhcw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6de384d74eddc956138589a1e7e8ab430d429737",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077389/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T13:42:55.335423Z"
}