List and retrieve diffs with detailed revision information

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

{
    "id": 1053341,
    "revision": {
        "id": 477306,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e579b03ce31bbed3ebae1f66159f3341425e64c4",
        "head_changeset": "f1b398d3cab1ff6432615bdb096f1f52d07d8359",
        "phabricator_id": 252399,
        "phabricator_phid": "PHID-DREV-5bcezwnkpv6bojaebiun",
        "title": "Bug 1970017: Fix badge location when using avatar variants and sign in text r=#sync-reviewers",
        "bugzilla_id": 1970017,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477306/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477306/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252399"
    },
    "phid": "PHID-DIFF-jf4ovujq2t5inw3pwmfq",
    "review_task_id": "Vz9wDYCZRL-OFStWydiG2g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "02741576597579db13d1c19ef1e40833e19a4e02",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053341/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T08:50:36.846538Z"
}