List and retrieve diffs with detailed revision information

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

{
    "id": 1105428,
    "revision": {
        "id": 508244,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed28bde759c16860d3ee821ad3e4740150099212",
        "head_changeset": "fd8ccf5ffdb18f6f6805f4585538fadfdd18dac3",
        "phabricator_id": 260289,
        "phabricator_phid": "PHID-DREV-axidjp73y6gil6ynwsm6",
        "title": "Bug 1975181 - Part 4: Implement the ProtocolParser for the SafeBrowsing V5 BatchGetHashListsResponse. r?dimi!",
        "bugzilla_id": 1975181,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508244/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508244/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260289"
    },
    "phid": "PHID-DIFF-ztdseqglfjkufwqivtxp",
    "review_task_id": "JViy-jDwQxe1ZOA-iU4t-w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b52f518ec2883c772c9263f01d0a8e47c0424289",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105428/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T15:22:18.832045Z"
}