List and retrieve diffs with detailed revision information

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

{
    "id": 1079069,
    "revision": {
        "id": 491687,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f02209f56f063527d6ee9041181f01b4c845d998",
        "head_changeset": "1fcb08271c9a20a72bbbf39080e3e863003e55e9",
        "phabricator_id": 256369,
        "phabricator_phid": "PHID-DREV-7mghtlr3k7jfmewutwe7",
        "title": "Bug 1957261 - Remove unnecessary awaits from certain 'testGetValue' calls in browser/components/preferences/tests. r?#preferences-reviewers!",
        "bugzilla_id": 1957261,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491687/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491687/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256369"
    },
    "phid": "PHID-DIFF-rndnqqcjryoleyyzxrwg",
    "review_task_id": "ZAPg10AVRNWhOLYaJlsowQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1fcb08271c9a20a72bbbf39080e3e863003e55e9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079069/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T21:49:32.607812Z"
}