List and retrieve diffs with detailed revision information

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

{
    "id": 1112927,
    "revision": {
        "id": 520148,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "d7d5ae2662218bbd0d0602b297a26646900b2411",
        "phabricator_id": 262413,
        "phabricator_phid": "PHID-DREV-dx2rhu47qvly3m6wlu7w",
        "title": "Bug 1985077 - Update to Glean 65.0.2 r?chutten!",
        "bugzilla_id": 1985077,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520148/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520148/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262413"
    },
    "phid": "PHID-DIFF-rpzdu3deh6gp35fvmh26",
    "review_task_id": "LWFa54yRSoKXR69Yi5ySQw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bb7a73f21f790702940155734069dd39151d0870",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112927/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T15:34:13.503749Z"
}