List and retrieve diffs with detailed revision information

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

{
    "id": 1049508,
    "revision": {
        "id": 476813,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4c020f44c7c3625048049055fbf46d23553f203f",
        "head_changeset": "4a91b608e4eba248bda671a12b72755524993093",
        "phabricator_id": 251762,
        "phabricator_phid": "PHID-DREV-vxcgq4tmupzhj6cl2obz",
        "title": "Bug 1966414 - part1 : ScaleListData should only be parsed if the sps_scaling_list_data_present_flag is true.",
        "bugzilla_id": 1966414,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476813/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476813/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251762"
    },
    "phid": "PHID-DIFF-rkepsjoojowktga5bvas",
    "review_task_id": "WGOV8nhOQbGtvymUy2N4Qg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4a91b608e4eba248bda671a12b72755524993093",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049508/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T20:29:54.114234Z"
}