List and retrieve diffs with detailed revision information

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

{
    "id": 1078674,
    "revision": {
        "id": 491396,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96fc24855eb37df1481106fc25a5e27af05b7cf3",
        "head_changeset": "ee379e1d7a87e3bdbe12d608531dab844ef002b5",
        "phabricator_id": 256254,
        "phabricator_phid": "PHID-DREV-yxb7p3ccyayzsq3palpb",
        "title": "Bug 1941237 - Always constrain wayland tooltips to the window area. r=stransky",
        "bugzilla_id": 1941237,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491396/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491396/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256254"
    },
    "phid": "PHID-DIFF-jfxdbr3ptj6qh7ljpqks",
    "review_task_id": "d6xibhCbSmSMaow_SfasNw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ee379e1d7a87e3bdbe12d608531dab844ef002b5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078674/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T11:17:03.381670Z"
}