List and retrieve diffs with detailed revision information

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

{
    "id": 1086245,
    "revision": {
        "id": 495584,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "24935e432860eb5f2c5c2c7ffab8342dac8a1461",
        "head_changeset": "aaa886aa3b785051003e6964b491e8abe29498e9",
        "phabricator_id": 257240,
        "phabricator_phid": "PHID-DREV-x36rl62d77qqvno3wwt5",
        "title": "Bug 1963484 - patch 4 - Make GrowSelectedTracksUnlimited a method of ItemPlan. r=#layout-grid-reviewers",
        "bugzilla_id": 1963484,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495584/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495584/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257240"
    },
    "phid": "PHID-DIFF-w6lxh6475khc32qitf2u",
    "review_task_id": "PvN9ILIAQie0avy7hrV40g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "aaa886aa3b785051003e6964b491e8abe29498e9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086245/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T10:53:14.574894Z"
}