List and retrieve diffs with detailed revision information

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

{
    "id": 1055698,
    "revision": {
        "id": 477690,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2056701a41e78e1781f7bd98cd162516fb0cb7d6",
        "head_changeset": "1b8b73160b1778fdfd7904e6637d88f39b8bd8e3",
        "phabricator_id": 252830,
        "phabricator_phid": "PHID-DREV-hadkamf6r6udvgal3znn",
        "title": "WIP: Bug 1947351: Add new mach command to check diff in runners",
        "bugzilla_id": 1947351,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477690/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477690/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252830"
    },
    "phid": "PHID-DIFF-km5lnzcawbgkgxdt7w5o",
    "review_task_id": "Uj9bK0VNSVmoh2qP6XRYxg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b8a16aeab2045eee2488d7ee3a0cb256c8adefec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055698/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T09:44:14.694671Z"
}