List and retrieve diffs with detailed revision information

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

{
    "id": 1051853,
    "revision": {
        "id": 476360,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eb4e1e767d495988bcc5817d8434fad86a22fe63",
        "head_changeset": "90b1efeec45aaa37e84db5df53ae116fec1e3684",
        "phabricator_id": 251216,
        "phabricator_phid": "PHID-DREV-l4iqvs4vohbj2ldy742n",
        "title": "Bug 1928954 - disable the webcompat intervention for publix.com on version 140 and up, where it's no longer needed; r?denschub",
        "bugzilla_id": 1928954,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476360/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476360/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251216"
    },
    "phid": "PHID-DIFF-xgeq4blv2puv62gdxojy",
    "review_task_id": "F7DCrDTcQxGKiVax75RuoQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "696d656232d30c956063159b1557315a953902fe",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051853/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T14:33:20.119862Z"
}