List and retrieve diffs with detailed revision information

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

{
    "id": 1048596,
    "revision": {
        "id": 457104,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "a6dcb0aaf7978ae267fcd8abcc282a676a0cbde9",
        "phabricator_id": 238872,
        "phabricator_phid": "PHID-DREV-xx2ilaof763tuqzcmbmy",
        "title": "WIP: Bug 1927886: Separate usrsctp code from the code that tracks whether we're forcing ordered mode.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/457104/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/457104/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238872"
    },
    "phid": "PHID-DIFF-oeor2c52ggwl5alhsam6",
    "review_task_id": "CzfQTpdPTcm6SBIZFJjBzw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "240e3c306c4182e3af4c4d1378e44f0ad393147e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048596/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T18:52:59.616244Z"
}