List and retrieve diffs with detailed revision information

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

{
    "id": 1107918,
    "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-xzwsusgumb6mwlggxxop",
    "review_task_id": "dylUEEhTTHOpifWjHGeGXw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3e070459d052e00ad6e15f42d4ec92255480a8f2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107918/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T16:04:18.435398Z"
}