List and retrieve diffs with detailed revision information

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

{
    "id": 1037988,
    "revision": {
        "id": 474434,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "58f02022f9013f67fdb8433f6d0b8f4747d91569",
        "head_changeset": "6e0ca1cc9c3eb65b75408a3c84bc1603c658bf99",
        "phabricator_id": 240530,
        "phabricator_phid": "PHID-DREV-7er3o3fywucbp2cwaui4",
        "title": "WIP: Bug 1952044 - Add nsIMsgPluggableStore.discoverFolders(). r=#thunderbird-backend-reviewers",
        "bugzilla_id": 1952044,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474434/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474434/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D240530"
    },
    "phid": "PHID-DIFF-k3vskgghjkn4iuhrl7bu",
    "review_task_id": "P1OBv_T4T8yCkrUwxl1nhw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c01bf88a6ba27992f100fa6ff664328e0ed2763d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037988/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T04:25:29.357582Z"
}