List and retrieve diffs with detailed revision information

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

{
    "id": 1056280,
    "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-du27fnv3cfevwr7s3slt",
    "review_task_id": "cg_KbHQHSlq2HyrB0qoDKA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "97fd037bd7ad12ca722ad89a73ba102c3a0dd53d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056280/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T22:19:59.316562Z"
}