List and retrieve diffs with detailed revision information

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

{
    "id": 1048587,
    "revision": {
        "id": 456107,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "3348e57c25fc51189aa9495939cbde1ee8a26ecc",
        "phabricator_id": 238862,
        "phabricator_phid": "PHID-DREV-3qra3i3dde46slbj46e2",
        "title": "WIP: Bug 1927886: Hold stream ids in a separate mainthread-only member, instead of trying to track them in a combination of mChannels and mPending.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/456107/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/456107/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238862"
    },
    "phid": "PHID-DIFF-jvdrtstm2wa3os4ge4g3",
    "review_task_id": "Yyp5whTsRLKufHxRT0QThQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9390f246e9e5b707c8258ef188bba774e8a991f5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048587/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T19:01:10.642665Z"
}