List and retrieve diffs with detailed revision information

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

{
    "id": 1059551,
    "revision": {
        "id": 479972,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0c2536be746f93989eb85512d6145b5c297c2be3",
        "head_changeset": "c064aaa8cef8c5548e08a3f3bd9fe015d6595fc7",
        "phabricator_id": 253866,
        "phabricator_phid": "PHID-DREV-uvvw5sy4gfewftn5lec4",
        "title": "WIP: Bug 1968702 - Search through the composable toolbar from Bookmarks",
        "bugzilla_id": 1968702,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479972/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479972/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253866"
    },
    "phid": "PHID-DIFF-eeho4xgdd2xauzzf3o3w",
    "review_task_id": "L6w_zsQESemFvKsjAsKaxA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c064aaa8cef8c5548e08a3f3bd9fe015d6595fc7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059551/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T19:20:24.895695Z"
}