List and retrieve diffs with detailed revision information

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

{
    "id": 1088541,
    "revision": {
        "id": 496713,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "f136bc597278f70c6702f28048aacb339b211313",
        "phabricator_id": 257637,
        "phabricator_phid": "PHID-DREV-cpllcds76ph4v3fvd425",
        "title": "Bug 1976783 - Remove old contract ids and class ids. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496713/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496713/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257637"
    },
    "phid": "PHID-DIFF-oqpfxg45xho46wthtmdz",
    "review_task_id": "OqzfNjGVQ-CjkjrXejUWpQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "75cccb5f0911a7ab6bf37a4f001ea7086fbbebfa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088541/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T03:14:54.126459Z"
}