List and retrieve diffs with detailed revision information

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

{
    "id": 1048266,
    "revision": {
        "id": 476616,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "61954872dac42ed6c9ffede53c872f4a29f10ce2",
        "head_changeset": "6f9e1b512751ef03dea36b9c0fb961a3fb073e9b",
        "phabricator_id": 251556,
        "phabricator_phid": "PHID-DREV-ydaljzwii7jd474o7wv3",
        "title": "Bug 1968941 - Update account hub options buttons to use a grid. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1968941,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476616/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476616/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251556"
    },
    "phid": "PHID-DIFF-krgs56urol2nt2yvkj2s",
    "review_task_id": "MicsPgcgROilQGZi-Eup1g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "cbe7d92addc7d8616c61203ce723d567758577f8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048266/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T14:10:17.151551Z"
}