List and retrieve diffs with detailed revision information

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

{
    "id": 1048481,
    "revision": {
        "id": 475222,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c7a1a76d7f0d1f864e107a597f590a3ff309434",
        "head_changeset": "31ee11aca13e289ab309788d023b47b66f78bd23",
        "phabricator_id": 249651,
        "phabricator_phid": "PHID-DREV-qlfqupjxdxeudqcml6vq",
        "title": "WIP: Bug 1963189 - Part 1: Forward WebProgress events directly from nsDocShell to BrowsingContextWebProgress, r=smaug!",
        "bugzilla_id": 1963189,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475222/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475222/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249651"
    },
    "phid": "PHID-DIFF-2soa2cs64cnvn5fevsfi",
    "review_task_id": "TN_12946TEq9YyLcowsxfA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2e75a1055d8462e71e2fa25a60384042457f8f55",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048481/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T16:56:49.673516Z"
}