List and retrieve diffs with detailed revision information

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

{
    "id": 1049917,
    "revision": {
        "id": 432095,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3bbdb176dcee489c33f56a80ace0b07d94d1c723",
        "head_changeset": "0c83b54f73802ef39fb861b4994573681d46fbc5",
        "phabricator_id": 177649,
        "phabricator_phid": "PHID-DREV-xi6vis5hsyuvi4lk66hy",
        "title": "Bug 1529131 - Send back the profile data during shutdown on utility process r?gerard-majax!,mstange!",
        "bugzilla_id": 1529131,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/432095/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/432095/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D177649"
    },
    "phid": "PHID-DIFF-mgdjok3jcp6mj4gytkdx",
    "review_task_id": "NRDKTthTQE-mBMCZCGgEaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3e5b316c8f8a01e5652484693c2575a2701b2cdc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049917/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T12:36:54.411148Z"
}