List and retrieve diffs with detailed revision information

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

{
    "id": 1101063,
    "revision": {
        "id": 498689,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b2570150584ef8e1968bcab23267ce6cb6137054",
        "head_changeset": "53a92b3f162393c07ab6d5dbdde82444c1a7d75c",
        "phabricator_id": 257555,
        "phabricator_phid": "PHID-DREV-e5ykhnlczoqg6ltrrjbl",
        "title": "Bug 1966542 - Add support for config-based prefs that need to respond to changes in more than one pref r=#recomp-reviewers,mstriemer",
        "bugzilla_id": 1966542,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498689/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498689/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257555"
    },
    "phid": "PHID-DIFF-k6toy3fpyra44phn6vec",
    "review_task_id": "Ng7CLp-SShWRfNpsM43mhg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0184d37918f579f4318da09a616dc29ef909cecf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101063/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T16:15:33.383950Z"
}