List and retrieve diffs with detailed revision information

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

{
    "id": 1049748,
    "revision": {
        "id": 475337,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c610a7f6c43d4f70b48db1ff0cc6ed17f73566df",
        "head_changeset": "19255c0019d71665ce5ddd47c7589bba3c1f99d3",
        "phabricator_id": 249778,
        "phabricator_phid": "PHID-DREV-mroswhwowo5uih2m6odj",
        "title": "WIP: Bug 1966522 - Add a test to assert that signature error does not affect local DB",
        "bugzilla_id": 1966522,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475337/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475337/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249778"
    },
    "phid": "PHID-DIFF-wxh5m4pg7qnxt5ysrsj6",
    "review_task_id": "bEtXm0BiSRiCEvoioratxA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "77ea3edeafdc10ad1b50abc16f1c3656c8603624",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049748/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:07:17.033764Z"
}