List and retrieve diffs with detailed revision information

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

{
    "id": 1109364,
    "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-dxyc4wbjtbigwcsdjhwr",
    "review_task_id": "fVfw-uxlRYeH9e0I-bVJlg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1fec358fbdfdebe934cad56dec9bc0519565c4f8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109364/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T13:09:45.127009Z"
}