List and retrieve diffs with detailed revision information

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

{
    "id": 1087827,
    "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-zxin6tvwph47tvixedm4",
    "review_task_id": "X-sZ3L1pTkmQEKghz1MiaQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "12c86560eb6e3a62a3dedd3ba203c532ac6b4c6c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087827/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T06:52:31.160683Z"
}