List and retrieve diffs with detailed revision information

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

{
    "id": 1095605,
    "revision": {
        "id": 497322,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cb3c5d7cae1db23d40b01e7d85173df2a4c2f16d",
        "head_changeset": "57a8c37a63c9fc91ab1dfbdec17a41e0660aa15b",
        "phabricator_id": 257763,
        "phabricator_phid": "PHID-DREV-open6luvric6dej5hv5i",
        "title": "WIP: Bug 1969519 - Update ASRouter cleanup functions to handle impressions from SQLite DB",
        "bugzilla_id": 1969519,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497322/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497322/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257763"
    },
    "phid": "PHID-DIFF-lfmuyo7fpmaubnevi5se",
    "review_task_id": "Bhb2o7fkRtik0uVB3GQ37Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e5333a488b4a4703db5995a790d27aced2557c88",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095605/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T21:33:53.159210Z"
}