List and retrieve diffs with detailed revision information

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

{
    "id": 1099407,
    "revision": {
        "id": 503607,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2dd2f21b23d8bf63ac60cfe61074206fdb761d90",
        "head_changeset": "7f14721a467f7092d7dfa320bc1fa85d0c0712f0",
        "phabricator_id": 259165,
        "phabricator_phid": "PHID-DREV-kv4nbyidrkeydy7lcoq2",
        "title": "WIP: Bug 1979341: Add the style and content to the dialog",
        "bugzilla_id": 1979341,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/503607/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/503607/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259165"
    },
    "phid": "PHID-DIFF-t3kbjvuf3suqpbyaht2d",
    "review_task_id": "BGixILdcSVKd-Oy1AF_pJw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3cf09f9f33a0cc03d9fe01be51b77d42f24d2b01",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099407/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T06:36:57.854744Z"
}