List and retrieve diffs with detailed revision information

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

{
    "id": 1099764,
    "revision": {
        "id": 505365,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3aa49d22daec85ab6d133e78cdc66f060116ae7c",
        "head_changeset": "681c8b32f604029afeea16f483a324830c92b72f",
        "phabricator_id": 259620,
        "phabricator_phid": "PHID-DREV-rnzajmowph273e4hsejz",
        "title": "Bug 1971780 - [wdspec] Update invalid test for addDataCollector to check top level contexts",
        "bugzilla_id": 1971780,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505365/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505365/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259620"
    },
    "phid": "PHID-DIFF-hwp72qjxpo7clr6romuw",
    "review_task_id": "TuP-dg5FQKep0Zy3KCUhuw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "04505697ce3653391ce375223b968296c16e199b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099764/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T17:53:58.899921Z"
}