List and retrieve diffs with detailed revision information

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

{
    "id": 1051904,
    "revision": {
        "id": 477244,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "35be5b8927451df73a4836e4ba473529da150e45",
        "head_changeset": "15afaa78dd6b3c5acecb2dd34050d68d56553675",
        "phabricator_id": 252332,
        "phabricator_phid": "PHID-DREV-zycvtgrsyo3secrfcyey",
        "title": "Bug 1970096 - Make windows buttonborder match threedhighlight. r=#win-reviewers,#theme,#layout",
        "bugzilla_id": 1970096,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477244/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477244/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252332"
    },
    "phid": "PHID-DIFF-gr3nyhoiqnf66jem6azf",
    "review_task_id": "RfDGBVtkSey4mGFCdpQJ5w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "34440b91be8d760a70b3043f80245b4d07271dbf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051904/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T15:34:51.357278Z"
}