List and retrieve diffs with detailed revision information

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

{
    "id": 1105368,
    "revision": {
        "id": 510556,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8a8028addc8ef776b6f2ce3ec7c88b1093ba706",
        "head_changeset": "4ef6037b9cea1bd47e755ab12bd9c165dc73657f",
        "phabricator_id": 260670,
        "phabricator_phid": "PHID-DREV-gyhr73hflzehio6ritwi",
        "title": "Bug 1982328 - Part 7: Tidy error handling for HostLoadImportedModule r?allstarschh",
        "bugzilla_id": 1982328,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510556/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510556/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260670"
    },
    "phid": "PHID-DIFF-jc7drsiuisxae5nk2lim",
    "review_task_id": "M5R7hbXBQVqGSVy7gjNG8g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3bb10dd84f1157e0d3d51f0415661cc8966fdf97",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105368/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T14:40:29.856312Z"
}