List and retrieve diffs with detailed revision information

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

{
    "id": 1078340,
    "revision": {
        "id": 491033,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ba952b825cc7e27b4b362b316355e2573c156b7b",
        "head_changeset": "bf54f3c00fedd32d9a8f43f39337843f8f89259a",
        "phabricator_id": 256154,
        "phabricator_phid": "PHID-DREV-yta33uzdmjpqiva2lg67",
        "title": "Bug 1958738 - Remove code that monitors last state update r=kaya,dmeehan",
        "bugzilla_id": 1958738,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491033/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491033/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256154"
    },
    "phid": "PHID-DIFF-zg4jhoe7pb2jmj6cbiqt",
    "review_task_id": "aD0_emgBSWiwp815zK63RQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8ba7a8c5bcce55e47879c8d675462011d66c5be7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078340/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-05T01:12:42.293196Z"
}