List and retrieve diffs with detailed revision information

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

{
    "id": 1065615,
    "revision": {
        "id": 481917,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1ae191d7f8ed6c71eb23365776a00babf64b83bb",
        "head_changeset": "f3bbed87b8d2be29adc61572118103174258d69c",
        "phabricator_id": 254122,
        "phabricator_phid": "PHID-DREV-rlsc6ctzxkm2bfhrunyb",
        "title": "Bug 1972681 - Bump vendored `repo` to version `3.0.0` r?ahal",
        "bugzilla_id": 1972681,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481917/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481917/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254122"
    },
    "phid": "PHID-DIFF-6g6xy3orurowpydmzngc",
    "review_task_id": "WMTCijnBSre9fEh_D9jRhw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f3bbed87b8d2be29adc61572118103174258d69c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065615/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T21:55:01.263352Z"
}