List and retrieve diffs with detailed revision information

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

{
    "id": 1079821,
    "revision": {
        "id": 491375,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "810530c2f657cb8770e931a4f5eaf9f39fd87115",
        "head_changeset": "443e0edce29369080861d02cba398f1b976c48c4",
        "phabricator_id": 256235,
        "phabricator_phid": "PHID-DREV-3s6ei44h5j3eepy4e4qz",
        "title": "Bug 1975051 - [New User Activation] Select Wallpaper OMC Message r=#home-newtab-reviewers",
        "bugzilla_id": 1975051,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491375/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491375/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256235"
    },
    "phid": "PHID-DIFF-xxcrc44ndu5kd2dmxho6",
    "review_task_id": "A4bXnpPwSCienI2YE5oGaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f58b81afa9189d120e4c6fefab59d79847c63919",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079821/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T22:40:02.657662Z"
}