List and retrieve diffs with detailed revision information

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

{
    "id": 1040445,
    "revision": {
        "id": 474961,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2f539faf6a29f9d23e485ae5625576475391e294",
        "head_changeset": "3ae3e82ca927453aee8882e5655e83f2d6fee5f8",
        "phabricator_id": 249147,
        "phabricator_phid": "PHID-DREV-wpgw4xdm7i63hp4djpvp",
        "title": "Bug 1961324: Use SharedPropMapIter in freezeOrSealProperties r=jandem",
        "bugzilla_id": 1961324,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474961/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474961/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249147"
    },
    "phid": "PHID-DIFF-vmlbkhy74clfcmj6ygn5",
    "review_task_id": "Y67daa2qQEOoPXcJhxJknA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3598500fe556c562b8673a08d49f11c9ef93f9f0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040445/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T23:25:34.974068Z"
}