List and retrieve diffs with detailed revision information

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

{
    "id": 1108126,
    "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-o3yaqgi4pnzau4doe3hu",
    "review_task_id": "I8LDoc46TBWo2Qo955xQ_w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "397460ec4e039c30b650d7720621dbfb5f674a31",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108126/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T20:57:42.040902Z"
}