List and retrieve diffs with detailed revision information

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

{
    "id": 1078517,
    "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-ucklsswhaa36i4hukenh",
    "review_task_id": "c80Lmr8oTXyYLxzxWXys3g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c1852059f696ce6ed995b7ba4e7bc189cc56bc79",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078517/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-06T22:41:57.467244Z"
}