List and retrieve diffs with detailed revision information

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

{
    "id": 1103673,
    "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-5wzumgxp2uthhfmjeva6",
    "review_task_id": "L6O_yPkQRSSmDkRA6vghYQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6726df4c42e335c70d5cee88e25ddfaf2bc6a26b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103673/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-09T00:06:07.705821Z"
}