List and retrieve diffs with detailed revision information

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

{
    "id": 1108059,
    "revision": {
        "id": 514231,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "39f0dc0f24d549dd713351d8c6f84fab09227dce",
        "head_changeset": "1d73e7e4d7dfc091790e5132c306004ef4bb84a1",
        "phabricator_id": 261367,
        "phabricator_phid": "PHID-DREV-velmoiwqf7wlplqz3ygl",
        "title": "Bug 1981346 - Add referenceTarget support for the form attribute. r?#dom-core,#accessibility-frontend-reviewers",
        "bugzilla_id": 1981346,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514231/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514231/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261367"
    },
    "phid": "PHID-DIFF-kmldbrwrxpa32vpxrsjk",
    "review_task_id": "WihRyhSTStyZjKxALPGPvg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "39554cabe58031ba73ca21700c3894ad7e18ca31",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108059/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T18:27:32.025737Z"
}