List and retrieve diffs with detailed revision information

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

{
    "id": 1047725,
    "revision": {
        "id": 474983,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "47282323aab5f95c4cc4457b360787ee9785130a",
        "head_changeset": "6d57f072323c8f5e2f1403c84ccf22914fe8aeed",
        "phabricator_id": 249169,
        "phabricator_phid": "PHID-DREV-qzlzolxnciw6bktsrmpg",
        "title": "Bug 1606785 - Format genai and ml CSS files with Prettier r=#firefox-ai-ml-reviewers",
        "bugzilla_id": 1606785,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474983/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474983/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249169"
    },
    "phid": "PHID-DIFF-fadbypj54ug3znmk3ing",
    "review_task_id": "XKSf3Qv-Qr2p5whDpw0e5A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "424c29b8a6b8bb953e11556f6385b99fa96678d5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047725/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T23:26:57.058892Z"
}