List and retrieve diffs with detailed revision information

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

{
    "id": 1053761,
    "revision": {
        "id": 474204,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46f462787c89c3b8ffca85f3b56fb232f516ace5",
        "head_changeset": "696e1835abb65c0656857f98ddae113d23b8c492",
        "phabricator_id": 248110,
        "phabricator_phid": "PHID-DREV-oha565bwzexj2j3brgql",
        "title": "Bug 1925772 - Keep a separate DownloadsTaskbar for private browsing windows. r=bhearsum,gijs",
        "bugzilla_id": 1925772,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474204/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474204/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248110"
    },
    "phid": "PHID-DIFF-kpeti23v34vt4iid55bf",
    "review_task_id": "MK-qjruoTM69JBXZxzIPsg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fabbfe66ea34f813f4a69243717e284fd4f3adba",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053761/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T18:20:41.486057Z"
}