List and retrieve diffs with detailed revision information

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

{
    "id": 1107991,
    "revision": {
        "id": 514078,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "26a4b3bbf1f2411870927b34a12ecbd0b0f51bda",
        "head_changeset": "c974edcaf63fb82c48d2bc2f41a267537c29908a",
        "phabricator_id": 261334,
        "phabricator_phid": "PHID-DREV-4rrzcne5y37ktnqntaj7",
        "title": "WIP: Bug 1970055 - Flush engine session state for the selected tab when the back and forward navigation buttons are long pressed to fetch the most recent session state.",
        "bugzilla_id": 1970055,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514078/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514078/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261334"
    },
    "phid": "PHID-DIFF-7ntnqnat5zboycnn3aes",
    "review_task_id": "Yvb2cjKXQKuAb_1a2iufgA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "978835d477f8ca78c641a82fc8279102f78036cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107991/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T17:54:53.157708Z"
}