List and retrieve diffs with detailed revision information

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

{
    "id": 1086243,
    "revision": {
        "id": 495582,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "24935e432860eb5f2c5c2c7ffab8342dac8a1461",
        "head_changeset": "1bc6d807f00b4513e1cc3cf608ecdfa159123d81",
        "phabricator_id": 257238,
        "phabricator_phid": "PHID-DREV-n4za6tfrhnszpvini3za",
        "title": "Bug 1963484 - patch 2 - Make GrowTracksToLimit a method of ItemPlan. r=#layout-grid-reviewers",
        "bugzilla_id": 1963484,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495582/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495582/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257238"
    },
    "phid": "PHID-DIFF-pah76jnrjfhzqyn35kux",
    "review_task_id": "PCbBshzjR8y0M_3HWqRfGQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1bc6d807f00b4513e1cc3cf608ecdfa159123d81",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086243/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T10:52:43.307242Z"
}