List and retrieve diffs with detailed revision information

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

{
    "id": 1049891,
    "revision": {
        "id": 476408,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c4f089d7b67993118a3905558f80699c3bf4ce44",
        "head_changeset": "687ec5263d31bb0468135b4b7ec33045e5d384ac",
        "phabricator_id": 251336,
        "phabricator_phid": "PHID-DREV-hhzkrsgvcj5ree4rel7h",
        "title": "Bug 1906051 - [wdspec] Update wdspec tests for fragment navigated to check event counts with iframes",
        "bugzilla_id": 1906051,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476408/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476408/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251336"
    },
    "phid": "PHID-DIFF-7ekuo6smozmcwpbbydhs",
    "review_task_id": "Edx5W3c-TGmB_pXMCeE3_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "128f6ebe924a861bb97a20801024b49176308682",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049891/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T10:27:15.081412Z"
}