List and retrieve diffs with detailed revision information

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

{
    "id": 1038675,
    "revision": {
        "id": 475732,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "063b5d178a06ab0b8739aea3d84b3de6d4c0e23c",
        "head_changeset": "f984f43a490eaf379ecb979bd62a064ac2513d68",
        "phabricator_id": 250301,
        "phabricator_phid": "PHID-DREV-dcufqjyzoyzaezifuevo",
        "title": "WIP: Bug 1915214 - Support displaying settings for non-SMTP outgoing servers. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1915214,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475732/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475732/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250301"
    },
    "phid": "PHID-DIFF-buo4vjw5p25tefj5ed66",
    "review_task_id": "Cvjt4Z78TL2ikHQ0Xp4oIA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "f984f43a490eaf379ecb979bd62a064ac2513d68",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038675/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T17:48:30.368920Z"
}