List and retrieve diffs with detailed revision information

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

{
    "id": 1105624,
    "revision": {
        "id": 512501,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "76f448acb1d5c3a749d5e4a1b68afd97bd5ce27c",
        "head_changeset": "9bd6f9f8819805ce143f16e999f81d8cb64fd02c",
        "phabricator_id": 261030,
        "phabricator_phid": "PHID-DREV-3ngq5ieiqf7ir6jf56cx",
        "title": "WIP: Bug 1804694 - Use sparse git checkouts instead of a full clone. r?#perftest",
        "bugzilla_id": 1804694,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512501/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512501/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261030"
    },
    "phid": "PHID-DIFF-ltyyxzbc2iteexi6ol4u",
    "review_task_id": "JT5qWZkBQe2Qp8c1h_ktbg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fb75b5fdc3b42518ae2b92edf987cd45964f1d83",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105624/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T20:20:08.995439Z"
}