List and retrieve diffs with detailed revision information

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

{
    "id": 1064727,
    "revision": {
        "id": 456645,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "5b82056b1785883dd607c38ed53e15d9aa13fcb1",
        "phabricator_id": 238877,
        "phabricator_phid": "PHID-DREV-ujl44zvc4p3wzgtboh6x",
        "title": "WIP: Bug 1923469: Move usrsctp-specific and round-robin logic into a subclass.",
        "bugzilla_id": 1923469,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/456645/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/456645/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238877"
    },
    "phid": "PHID-DIFF-hnhwccz5yjgvsj2f4zlw",
    "review_task_id": "f4thkUSFSaiHzLALJLT1rA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "279aee2a0b0aaca2e8fac8d6beb425884f5e8c2e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064727/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T02:50:18.265321Z"
}