List and retrieve diffs with detailed revision information

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

{
    "id": 1114148,
    "revision": {
        "id": 517926,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef4c9d7ea848d5bf769ec81eb1a1c98291e7df53",
        "head_changeset": "abea903285db13c060c8b5e3bc2b6fc910f5a3ce",
        "phabricator_id": 262096,
        "phabricator_phid": "PHID-DREV-gnsyy6sefrlv6shdbtvs",
        "title": "Bug 1286945 - Break out StartCapture() from MERVS::Start() and move MERVS::Reconfigure to use it directly. r?jib",
        "bugzilla_id": 1286945,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517926/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517926/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262096"
    },
    "phid": "PHID-DIFF-7mw4xnoaimzzmeysbppf",
    "review_task_id": "bT2tyN6aQryJv9dH19m4Yw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "22cc9ac6204db6161ef31e54d74a4088dc258594",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114148/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-29T08:29:18.474593Z"
}