List and retrieve diffs with detailed revision information

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

{
    "id": 1077507,
    "revision": {
        "id": 490141,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d8fe417e929863bd10102ed4000c751682f81d10",
        "head_changeset": "cae57c3fa0f9ccd7266b3a99a70c7632cb0a6ae1",
        "phabricator_id": 255989,
        "phabricator_phid": "PHID-DREV-rcaouutpskxzv2wqgrdg",
        "title": "Bug 1975490 - Port bug 1972782: Make MOZ_WINCONSOLE a first class citizen of moz.build as WINCONSOLE r=#thunderbird-reviewers",
        "bugzilla_id": 1975490,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490141/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490141/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255989"
    },
    "phid": "PHID-DIFF-rovbpzrzivxbiqveq4a4",
    "review_task_id": "NhqOXqp3Sais3T6qRLc0Pg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "cae57c3fa0f9ccd7266b3a99a70c7632cb0a6ae1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077507/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T15:42:23.171794Z"
}