List and retrieve diffs with detailed revision information

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

{
    "id": 1052196,
    "revision": {
        "id": 476104,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "29814a28732ef4900890f7bf10ad9bdc7c2b36df",
        "head_changeset": "0b9fdbc0d5e92e012d0166e1cfa91387467d3985",
        "phabricator_id": 250836,
        "phabricator_phid": "PHID-DREV-pslvnudvvprb4ikutwhp",
        "title": "WIP: Bug 1967594 - remove pocket.svg",
        "bugzilla_id": 1967594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476104/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476104/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250836"
    },
    "phid": "PHID-DIFF-kix3w4lyskprwzwhtvqy",
    "review_task_id": "EvY556ASRC-Kh1kycsrs8A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "651c984b4fe6972440b5d062ceef8d1d965f71c8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052196/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T20:08:04.974944Z"
}