List and retrieve diffs with detailed revision information

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

{
    "id": 1077527,
    "revision": {
        "id": 490288,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c21c5c9c223df2b177298809a36e3e14e6548f19",
        "head_changeset": "ea77df28025816f2dda5a3a00d103adaa38ed579",
        "phabricator_id": 255831,
        "phabricator_phid": "PHID-DREV-fohasm4ig3zdhq4tfj6k",
        "title": "Bug 1970732 - Add icon for sign-in when syncing is paused.",
        "bugzilla_id": 1970732,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490288/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490288/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255831"
    },
    "phid": "PHID-DIFF-vyskjrc7jzjuwl4tehwn",
    "review_task_id": "Gj56EW5aRGeR7-gNm17fNw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ea77df28025816f2dda5a3a00d103adaa38ed579",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077527/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T17:07:44.077352Z"
}