List and retrieve diffs with detailed revision information

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

{
    "id": 1081119,
    "revision": {
        "id": 493528,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "13b9ccbd2667198e1eeb844691459ab3f65403ff",
        "head_changeset": "cdf1a77672a379920f43119041ad0f34f9ddbb6a",
        "phabricator_id": 256873,
        "phabricator_phid": "PHID-DREV-tmvglgl2v6ogwvvsvkt2",
        "title": "WIP: Bug 1910669 - Implement StorageArea.getKeys() in extension storage API",
        "bugzilla_id": 1910669,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493528/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493528/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256873"
    },
    "phid": "PHID-DIFF-wbmyf2mmhifw44u4x2sz",
    "review_task_id": "PgN0wt-OQdSPdlaxOJT_Pw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "873a12aecf75c8c6a45b34ffe64633edfeaf474e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081119/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T22:29:07.475452Z"
}