List and retrieve diffs with detailed revision information

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

{
    "id": 1104612,
    "revision": {
        "id": 504153,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "696ce9decad75f774a075269c272435760fdf626",
        "head_changeset": "071ecdbdab1df6705f77f5001394d4929184d556",
        "phabricator_id": 259326,
        "phabricator_phid": "PHID-DREV-nonyd6idw4l2ektejfnn",
        "title": "Bug 1972694 - Better naming for BlitReason / backdrop root stacking context flag. r=gw",
        "bugzilla_id": 1972694,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/504153/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/504153/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259326"
    },
    "phid": "PHID-DIFF-pnr3frlhjhss77yyyfxv",
    "review_task_id": "Xb-F1nCTSrqwUv1dPqRswQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "111730c712d3a14e71de24f0914e784b64081584",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104612/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T09:56:59.446898Z"
}