List and retrieve diffs with detailed revision information

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

{
    "id": 1048957,
    "revision": {
        "id": 463945,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d4371465982dfa17147909c585a516b7389e0751",
        "head_changeset": "c0e91ac5ebe7908620f9abc36153f9ca93a1c008",
        "phabricator_id": 240283,
        "phabricator_phid": "PHID-DREV-ho7kztwzisjshlwgozul",
        "title": "WIP: Bug 1944507 - pt 7. Expose the base allocator",
        "bugzilla_id": 1944507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/463945/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/463945/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D240283"
    },
    "phid": "PHID-DIFF-xmnijnvg7dzuxz4zrz2l",
    "review_task_id": "OQYanr79S-iGpt_eX4DRpQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2fa95fe70d244c76293e4c2876e614b87c834af9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048957/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T05:30:58.550294Z"
}