List and retrieve diffs with detailed revision information

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

{
    "id": 1087379,
    "revision": {
        "id": 496424,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4ce48810c827ec15ca9a06a6107fb6531a708aad",
        "head_changeset": "6e2c1d30d3f464e1181ecc53311dd694f783d7e4",
        "phabricator_id": 257545,
        "phabricator_phid": "PHID-DREV-uzaak44zjsce6r7oqucr",
        "title": "Bug 1974424 - Add tests for fluent args of account hub notification title. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1974424,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496424/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496424/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257545"
    },
    "phid": "PHID-DIFF-tzhpxurljor5g2ethlcu",
    "review_task_id": "P2AmTwJeTM6yHWTlGR_kYQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6e2c1d30d3f464e1181ecc53311dd694f783d7e4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087379/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:20:56.927632Z"
}