List and retrieve diffs with detailed revision information

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

{
    "id": 1098957,
    "revision": {
        "id": 491311,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "65212684745ed9e010bb0c2a320f3e47de3a4512",
        "head_changeset": "c1852059f696ce6ed995b7ba4e7bc189cc56bc79",
        "phabricator_id": 256207,
        "phabricator_phid": "PHID-DREV-boltgqzssg7nvbljuaxl",
        "title": "Bug 1975744 - Ensure that a not-confident language identifications shows the translation button; r?#translations-reviewers!",
        "bugzilla_id": 1975744,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491311/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491311/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256207"
    },
    "phid": "PHID-DIFF-yvedetb5heuf3jkkcfqz",
    "review_task_id": "YVL3iNjuSZyuS-JiSHQjhw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8d1fc6a372d404fa692e4b1e737dc529d5a70c7c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098957/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-31T15:33:22.553953Z"
}