List and retrieve diffs with detailed revision information

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

{
    "id": 1111247,
    "revision": {
        "id": 520300,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9426f4b06a46e835770956a127c1b8d30c5af7dd",
        "head_changeset": "0b5cc10911c496419069b3efb632fb0214a4622c",
        "phabricator_id": 262441,
        "phabricator_phid": "PHID-DREV-jvamzoljng4czblnizbc",
        "title": "WIP: Bug 1972068 - start search settings",
        "bugzilla_id": 1972068,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520300/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520300/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262441"
    },
    "phid": "PHID-DIFF-ufzt674elzpzwgxl7hqe",
    "review_task_id": "SjSaUsFyRyCetWUllm9djg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0b5cc10911c496419069b3efb632fb0214a4622c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111247/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T18:13:11.165751Z"
}