List and retrieve diffs with detailed revision information

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

{
    "id": 1088694,
    "revision": {
        "id": 496924,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "87dee2be361fa5d4ddb92c3f31412f3484b4e763",
        "head_changeset": "e12af0b05d436eac993387c3eff82c4b691cc111",
        "phabricator_id": 257675,
        "phabricator_phid": "PHID-DREV-5h3oczov5xfrnxydclq6",
        "title": "Bug 1971778 - [wdspec] Add invalid wdspec test for network.addDataCollector",
        "bugzilla_id": 1971778,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496924/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496924/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257675"
    },
    "phid": "PHID-DIFF-f6pzhgvkbu6tabufovbz",
    "review_task_id": "bIY9dhXKSBKXAzbvZimzNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "34da7e52a8773f0c4c51cd34a853d16b0fc7d47d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088694/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T14:16:13.797355Z"
}