List and retrieve diffs with detailed revision information

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

{
    "id": 1112097,
    "revision": {
        "id": 521236,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "a27687b7a1e3db535f114581e2f3b7616f65cca7",
        "phabricator_id": 262596,
        "phabricator_phid": "PHID-DREV-k73ipev44h3cauvvqoqd",
        "title": "Bug 1980753 - Fix AppLinksFeature not always reacting to the currently selected tab",
        "bugzilla_id": 1980753,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521236/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521236/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262596"
    },
    "phid": "PHID-DIFF-jskbjb2e7fus4jg6qyw5",
    "review_task_id": "TDgvGyTzS4SRnhWDkTt4Ng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d784631194adffe415db69111c53a2afe012b9c3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112097/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T17:36:38.637022Z"
}