List and retrieve diffs with detailed revision information

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

{
    "id": 1107563,
    "revision": {
        "id": 508542,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "58632dda0c3fd291e18ecf2522e07edaa604753b",
        "head_changeset": "58241ae52f6b7d3a3f5da41e8325a29e4bd304af",
        "phabricator_id": 175169,
        "phabricator_phid": "PHID-DREV-zdwmm44k2f7ezceivxlm",
        "title": "Bug 1570400 - Add Python smoketests for the mobile/android build system r?nalexander",
        "bugzilla_id": 1570400,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508542/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508542/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D175169"
    },
    "phid": "PHID-DIFF-ifzbv7kcecffeabzv652",
    "review_task_id": "RQ5XjMPrRbaFWHBAZgx8WA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "84261715a3e57a25d46d6241ce081a35125401e1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107563/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T06:43:06.430382Z"
}