List and retrieve diffs with detailed revision information

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

{
    "id": 1055411,
    "revision": {
        "id": 477766,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "367bc904b4fd00b55b628badd4a50a63bf578a9a",
        "head_changeset": "24da3745953586a3aceb6bfaed1e5d3209c08c8d",
        "phabricator_id": 252908,
        "phabricator_phid": "PHID-DREV-fe5obgyynmi7y2naqewm",
        "title": "WIP: Bug 1968291 - Adding metrics to know what distribiution provider checker gets used when detecting DT preinstalls",
        "bugzilla_id": 1968291,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477766/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477766/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252908"
    },
    "phid": "PHID-DIFF-d3whioojdfcesq3gf5zl",
    "review_task_id": "XB2dxsfwQJG6OdLLswGtTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c2f0106d7337a9cb12dc02eb2f83c42775d72f8c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055411/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T21:34:18.027941Z"
}