List and retrieve diffs with detailed revision information

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

{
    "id": 1080249,
    "revision": {
        "id": 492803,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5581df48e4d2aac763d1096b717cb2ff9c2ef6f5",
        "head_changeset": "123832695a5640055ab362141823caa9aa261879",
        "phabricator_id": 256655,
        "phabricator_phid": "PHID-DREV-lgdeqnn2xmxfvdh3egyj",
        "title": "WIP: Bug 1965514 - Remove dom.workers.timeoutmanager pref and unused code, r=smaug",
        "bugzilla_id": 1965514,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492803/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492803/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256655"
    },
    "phid": "PHID-DIFF-dnzqhm3bnruyyda46hkv",
    "review_task_id": "TZurkDEpTKqFIsEEwmyB-g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "44f7bbb1e559448383a5694fab2260265d18554d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080249/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T16:22:14.205574Z"
}