List and retrieve diffs with detailed revision information

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

{
    "id": 1055889,
    "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-pgohn6pabo5a2uhbgfp2",
    "review_task_id": "VuRIPigHQo-Eh6kfs8V-uw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0817c61bd577aa99377d2e927177d40cc84fab80",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055889/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T13:42:23.613529Z"
}