List and retrieve diffs with detailed revision information

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

{
    "id": 1059589,
    "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-myn5272xi6626p4da2dw",
    "review_task_id": "fZau_56ESSqrPlZMCF2oZg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3ece9a2dd92adf70e9bfc8443f12d12271281c6a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059589/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T19:09:38.818109Z"
}