List and retrieve diffs with detailed revision information

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

{
    "id": 1101082,
    "revision": {
        "id": 506967,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "c606875adaedc0feaa409e5201f3e2e398c8a2e5",
        "head_changeset": "27e8585519056ae7254aa3bbdff3862cd2d5258b",
        "phabricator_id": 259999,
        "phabricator_phid": "PHID-DREV-dl7stn3ux4xkeszpp6f7",
        "title": "Bug 1937746 - Break early when mork cursors fail. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1937746,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506967/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506967/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259999"
    },
    "phid": "PHID-DIFF-prpbw2ivafu6fe2lgsyj",
    "review_task_id": "DD9nm77IQIeyoWhPJqaiLw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "27e8585519056ae7254aa3bbdff3862cd2d5258b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101082/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T16:49:55.493380Z"
}