List and retrieve diffs with detailed revision information

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

{
    "id": 1079919,
    "revision": {
        "id": 477890,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "905d8d08941a80caad2ad06484df0d7d64d1d276",
        "head_changeset": "b4212f75ed53d6061f91a0517b8cf53ad812433b",
        "phabricator_id": 252671,
        "phabricator_phid": "PHID-DREV-tystfornzf57bkkjzbcf",
        "title": "WIP: Bug 259356 - Add Glean labeled counters for profile creation place",
        "bugzilla_id": 259356,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477890/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477890/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252671"
    },
    "phid": "PHID-DIFF-lc763exxy3nyun7x3vwd",
    "review_task_id": "ZwZstPpoQD6_c2uhZKtxow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "011be4fad1c423aedb43a37b6bba32f117788437",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079919/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T06:14:55.723431Z"
}