List and retrieve diffs with detailed revision information

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

{
    "id": 1035411,
    "revision": {
        "id": 473951,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "30d833468eba8358571c55ec3e7e8991f4952fb9",
        "head_changeset": "d09223b740e9fcfc0a4e521345f71f1950a40a54",
        "phabricator_id": 247442,
        "phabricator_phid": "PHID-DREV-cxcpnojuhtb4dsvobuo6",
        "title": "WIP: Bug 1961386 - Use a sorted AutoTArray for mTimers.",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473951/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473951/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247442"
    },
    "phid": "PHID-DIFF-e5mpn7fybv2w7au3v5oc",
    "review_task_id": "FkSmWSG2Q6W4lyvjJ9XDvw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a5a3300eadae88e566a4fa2bba09adb0b49d6f13",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035411/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T16:33:06.446065Z"
}