List and retrieve diffs with detailed revision information

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

{
    "id": 1079159,
    "revision": {
        "id": 489231,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "452387da144425ede7361963b84e8a3c79c917f6",
        "head_changeset": "aa2c0ffde622d7e69717469e612a4d3d0e3a98b3",
        "phabricator_id": 255730,
        "phabricator_phid": "PHID-DREV-ek7neakjxx3uergjmuxo",
        "title": "Bug 1754273 - [wdspec] Update context_created tests for new browsingContext.contextCreated event emission behavior r=whimboo",
        "bugzilla_id": 1754273,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489231/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489231/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255730"
    },
    "phid": "PHID-DIFF-fe75zxkgopunkbx7daxv",
    "review_task_id": "Ko_2WTLxS9Ocdt_GKPCRaQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8622d77001547f830184b96be8c5c1461146732c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079159/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T02:38:29.809305Z"
}