List and retrieve diffs with detailed revision information

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

{
    "id": 1050198,
    "revision": {
        "id": 476941,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a2e2399f4064e58d33664d664310d8c12b7d10a2",
        "head_changeset": "41d8ba8258a7c7ccee016811170b91371cdcbadf",
        "phabricator_id": 251951,
        "phabricator_phid": "PHID-DREV-c2f4gaposjqfcrxqolxq",
        "title": "Bug 1961710 - remove our header-adjusting webcompat interevntion for Outlook attachment downloads; r?denschub",
        "bugzilla_id": 1961710,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476941/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476941/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251951"
    },
    "phid": "PHID-DIFF-cdqlw5l5j2sbyitdd7ne",
    "review_task_id": "GBEErhCQStqxhMDZW73c1Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "41d8ba8258a7c7ccee016811170b91371cdcbadf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050198/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T20:18:51.480686Z"
}