List and retrieve diffs with detailed revision information

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

{
    "id": 1066249,
    "revision": {
        "id": 476471,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d69ea4392b7e9531ea631cac7d2058777fa8714f",
        "head_changeset": "e90fb0f802a20b92f0dc1d3d36da9797bb949d1e",
        "phabricator_id": 251413,
        "phabricator_phid": "PHID-DREV-eki3dwnqw47uwlncwcp5",
        "title": "Bug 1955007 - [remote] Remove temporary \"remote.system-access-check.enabled\" preference in Firefox 141.",
        "bugzilla_id": 1955007,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476471/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476471/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251413"
    },
    "phid": "PHID-DIFF-5o5hvopjzm4phrfv7kfo",
    "review_task_id": "IliBtXyrSL2nS5WtqIgKZg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e99b972d3f3e559b3ac7d0ac0075e690225658d0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066249/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T18:26:46.206002Z"
}