List and retrieve diffs with detailed revision information

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

{
    "id": 1080728,
    "revision": {
        "id": 492012,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "174db83d2fdfea08ce2d4a8f081025e0dc8ff9d7",
        "phabricator_id": 256410,
        "phabricator_phid": "PHID-DREV-u4y4ycmuwln4ni2toj7k",
        "title": "WIP: Bug 1975706 - Extend browser_getMessages.js test to support EWS. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1975706,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492012/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492012/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256410"
    },
    "phid": "PHID-DIFF-fyfpnsd4fgcoqwxw34ei",
    "review_task_id": "BEeoMO_YSSqP9NzVflnzsQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "dfe3c72e0cbedc68d0599777b9da2d122510cb5b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080728/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T10:58:51.997159Z"
}