List and retrieve diffs with detailed revision information

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

{
    "id": 1052248,
    "revision": {
        "id": 475893,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fa6301ac1b4c17c362cacf38dbb7760a2588c88c",
        "head_changeset": "85096e453fb2d0a20f280ec3fea6a8f455c21fbb",
        "phabricator_id": 250483,
        "phabricator_phid": "PHID-DREV-jxsyzkaosiw7g3rpm62a",
        "title": "WIP: Bug 1218080",
        "bugzilla_id": 1218080,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475893/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475893/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250483"
    },
    "phid": "PHID-DIFF-4d7pepjx2kkrb4cp2hwg",
    "review_task_id": "RFcicOEDRFGQ-b-35oVY-w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e5afa1e3db9a0b978f9bc998b7b170623c0e4480",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052248/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T20:48:42.952261Z"
}