List and retrieve diffs with detailed revision information

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

{
    "id": 1056373,
    "revision": {
        "id": 478073,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "3fd0df28e520fa45b2d61cf1d1905a2a299c3589",
        "head_changeset": "95e09a54cc9d92652944376d24695887a248fdae",
        "phabricator_id": 252976,
        "phabricator_phid": "PHID-DREV-cduq4psgp42ac5yuzo7g",
        "title": "Bug 1971060 - Migrate virtualFolders.dat to the new database. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1971060,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478073/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478073/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252976"
    },
    "phid": "PHID-DIFF-xdnn5gh67g7f5xmensnv",
    "review_task_id": "AmyNqJFCQkqneLnORUZH_g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "95e09a54cc9d92652944376d24695887a248fdae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056373/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T00:40:08.301305Z"
}