List and retrieve diffs with detailed revision information

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

{
    "id": 1054114,
    "revision": {
        "id": 477687,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "398f88f81ffea95986e654b4e2cec3d853eaf5fc",
        "head_changeset": "00bd5ef6797832459448cda44bcff6fd204ba108",
        "phabricator_id": 252801,
        "phabricator_phid": "PHID-DREV-ldb5lgg7cdmek3dwauqp",
        "title": "WIP: Bug 1967689 - pt 12. Make more PHC state private within the PHC class",
        "bugzilla_id": 1967689,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477687/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477687/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252801"
    },
    "phid": "PHID-DIFF-yfhyss33a3zprqbs2ehv",
    "review_task_id": "Pkx5uzTNRAm0j2u4xomB6g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "00bd5ef6797832459448cda44bcff6fd204ba108",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054114/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T07:55:33.675938Z"
}