List and retrieve diffs with detailed revision information

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

{
    "id": 1052122,
    "revision": {
        "id": 404213,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0ead42e3e598d85474878348ddb862b5dbced010",
        "head_changeset": "196ffe31d9ced94d3bc7046e6ccd7a775afacc4e",
        "phabricator_id": 230168,
        "phabricator_phid": "PHID-DREV-ew4senxzyt4563gtl45u",
        "title": "WIP: Bug 1790641 - prevent delete of downloaded files in private browsing",
        "bugzilla_id": 1790641,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/404213/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/404213/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D230168"
    },
    "phid": "PHID-DIFF-paffw6tq3apl7baxxoda",
    "review_task_id": "XcaidatFSgCBC-_Sb-yYRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "86b37d12d28ddcc586af66054d73cba88ff460f7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052122/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T18:56:13.919697Z"
}