List and retrieve diffs with detailed revision information

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

{
    "id": 1101947,
    "revision": {
        "id": 498862,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7c0f2ae3e229cebe6e59fd030c98b6b283edbe08",
        "head_changeset": "3916b8752f61631715915b61fc141861b24c5338",
        "phabricator_id": 258122,
        "phabricator_phid": "PHID-DREV-4doa75tcpqprext45e5y",
        "title": "Bug 1917982: Support use_as_dictionary response headers r=#necko-reviewers!",
        "bugzilla_id": 1917982,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498862/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498862/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258122"
    },
    "phid": "PHID-DIFF-fq26lf65dksg2o7kwjg2",
    "review_task_id": "E0vq0mvVTm2KbfqkYj1QeQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3ca0e78ef376806c41945a8cd478d9deac346fd9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101947/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T18:11:17.657815Z"
}