List and retrieve diffs with detailed revision information

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

{
    "id": 1098000,
    "revision": {
        "id": 490857,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fd29b056b9af38b9a8ac793ee8306e84864377be",
        "head_changeset": "65a984f74d5520f54394cdfad058635644ab0bd3",
        "phabricator_id": 256121,
        "phabricator_phid": "PHID-DREV-xptp52hoevxhtmws6xfb",
        "title": "WIP: Bug 1967697 - Display the non-private homepage when abandoning the PBM authentication from a private custom tab",
        "bugzilla_id": 1967697,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490857/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490857/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256121"
    },
    "phid": "PHID-DIFF-vh6qdj3p2yqpjgkcso2t",
    "review_task_id": "HDd_X-VXTpqRh0TdRZNXtA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "99bda5a39bf2fb6bed4ea07ec033e71ab09886ab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098000/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T09:25:26.051548Z"
}