List and retrieve diffs with detailed revision information

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

{
    "id": 1092961,
    "revision": {
        "id": 487302,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c9e9416a68044f0dbaaad39fa6243c4aaec868f6",
        "head_changeset": "8d6c0337fe9421c52e8c88ea96ce89f8e47d8b08",
        "phabricator_id": 253576,
        "phabricator_phid": "PHID-DREV-qbkwckuqwzueiytctd6m",
        "title": "Bug 1914005: Move bounds checks out of call_indirect. r=rhunt",
        "bugzilla_id": 1914005,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487302/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487302/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253576"
    },
    "phid": "PHID-DIFF-jdpehmllxixe754jrwhr",
    "review_task_id": "Lfmsm7nYQbqyW9SsxhQK5Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f365a02b2f2e4614044d78c96dd98ee6d9598596",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1092961/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-22T03:02:43.138371Z"
}