List and retrieve diffs with detailed revision information

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

{
    "id": 1076838,
    "revision": {
        "id": 487684,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fb8a961955b61886ef0804635cd6b67044467036",
        "head_changeset": "69dca3b9fc12f4d6448c5aabffa7f087c830db7b",
        "phabricator_id": 255288,
        "phabricator_phid": "PHID-DREV-wws2tlhahiuvjt45figl",
        "title": "Bug 1974427 - Implement button \"Auto\" state r?#dom-core",
        "bugzilla_id": 1974427,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487684/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487684/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255288"
    },
    "phid": "PHID-DIFF-u4cyvnlsiakbagvr7agh",
    "review_task_id": "JPLyh2EDTCOutIf_SkSUlw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1d80924b07f2ff9c17e9632a31bf65e79027a272",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076838/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T16:27:30.153383Z"
}