List and retrieve diffs with detailed revision information

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

{
    "id": 1109697,
    "revision": {
        "id": 517316,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c2d71991eb9b349b3ecd4d2d050e33c60d6563f7",
        "head_changeset": "be5ff521df62f093b97970722609412a2efc1da8",
        "phabricator_id": 262011,
        "phabricator_phid": "PHID-DREV-qtw6xz26hz3caqjbfoe6",
        "title": "Bug 1813675 - Await synthesizeKey calls in browser_tabKeyBehavior.js. r?daleharvey",
        "bugzilla_id": 1813675,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517316/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517316/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262011"
    },
    "phid": "PHID-DIFF-egeqpm3rhwr6mr5ecgv2",
    "review_task_id": "QDPmjhk4QNyhVdDbNutBig",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "be5ff521df62f093b97970722609412a2efc1da8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109697/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T18:52:56.816797Z"
}