List and retrieve diffs with detailed revision information

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

{
    "id": 1063642,
    "revision": {
        "id": 477972,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "56dabce61b8a6587d7af3975c93d0d751ff1da22",
        "head_changeset": "8697f641560e7169f1d2f5cb5a1afda9db0fe090",
        "phabricator_id": 252977,
        "phabricator_phid": "PHID-DREV-io2b6yuiqxlzuivefpxw",
        "title": "Bug 1970018 - Don't rely upon data on deleted msgHdr in test_perFolderDatabase.js. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477972/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477972/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252977"
    },
    "phid": "PHID-DIFF-hf343krk45onr3b74txl",
    "review_task_id": "cyqOby8sTrOUB0q4UCzNsQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ec579e9c171968f50ab369ede4f5e560cace866e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1063642/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T00:49:01.164708Z"
}