List and retrieve diffs with detailed revision information

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

{
    "id": 1077382,
    "revision": {
        "id": 490042,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0de09c55810e4f67c0714f475394c45f137e75a6",
        "head_changeset": "5dfc2b56d237a05e502a54fe11f6c59aff10f4b8",
        "phabricator_id": 255964,
        "phabricator_phid": "PHID-DREV-hjkpuyhcebbmee6b6zx5",
        "title": "Bug 1975442 - Clear https_first pref after test case completes",
        "bugzilla_id": 1975442,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490042/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490042/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255964"
    },
    "phid": "PHID-DIFF-4lhpaqzb6cjqhchfdqvt",
    "review_task_id": "MwMS6CYBTlee7QgeV_QZTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e22a4ef5ee9ecb253789df6d6dc21cac21a98d27",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077382/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T13:39:25.221973Z"
}