List and retrieve diffs with detailed revision information

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

{
    "id": 1110519,
    "revision": {
        "id": 515627,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1eb95caca71d91fab853631a3eb1cec2c1abdca",
        "head_changeset": "c9b36225f03afa36693f441f582b7b00f953a519",
        "phabricator_id": 261663,
        "phabricator_phid": "PHID-DREV-reabnd7mhw572ihlrw5c",
        "title": "WIP: Bug 1209163: This can be const.",
        "bugzilla_id": 1209163,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515627/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515627/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261663"
    },
    "phid": "PHID-DIFF-hpl765wnhfe7feccfurc",
    "review_task_id": "Sb4Ed5gfSPyjk7gu8hxXGg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "75378bd794db1e692bdfb78697983002fa2483d8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110519/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T21:31:01.327093Z"
}