List and retrieve diffs with detailed revision information

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

{
    "id": 1058220,
    "revision": {
        "id": 476298,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "76b1266c7b07ab9421df8bfeee66e35095082344",
        "head_changeset": "995c342ef0663849aa920ca44f6dcf9652e354d6",
        "phabricator_id": 251136,
        "phabricator_phid": "PHID-DREV-fcfwio3fusgddoa4hwcb",
        "title": "Bug 1962010: Skip over time zone transition which don't change the time zone offset. r=#spidermonkey-reviewers!",
        "bugzilla_id": 1962010,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476298/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476298/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251136"
    },
    "phid": "PHID-DIFF-r7iqdhf7bugvut5xywus",
    "review_task_id": "RWYn4M6DTSC8sy6zzjVNBw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c3e36f1ddf2156b8636d4b0cc01edc7285790c2b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058220/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T08:17:39.148606Z"
}