List and retrieve diffs with detailed revision information

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

{
    "id": 1051693,
    "revision": {
        "id": 477214,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2312f09c3876257c7a6c734ebbe1f290906327d2",
        "head_changeset": "fd281f82575a348b46634813102a4a6562a6fda6",
        "phabricator_id": 252303,
        "phabricator_phid": "PHID-DREV-ay6i3hs5wxqpc7cgcw44",
        "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/477214/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477214/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252303"
    },
    "phid": "PHID-DIFF-m4xn4q5r4ow4va2m2dka",
    "review_task_id": "YecB_gi7Q7Gnxsmujh4yhg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "fd281f82575a348b46634813102a4a6562a6fda6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051693/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T10:09:47.787726Z"
}