List and retrieve diffs with detailed revision information

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

{
    "id": 1056141,
    "revision": {
        "id": 477923,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f2b9d4c02a75a833b2b73d9abdab4b6a301d74e7",
        "head_changeset": "dc090983df68e2a03f7524b7fe7bcca61eb1b78f",
        "phabricator_id": 253089,
        "phabricator_phid": "PHID-DREV-nyfyxlcxgwjus2qleltz",
        "title": "Bug 1965601 - Part 9. Add encoding variants to TrackSupport.",
        "bugzilla_id": 1965601,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477923/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477923/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253089"
    },
    "phid": "PHID-DIFF-gevofhtbhemtfjki5wxy",
    "review_task_id": "Lwr6dEoGQrGZQQCul1PNCQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "749d233b68e1079e2910f60e6dcce242e4fbe7f3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056141/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T18:48:38.256921Z"
}