List and retrieve diffs with detailed revision information

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

{
    "id": 1057841,
    "revision": {
        "id": 478063,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "743f1b9d5b0d194d566de3f57ea6f18b9ad8bee2",
        "head_changeset": "97fd037bd7ad12ca722ad89a73ba102c3a0dd53d",
        "phabricator_id": 253242,
        "phabricator_phid": "PHID-DREV-o7xmtdqpuchahxx2uw4u",
        "title": "Bug 1966952: Add delazification time to the pageload event. r=mgaudet!",
        "bugzilla_id": 1966952,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478063/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478063/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253242"
    },
    "phid": "PHID-DIFF-5wzfh4xrxcfuxhlqv6bl",
    "review_task_id": "BIVPfXegTByZEc2RMKScXA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "51c0bfcd1eb648bcdd59e3b40dd214bee4e1252c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057841/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T17:00:57.757157Z"
}