List and retrieve diffs with detailed revision information

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

{
    "id": 1111290,
    "revision": {
        "id": 518594,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3109cc48fd95920c7d40587efd0e082ef203f304",
        "head_changeset": "03f983c367e3994a24eae60a90fb64a0b82f8c54",
        "phabricator_id": 262191,
        "phabricator_phid": "PHID-DREV-kqt22smxusby6cw77xwe",
        "title": "Bug 1979145 - Integrate new QrScanActivity and QrScanFenixFeature with BrowserFragment and HomeFragment.",
        "bugzilla_id": 1979145,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518594/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518594/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262191"
    },
    "phid": "PHID-DIFF-ehj3wy3yyzsnvz3uefj7",
    "review_task_id": "N7SSdYaKStCCIL7zLf837g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6c261104e4ba868dc527726685bf7bda1943bb22",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111290/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T19:28:04.669642Z"
}