List and retrieve diffs with detailed revision information

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

{
    "id": 1109373,
    "revision": {
        "id": 515302,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "1b9014c54e090fbcbc6a70a128435fff23bcad78",
        "phabricator_id": 261547,
        "phabricator_phid": "PHID-DREV-udipyzyyt4ytdo42nny2",
        "title": "WIP: Bug 1971840 - Preserve the partially typed text in url bar when returning to the screen if screen lock to hide private tabs option is enabled",
        "bugzilla_id": 1971840,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515302/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515302/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261547"
    },
    "phid": "PHID-DIFF-vxjsfwgr2gh4nq4l55wr",
    "review_task_id": "d2GDTRhXRdaRfmHI6ycWcA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "846534d1c3dcc6da464ca04977fb25f51baff3b9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109373/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T13:13:11.444422Z"
}