List and retrieve diffs with detailed revision information

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

{
    "id": 1104165,
    "revision": {
        "id": 510639,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "9a83cfad8c2752f1b4b319e5977a96c688c14981",
        "head_changeset": "5f3f80906c489f3b4029e397311c4691b3b267f1",
        "phabricator_id": 260693,
        "phabricator_phid": "PHID-DREV-j3vjui2f6xpqukatxkde",
        "title": "Bug 1957975 - Part 5: Modernise IEwsMessageFetchCallbacks and IEwsMessageCallbacks. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1957975,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510639/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510639/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260693"
    },
    "phid": "PHID-DIFF-ljaizracfuchhfofrvle",
    "review_task_id": "VAzP2a9KStWjEqgQByUtLA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5f3f80906c489f3b4029e397311c4691b3b267f1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104165/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T15:30:50.746254Z"
}