List and retrieve diffs with detailed revision information

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

{
    "id": 1049018,
    "revision": {
        "id": 471544,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "97baca570ffa50c4dbc7d451f01b002679170515",
        "head_changeset": "7117d24594e1b07d00697018c0794b4c983d5e92",
        "phabricator_id": 244370,
        "phabricator_phid": "PHID-DREV-vc3tskwfzqll72obtxm2",
        "title": "Bug 1957633 - QM: Move access time updates out of Register/UnregisterClientDirectoryLockHandle; r=#dom-storage",
        "bugzilla_id": 1957633,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471544/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471544/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244370"
    },
    "phid": "PHID-DIFF-bm6ligg3ttv4ugww3msk",
    "review_task_id": "UinZiW8tQGWQRDUfxvRkHQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "13c74ad80ca49e607bfc948f5829f3ce963dfa29",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049018/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T07:00:34.303467Z"
}