List and retrieve diffs with detailed revision information

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

{
    "id": 1076066,
    "revision": {
        "id": 478223,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "565911a1cee48b514a559d72e637909172e50002",
        "head_changeset": "c4349a93ace659e6cf0d87a553ac9e41ded23e7f",
        "phabricator_id": 253446,
        "phabricator_phid": "PHID-DREV-2mpuwwlays6hz5rzplaz",
        "title": "Bug 1971239 - Enable menu redesign by default in nightly",
        "bugzilla_id": 1971239,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478223/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478223/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253446"
    },
    "phid": "PHID-DIFF-7pu37j6moirw7b6jyaok",
    "review_task_id": "LSe9PyNRQ2mpurybreJpmA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1c948f563919b765c974e9d9450eb889a08d322d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076066/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T15:55:06.100048Z"
}