List and retrieve diffs with detailed revision information

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

{
    "id": 1099745,
    "revision": {
        "id": 505363,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3aa49d22daec85ab6d133e78cdc66f060116ae7c",
        "head_changeset": "25e5f9e2dcdec23358059a8367c1cb68533fd0a3",
        "phabricator_id": 259618,
        "phabricator_phid": "PHID-DREV-txeu63dpstgf7bdaisuz",
        "title": "Bug 1971780 - [bidi] Update addDataCollector to check top level contexts and fix match collector logic",
        "bugzilla_id": 1971780,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505363/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505363/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259618"
    },
    "phid": "PHID-DIFF-as2fqlhipwlbuvdbyhvr",
    "review_task_id": "MTb1OlOLSNaCuoT5CxaD6Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "25e5f9e2dcdec23358059a8367c1cb68533fd0a3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099745/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T17:30:06.286761Z"
}