List and retrieve diffs with detailed revision information

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

{
    "id": 1112442,
    "revision": {
        "id": 521473,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5b1ba94aba774a69c017d5efd5b15cc7a872b9f6",
        "head_changeset": "149843ff420a4b04eff95f3f1b7b0ae9db342b04",
        "phabricator_id": 262704,
        "phabricator_phid": "PHID-DREV-g3gtruwvk5dxkpbkjg4l",
        "title": "Bug 1985406 - [Unified Trust Panel] Disable Protection Panel in composable toolbar when on reader mode.",
        "bugzilla_id": 1985406,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521473/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521473/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262704"
    },
    "phid": "PHID-DIFF-6bwxz7usd2nwtzz7whgz",
    "review_task_id": "NT6KZ63BR86bKlXQNZT7ow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d75178c4598feb7b4e56c28db6fd170b48dfe9a3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112442/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T00:46:33.249338Z"
}