List and retrieve diffs with detailed revision information

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

{
    "id": 1105373,
    "revision": {
        "id": 510567,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8a8028addc8ef776b6f2ce3ec7c88b1093ba706",
        "head_changeset": "e5f67f29e38f555c0baa2500e309293d35f4c516",
        "phabricator_id": 260674,
        "phabricator_phid": "PHID-DREV-xu67qqas43vhjmwozq7w",
        "title": "Bug 1982328 - Part 11: Remove use of unnecessary JS namespace prefix in the module loader r?allstarschh",
        "bugzilla_id": 1982328,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510567/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510567/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260674"
    },
    "phid": "PHID-DIFF-l7oslid7pkhnnc5zwqqa",
    "review_task_id": "NcgyMvplTDqm6t66yQ6ejg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "15ebe08ac4e21193a56a181a31cbe324b85db243",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105373/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T14:37:15.075528Z"
}