List and retrieve diffs with detailed revision information

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

{
    "id": 1077533,
    "revision": {
        "id": 490247,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "60ae61f532a35fcdb70460786e5b9636ff86536e",
        "head_changeset": "6f0d0aa7d6f775d9d33acbc40f4c4124630d8f95",
        "phabricator_id": 255994,
        "phabricator_phid": "PHID-DREV-thdwa7rbmakwfiffs4m3",
        "title": "No Bug, mozilla-esr115 repo-update HSTS HPKP remote-settings - a=repo-update",
        "bugzilla_id": null,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490247/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490247/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255994"
    },
    "phid": "PHID-DIFF-qm7m6ruhzpruahwqkyrc",
    "review_task_id": "VyqUfozfTKm-VWMI-BTwfg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6f0d0aa7d6f775d9d33acbc40f4c4124630d8f95",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077533/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T16:24:07.010486Z"
}