List and retrieve diffs with detailed revision information

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

{
    "id": 1088398,
    "revision": {
        "id": 495333,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bfd3ca80a4a49457d0e8bb8bb6fdc2d32cdd0801",
        "head_changeset": "e19aba7aa1f7b8a8cd076d35e37e82b5789448c0",
        "phabricator_id": 257003,
        "phabricator_phid": "PHID-DREV-tvlrmhwb6lu3bo5xoegp",
        "title": "Bug 1972836 - Migrate failedProfileLockCount to Glean r?Mossop,jhirsch",
        "bugzilla_id": 1972836,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495333/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495333/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257003"
    },
    "phid": "PHID-DIFF-g5nxm7yo3plcclghto5i",
    "review_task_id": "EbDXkEdoTKCRrhTTFVNmaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e0b053097aabbe1f7b31bf877c26feb76d5d24b2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088398/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T21:16:22.185354Z"
}