List and retrieve diffs with detailed revision information

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

{
    "id": 1098384,
    "revision": {
        "id": 487898,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2149e9dce887a3dbfdbe94a4e4715ded7d796c3e",
        "head_changeset": "970f653320492756523a616236f9deddc31074cb",
        "phabricator_id": 255421,
        "phabricator_phid": "PHID-DREV-rqe43lgqau2vgevh4llm",
        "title": "Bug 1971495 - Add LNA permissions to GeckoView layer",
        "bugzilla_id": 1971495,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487898/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487898/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255421"
    },
    "phid": "PHID-DIFF-d4x23c2nmbomxvlxsrnb",
    "review_task_id": "SWUQC5K1Sg6ahoVIjmABog",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "de2e67379d7f70717048bd99b88f0348d850d3f5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098384/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T19:49:13.384441Z"
}