List and retrieve diffs with detailed revision information

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

{
    "id": 1077307,
    "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-i3ym4rcdwvk7m3c75jzr",
    "review_task_id": "XGU1_tQIS5qwGs_w-B4dyw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "abb6feb0873a3a2aa49bb77d3e015dcce1c931e7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077307/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T10:35:40.281525Z"
}