List and retrieve diffs with detailed revision information

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

{
    "id": 1105226,
    "revision": {
        "id": 512034,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669ee6060f3cff758fee1dbf4d125ccefb5b2d45",
        "head_changeset": "e8aff5705eaa1ba2d43f77a263bdf76afe35059b",
        "phabricator_id": 260952,
        "phabricator_phid": "PHID-DREV-vtyhjqgp3cy65esaizwe",
        "title": "Bug 1982793 - In UrlbarInput add TypeScript definitions of dynamically defined properties. r?#urlbar-reviewers!",
        "bugzilla_id": 1982793,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512034/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512034/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260952"
    },
    "phid": "PHID-DIFF-tbdehvodzhefumebg3cz",
    "review_task_id": "S_ipR0xLSESVP8Hf7n0auQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e8aff5705eaa1ba2d43f77a263bdf76afe35059b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105226/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T09:24:38.739357Z"
}