List and retrieve diffs with detailed revision information

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

{
    "id": 1057612,
    "revision": {
        "id": 477997,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3f12da1b322f2b823a7bd09cd01e6a416c6b05c5",
        "head_changeset": "4a4c9bbee03b9674a9da276b98c1564867e2c765",
        "phabricator_id": 253167,
        "phabricator_phid": "PHID-DREV-nyyxi4m53hvyffrwk3sp",
        "title": "WIP: Bug 1963853 - Object metric rough c++ support r?janerik",
        "bugzilla_id": 1963853,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477997/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477997/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253167"
    },
    "phid": "PHID-DIFF-64loas4ex5iuh3t7o6uo",
    "review_task_id": "UVrUyAQRSUWaVsRq7MYf1g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c274a64514d1a811d9e9256b429187f8c61f568d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057612/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T14:22:40.002965Z"
}