List and retrieve diffs with detailed revision information

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

{
    "id": 1088542,
    "revision": {
        "id": 496712,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "4536a355265b61c30be5e6e20859d12a75255471",
        "phabricator_id": 257638,
        "phabricator_phid": "PHID-DREV-pz2wxghj5r4j5ppvyerc",
        "title": "Bug 1976783 - Use contract ids instead of class ids to get services. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496712/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496712/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257638"
    },
    "phid": "PHID-DIFF-ui4celavfpakjciohfrv",
    "review_task_id": "UE4HPriBRwW-trO9c0PcYA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "fc5051960e07e706688b138586e70a30522ba500",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088542/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T03:14:59.219168Z"
}