List and retrieve diffs with detailed revision information

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

{
    "id": 1056328,
    "revision": {
        "id": 472113,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9648b1c81728fd45192c49d88c21b09dd3cc53ca",
        "head_changeset": "ce8a28ed49af85c09c9e5b770b301c300f6fb680",
        "phabricator_id": 245014,
        "phabricator_phid": "PHID-DREV-4xst7s5xbguh65lthvwa",
        "title": "WIP: Bug 1959452 - [devtools] Throttle parent process events on the server side",
        "bugzilla_id": 1959452,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472113/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472113/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245014"
    },
    "phid": "PHID-DIFF-yyizeka3ymkspikghomr",
    "review_task_id": "DhChgBVVSJC-TQH2R2ISxQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2069936597935e9b9c8de18c1ae473a2cd5d6fef",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056328/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T23:34:47.338673Z"
}