List and retrieve diffs with detailed revision information

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

{
    "id": 1048918,
    "revision": {
        "id": 476724,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "26922bacc3b60587f59d6c06fd2dbdee0467b29d",
        "head_changeset": "b8899e2573a4ab5686c69f96b883111601f360cf",
        "phabricator_id": 251674,
        "phabricator_phid": "PHID-DREV-4l4pgf3fxoewaqdjucml",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476724/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476724/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251674"
    },
    "phid": "PHID-DIFF-irmve3tvpdayhfictavy",
    "review_task_id": "T4wegMqVToykSYGlzxhlfw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b8899e2573a4ab5686c69f96b883111601f360cf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048918/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T04:45:41.974007Z"
}