List and retrieve diffs with detailed revision information

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

{
    "id": 1081985,
    "revision": {
        "id": 494368,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fe9ff4b2ae85d1b529ab67bde45198e3e434eee9",
        "head_changeset": "9f5bb12b985d5398ecf36bec19ae8637d0a00a8d",
        "phabricator_id": 257071,
        "phabricator_phid": "PHID-DREV-al6crfdytd57yqcz7c7b",
        "title": "Bug 1940385: Skip 256180-2.html on win32. r?#layout,jmaher",
        "bugzilla_id": 1940385,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494368/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494368/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257071"
    },
    "phid": "PHID-DIFF-3n4lvezcdncvphhbywdt",
    "review_task_id": "bt9EmYiESLa2Ttql9KJYrQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3228ca7dd0cc20c8c330ccecc14731b29e6d5bc9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081985/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-12T02:58:47.052422Z"
}