List and retrieve diffs with detailed revision information

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

{
    "id": 1118901,
    "revision": {
        "id": 517123,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7fed0a3528ef27b3a504543436fd0c7ba2548b21",
        "head_changeset": "505134f450f0991f9177f48bbaddcfed53eacd9c",
        "phabricator_id": 261977,
        "phabricator_phid": "PHID-DREV-acsnbb2qz2fy7zy3bxdl",
        "title": "Bug 1982132 - Advocate message for new tab opened scenario. r?daleharvey",
        "bugzilla_id": 1982132,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517123/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517123/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261977"
    },
    "phid": "PHID-DIFF-luxc5vopqnmhnf6xldat",
    "review_task_id": "YHGG4tOJTP2x0ApdkDv0wA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e08d6161a96e57e71b29fb16e5cfb1eb7474d72f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1118901/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-08T20:50:34.877577Z"
}