List and retrieve diffs with detailed revision information

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

{
    "id": 1096411,
    "revision": {
        "id": 501423,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a84c0c04a892c18a4ab3d40765d94d1f834710ab",
        "head_changeset": "f41f1e81fef1756cee799d52dfe47cb3898d06f0",
        "phabricator_id": 258751,
        "phabricator_phid": "PHID-DREV-pteqjobsv66vqxn2cimc",
        "title": "Bug 1979421 - Update WebGPU CTS to 44dac855ba07b23c49d2cbc2c9d87bf8e6f38c47",
        "bugzilla_id": 1979421,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/501423/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/501423/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258751"
    },
    "phid": "PHID-DIFF-xsk5p4rxjqc7ta273hlp",
    "review_task_id": "NVHYjORjTFqMGQ4ZZFNxlw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "36d0b80c45718fa6f4c456df10b26369ce81eae2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096411/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-27T03:37:36.780974Z"
}