List and retrieve diffs with detailed revision information

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

{
    "id": 1039589,
    "revision": {
        "id": 475078,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "49b3461800ca33e6ece1a8b2eb7ad59b799b924e",
        "head_changeset": "5d79de748a6b2c15464ae5cbead0257014632790",
        "phabricator_id": 249395,
        "phabricator_phid": "PHID-DREV-wige4y4dfleojaqb7uzd",
        "title": "Bug 1966355 - Part 2: Update step comments for TypedArray with ArrayBuffer constructor. r=#spidermonkey-reviewers!",
        "bugzilla_id": 1966355,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475078/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475078/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249395"
    },
    "phid": "PHID-DIFF-eeq7k22wruz3glvt53kp",
    "review_task_id": "LyCwrtp0T_eXFOU0-jCkew",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1723b0ee49b8aee34630943bf31aa1baf92c9f8a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039589/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T10:11:13.894659Z"
}