List and retrieve diffs with detailed revision information

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

{
    "id": 1055692,
    "revision": {
        "id": 382345,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f5721e50bf4c0a2efc30a1948db4f620fac43d08",
        "head_changeset": "a365a8c2a001a248f6fbc4d0475e8214c3218073",
        "phabricator_id": 226753,
        "phabricator_phid": "PHID-DREV-lizei7qh7ublzwv6k5cz",
        "title": "Bug 1913666 - Part 6: Frontend additions to make them work with new arch r=sefeng!",
        "bugzilla_id": 1913666,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/382345/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/382345/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D226753"
    },
    "phid": "PHID-DIFF-6j5dci62oujpfrs7l4kc",
    "review_task_id": "SWgzxyRVT4qnaBTD1UycfA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e778a28a4e1fa08d3b2fcd8c20732eb34d830176",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055692/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T09:43:40.186624Z"
}