List and retrieve diffs with detailed revision information

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

{
    "id": 1076951,
    "revision": {
        "id": 489699,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8be05592162bd8777f46a45a858c0532f26a87d4",
        "head_changeset": "e4130261dba52137a69da3f4e086cdd72784d458",
        "phabricator_id": 231992,
        "phabricator_phid": "PHID-DREV-y5bd2u4orqigvbxv3ubw",
        "title": "WIP: Bug 1843417 - Replace calls to deprecated matrix-js-sdk functions.",
        "bugzilla_id": 1843417,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489699/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489699/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D231992"
    },
    "phid": "PHID-DIFF-4ljdlyrjvgytlxzucw3f",
    "review_task_id": "L-chOGDFSqCdKs3ic6vbmQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e4130261dba52137a69da3f4e086cdd72784d458",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076951/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T18:39:54.417264Z"
}